Package com.luciad.ogc.filter.model
Class TLcdOGCBBoxOperator
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.filter.model.TLcdOGCBBoxOperator
- All Implemented Interfaces:
ILcdDataObject
,ILcdGenericExpression
,ILcdOGCCondition
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
This class represents the element
<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 Summary
ConstructorDescriptionDefault 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. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the envelope to be considered for intersection.Gets the spatial reference of the envelope.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.toString()
Methods inherited from class com.luciad.datamodel.TLcdDataObject
clone, clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
-
Constructor Details
-
TLcdOGCBBoxOperator
public TLcdOGCBBoxOperator()Default constructor. -
TLcdOGCBBoxOperator
public 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.- Parameters:
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.
-
-
Method Details
-
getPropertyName
Gets the property name that identifies the geometric property to be considered for the intersection.- Returns:
- the property name.
-
setPropertyName
Sets the property name that identifies the geometric property to be considered for the intersection.- Parameters:
aPropertyName
- the property name.
-
getBounds
Gets the envelope to be considered for intersection.- Returns:
- the envelope to be considered for intersection.
-
setBounds
Sets the envelope to be considered for intersection.- Parameters:
aBounds
- the envelope to be considered for intersection.
-
getBoundsGeoReference
Gets the spatial reference of the envelope.- Returns:
- the spatial reference of the envelope.
-
setBoundsGeoReference
Sets the spatial reference of the envelope.- Parameters:
aBoundsGeoReference
- the spatial reference of the envelope.
-
equals
-
hashCode
public int hashCode() -
toString
- Overrides:
toString
in classTLcdDataObject
-