Class OriginPointDistance

java.lang.Object
All Implemented Interfaces:
SodElement, OriginSubsetter, Subsetter

public class OriginPointDistance
extends AbstractOriginPoint
implements OriginSubsetter
  • Field Summary

    Fields inherited from class edu.sc.seis.sod.subsetter.origin.AbstractOriginPoint

    latitude, longitude
  • Constructor Summary

    Constructors 
    Constructor Description
    OriginPointDistance​(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 origin)
    Accepts an origin only if it lies within the given distance range of the given lat and lon.
    edu.sc.seis.sod.model.common.Area getArea()  

    Methods inherited from class edu.sc.seis.sod.subsetter.origin.AbstractOriginPoint

    getLatitude, getLatLon, getLongitude

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

    getMax, getMin, getUnitRange, processConfig

    Methods inherited from class java.lang.Object

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

    • OriginPointDistance

      public OriginPointDistance​(org.w3c.dom.Element config) throws java.lang.Exception
      Throws:
      java.lang.Exception
  • 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 origin)
      Accepts an origin only if it lies within the given distance range of the given lat and lon.
      Specified by:
      accept in interface OriginSubsetter
    • getArea

      public edu.sc.seis.sod.model.common.Area getArea()