public class Intersects extends SpatialFilter
The abstract class of <Intersects> elements.
Intersects is a spatial operator representing the intersecting operation, i.e., confining result features to ones intersecting with a specified geometric object spatially. Points cannot intersect with each other; a line can intersect with lines or polygons; a polygon can only intersect with lines.
A Intersects element consists of the name of the field storing geometric object, and the target geometric object participating in the operation.
name, subExpression| Constructor and Description |
|---|
Intersects()
The constructor, constructing an object of
Intersects named “Intersects” with null child Filter elements. |
Intersects(PropertyName propertyName, Geometry geometry)
Constructs an object of
Intersects with a null name according to the name of the field storing the geometric object and the target geometric object participating in the operation. |
Intersects(PropertyName property, GeometryExpression geometry)
Constructs an object of
Intersects named "Intersects" according to the name of the field storing the geometric object and the target geometric object participating in the operation. |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(AbstractFilterVisitor visitor) |
FilterType |
getFilterType()
Gets the Filter element type.
|
getGeometry, getPropertyName, setSubExpressioncopy, getName, getSubExpression, getSubExpressionCountpublic Intersects(PropertyName property, GeometryExpression geometry)
Constructs an object of Intersects named "Intersects" according to the name of the field storing the geometric object and the target geometric object participating in the operation.
property - An abstract object of the <PropertyName> element, representing the name of the field storing the geometric object.geometry - The target geometric object.public Intersects(PropertyName propertyName, Geometry geometry) throws OGCException
Constructs an object of Intersects with a null name according to the name of the field storing the geometric object and the target geometric object participating in the operation.
propertyName - An abstract object of the <PropertyName> element, representing the name of the field storing the geometric object.geometry - The target geometric object.OGCException - An OGC service exception.public Intersects()
The constructor, constructing an object of Intersects named “Intersects” with null child Filter elements.
public void accept(AbstractFilterVisitor visitor) throws OGCException
accept in class FilterOGCExceptionpublic FilterType getFilterType()
FilterGets the Filter element type.
getFilterType in class Filter