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, getLongitudegetMax, getMin, getUnitRange, processConfigpublic OriginPointDistance(org.w3c.dom.Element config)
throws java.lang.Exception
java.lang.Exceptionpublic StringTree accept(CacheEvent event, EventAttrImpl eventAttr, OriginImpl origin)
accept in interface OriginSubsetterpublic Area getArea()