public class TLcdOGCBBoxOperator extends TLcdDataObject implements ILcdOGCCondition
<ogc:BBOX>
.
According to the OGC Filter specification, it provides a more compact way of encoding the very common bounding box
constraint based on the gml:Envelope
geometry. It is equivalent to the spatial operation
<Not>
<Disjoint>...</Disjoint>
</Not>
meaning that the <BBOX>
operator should identify all geometries that spatially interact with the
box.
A TLcdOGCBBoxOperator
instance is composed of a TLcdOGCPropertyName
instance that identifies the
geometric property to be considered for the intersection, an ILcdBounds
instance that indicates the envelope
to intersect with and a ILcdGeoReference
that indicates the spatial reference of the given envelope in case
the envelope doesn't contain one.Constructor and Description |
---|
TLcdOGCBBoxOperator()
Default constructor.
|
TLcdOGCBBoxOperator(TLcdOGCPropertyName aPropertyName,
ILcdBounds aBounds,
ILcdGeoReference aBoundsGeoReference)
Constructs an instance for a given property name, an envelope, and a optional spatial reference for the envelope.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
ILcdBounds |
getBounds()
Gets the envelope to be considered for intersection.
|
ILcdGeoReference |
getBoundsGeoReference()
Gets the spatial reference of the envelope.
|
TLcdOGCPropertyName |
getPropertyName()
Gets the property name that identifies the geometric property to be considered for the intersection.
|
int |
hashCode() |
void |
setBounds(ILcdBounds aBounds)
Sets the envelope to be considered for intersection.
|
void |
setBoundsGeoReference(ILcdGeoReference aBoundsGeoReference)
Sets the spatial reference of the envelope.
|
void |
setPropertyName(TLcdOGCPropertyName aPropertyName)
Sets the property name that identifies the geometric property to be considered for the intersection.
|
String |
toString() |
clone, clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
public TLcdOGCBBoxOperator()
public TLcdOGCBBoxOperator(TLcdOGCPropertyName aPropertyName, ILcdBounds aBounds, ILcdGeoReference aBoundsGeoReference)
aPropertyName
- identifies the geometric property to be considered for the intersectionaBounds
- the envelope to intersect with.aBoundsGeoReference
- the spatial reference of the given envelope in case the envelope doesn't contain one.public TLcdOGCPropertyName getPropertyName()
public void setPropertyName(TLcdOGCPropertyName aPropertyName)
aPropertyName
- the property name.public ILcdBounds getBounds()
public void setBounds(ILcdBounds aBounds)
aBounds
- the envelope to be considered for intersection.public ILcdGeoReference getBoundsGeoReference()
public void setBoundsGeoReference(ILcdGeoReference aBoundsGeoReference)
aBoundsGeoReference
- the spatial reference of the envelope.public String toString()
toString
in class TLcdDataObject