public class OriginPointDistance extends AbstractOriginPoint implements OriginSubsetter
latitude, longitude
Constructor and Description |
---|
OriginPointDistance(org.w3c.dom.Element config) |
Modifier and Type | Method and Description |
---|---|
StringTree |
accept(CacheEvent event,
EventAttrImpl eventAttr,
OriginImpl origin)
Accepts an origin only if it lies within the given distance range of the
given lat and lon.
|
Area |
getArea() |
getLatitude, getLatLon, getLongitude
getMax, getMin, getUnitRange, processConfig
public OriginPointDistance(org.w3c.dom.Element config) throws java.lang.Exception
java.lang.Exception
public StringTree accept(CacheEvent event, EventAttrImpl eventAttr, OriginImpl origin)
accept
in interface OriginSubsetter
public Area getArea()