public class LineStringLessThanDistanceFilter extends Object implements Filter<LineString>
| Constructor and Description |
|---|
LineStringLessThanDistanceFilter() |
LineStringLessThanDistanceFilter(LineString geometry,
double distance)
Construct a new LineStringLessThanDistanceFilter.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(LineString line)
Check that the object matches the filter, returning true if matched, false
otherwise.
|
double |
getDistance()
Get the maximum distance the object can be from the source geometry.
|
BoundingBox |
getEnvelope() |
static Filter<Record> |
getFilter(Record object,
double maxDistance) |
LineString |
getGeometry()
Get the geometry to compare the data objects to to.
|
void |
setDistance(double distance) |
void |
setGeometry(LineString geometry) |
public LineStringLessThanDistanceFilter()
public LineStringLessThanDistanceFilter(LineString geometry, double distance)
geometry - The geometry to compare the data objects to to.distance - public boolean accept(LineString line)
Filteraccept in interface Filter<LineString>line - The object to check.public double getDistance()
public BoundingBox getEnvelope()
public LineString getGeometry()
public void setDistance(double distance)
public void setGeometry(LineString geometry)
Copyright © 2015 Revolution Systems Inc.. All rights reserved.