Class TLcdOGCBBoxOperator

java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.filter.model.TLcdOGCBBoxOperator
All Implemented Interfaces:
ILcdDataObject, ILcdGenericExpression, ILcdOGCCondition, ILcdCloneable, ILcdDeepCloneable, Cloneable

public class TLcdOGCBBoxOperator extends TLcdDataObject implements ILcdOGCCondition
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 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 intersection
      aBounds - the envelope to intersect with.
      aBoundsGeoReference - the spatial reference of the given envelope in case the envelope doesn't contain one.
  • Method Details

    • getPropertyName

      public TLcdOGCPropertyName getPropertyName()
      Gets the property name that identifies the geometric property to be considered for the intersection.
      Returns:
      the property name.
    • setPropertyName

      public void setPropertyName(TLcdOGCPropertyName aPropertyName)
      Sets the property name that identifies the geometric property to be considered for the intersection.
      Parameters:
      aPropertyName - the property name.
    • getBounds

      public ILcdBounds getBounds()
      Gets the envelope to be considered for intersection.
      Returns:
      the envelope to be considered for intersection.
    • setBounds

      public void setBounds(ILcdBounds aBounds)
      Sets the envelope to be considered for intersection.
      Parameters:
      aBounds - the envelope to be considered for intersection.
    • getBoundsGeoReference

      public ILcdGeoReference getBoundsGeoReference()
      Gets the spatial reference of the envelope.
      Returns:
      the spatial reference of the envelope.
    • setBoundsGeoReference

      public void setBoundsGeoReference(ILcdGeoReference aBoundsGeoReference)
      Sets the spatial reference of the envelope.
      Parameters:
      aBoundsGeoReference - the spatial reference of the envelope.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class TLcdDataObject