public class DWithin extends SpatialFilter
The abstract class of <DWithin> elements.
A spatial operator confining result features to ones within a specified distance of a specified geometric object.
A DWithin element consists of the name of the field storing the geometric object, the target geometric object, and the buffer distance.
name, subExpression| Constructor and Description |
|---|
DWithin()
The constructor.
|
DWithin(PropertyName property, Geometry geometry, Distance distance)
Constructs an object of
DWithin according to the name of the field storing the geometric object and the target geometric object, and a buffer distance. |
DWithin(PropertyName property, GeometryExpression geometry, Distance distance)
Constructs an object of
DWithin according to the name of the field storing the geometric object and the target geometric object, and a buffer distance. |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(AbstractFilterVisitor visitor) |
FilterType |
getFilterType()
Gets the Filter element type.
|
getGeometry, getPropertyName, setSubExpressioncopy, getName, getSubExpression, getSubExpressionCountpublic DWithin(PropertyName property, GeometryExpression geometry, Distance distance)
Constructs an object of DWithin according to the name of the field storing the geometric object and the target geometric object, and a buffer distance.
property - An abstract object of the <PropertyName> element, representing the name of the field storing the geometric object.geometry - The target geometric object.distance - The buffer distance.public DWithin(PropertyName property, Geometry geometry, Distance distance)
Constructs an object of DWithin according to the name of the field storing the geometric object and the target geometric object, and a buffer distance.
property - An abstract object of the <PropertyName> element, representing the name of the field storing the geometric object.geometry - The target geometric object.distance - The buffer distance.public DWithin()
The constructor.
public void accept(AbstractFilterVisitor visitor) throws OGCException
accept in class FilterOGCExceptionpublic FilterType getFilterType()
FilterGets the Filter element type.
getFilterType in class Filter