Class EventArea

java.lang.Object
edu.sc.seis.sod.subsetter.AreaSubsetter
edu.sc.seis.sod.subsetter.origin.EventArea
All Implemented Interfaces:
SodElement, OriginSubsetter, Subsetter

public class EventArea
extends AreaSubsetter
implements OriginSubsetter, SodElement
This class is used to represent the subsetter EventArea. Event Area implements EventSubsetter and can be any one of GlobalArea or BoxArea or PointDistanceArea or FlinneEngdahlArea. Created: Thu Mar 14 14:02:33 2002
  • Field Summary

    Fields inherited from class edu.sc.seis.sod.subsetter.AreaSubsetter

    area, locationArray
  • Constructor Summary

    Constructors 
    Constructor Description
    EventArea​(org.w3c.dom.Element config)  
  • Method Summary

    Modifier and Type Method Description
    StringTree accept​(edu.sc.seis.sod.model.event.CacheEvent event, edu.sc.seis.sod.model.event.EventAttrImpl eventAttr, edu.sc.seis.sod.model.event.OriginImpl e)
    returns true if the given origin is within the area specified in the configuration file else returns false.

    Methods inherited from class edu.sc.seis.sod.subsetter.AreaSubsetter

    accept, extractPolygon, makeRelativeOrRecipeDirReader

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • accept

      public StringTree accept​(edu.sc.seis.sod.model.event.CacheEvent event, edu.sc.seis.sod.model.event.EventAttrImpl eventAttr, edu.sc.seis.sod.model.event.OriginImpl e) throws java.lang.Exception
      returns true if the given origin is within the area specified in the configuration file else returns false.
      Specified by:
      accept in interface OriginSubsetter
      Throws:
      java.lang.Exception