26 #ifndef __TERRALIB_FE_INTERNAL_BINARYSPATIALOP_H
27 #define __TERRALIB_FE_INTERNAL_BINARYSPATIALOP_H
34 namespace gm {
class Geometry; }
35 namespace gml {
class Envelope; }
#define TE_DEFINE_VISITABLE
A spatial operator determines whether its geometric arguments satisfy the stated spatial relationship...
An abstract interface for operators.
A class for binary spatial operators.
virtual ~BinarySpatialOp()
Destructor.
te::gml::Envelope * m_box
A convenient and more compact way of encoding the very common bounding box constraint....
BinarySpatialOp(const char *opName=0)
It initializes the BinarySpatialOp.
BinarySpatialOp(const char *opName, PropertyName *p, te::gm::Geometry *g)
It initializes the BinarySpatialOp.
void setGeometry(te::gm::Geometry *g)
It sets the geometry.
te::gm::Geometry * m_geom
A literal geometric value. (It must be omitted if m_envelope is given)
PropertyName * getProperty() const
It returns the property name.
te::gm::Geometry * getGeometry() const
It returns the geometry.
void setProperty(PropertyName *p)
It sets the property name.
void setEnvelope(te::gml::Envelope *e)
It sets the envelope.
AbstractOp * clone() const
It creates a new copy of this object.
PropertyName * m_property
A geometric property. (Mandatory)
BinarySpatialOp(const char *opName, PropertyName *p, te::gml::Envelope *e)
It initializes the BinarySpatialOp.
te::gml::Envelope * getEnvelope() const
It returns the envelope.
This class is used to encode the name of any property of an object.
A spatial operator determines whether its geometric arguments satisfy the stated spatial relationship...
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
Envelope defines an extent using a pair of positions defining opposite corners in arbitrary dimension...
#define TEFEEXPORT
You can use this macro in order to export/import classes and functions from this module.