A class for binary spatial operators.
More...
#include <BinarySpatialOp.h>
A class for binary spatial operators.
Binary spatial operators are used to test whether the value of a geometric property, referenced using the name of the property, and a literal geometric value satisfy the spatial relationship implied by the operator.
The following operators are defined in the Filter Encoding specification:
- See also
- SpatialOp, PropertyName
Definition at line 68 of file BinarySpatialOp.h.
◆ ReturnType
◆ VisitorType
◆ BinarySpatialOp() [1/3]
te::fe::BinarySpatialOp::BinarySpatialOp |
( |
const char * |
opName = 0 | ) |
|
◆ BinarySpatialOp() [2/3]
It initializes the BinarySpatialOp.
- Parameters
-
opName | The operator name. |
p | The property name. |
g | The geometry value. |
- Note
- The BinarySpatialOp will not take the ownership of the given name.
-
The BinarySpatialOp will take the ownership of the given operands.
◆ BinarySpatialOp() [3/3]
It initializes the BinarySpatialOp.
- Parameters
-
opName | The operator name. |
p | The property name. |
e | The envelope value. |
- Note
- The BinarySpatialOp will not take the ownership of the given name.
-
The BinarySpatialOp will take the ownership of the given operands.
◆ ~BinarySpatialOp()
virtual te::fe::BinarySpatialOp::~BinarySpatialOp |
( |
| ) |
|
|
virtual |
◆ accept()
It call the visit method from the guest object.
- Parameters
-
guest | The guest or visitor. |
- Returns
- Any valid value define by the template type R.
◆ clone()
AbstractOp * te::fe::BinarySpatialOp::clone |
( |
| ) |
const |
|
virtual |
◆ getEnvelope()
It returns the envelope.
- Returns
- The envelope.
◆ getGeometry()
It returns the geometry.
- Returns
- The geometry.
◆ getName()
const char * te::fe::AbstractOp::getName |
( |
| ) |
const |
|
inlineinherited |
It returns the operator name.
- Returns
- The operator name.
Definition at line 82 of file AbstractOp.h.
◆ getProperty()
PropertyName * te::fe::BinarySpatialOp::getProperty |
( |
| ) |
const |
It returns the property name.
- Returns
- The property name.
◆ setEnvelope()
It sets the envelope.
- Parameters
-
- Note
- It will take the ownership of the envelope.
◆ setGeometry()
It sets the geometry.
- Parameters
-
- Note
- It will take the ownership of the geometry.
◆ setName()
void te::fe::AbstractOp::setName |
( |
const char * |
opName | ) |
|
|
inlineinherited |
It sets the operator name.
- Parameters
-
Definition at line 89 of file AbstractOp.h.
◆ setProperty()
void te::fe::BinarySpatialOp::setProperty |
( |
PropertyName * |
p | ) |
|
It sets the property name.
- Parameters
-
- Note
- It will take the ownership of the property name.
◆ m_box
A convenient and more compact way of encoding the very common bounding box constraint. (It must be omitted ig m_box is given)
Definition at line 181 of file BinarySpatialOp.h.
◆ m_geom
A literal geometric value. (It must be omitted if m_envelope is given)
Definition at line 180 of file BinarySpatialOp.h.
◆ m_name
const char* te::fe::AbstractOp::m_name |
|
protectedinherited |
◆ m_property
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/fe/BinarySpatialOp.h