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.
te::fe::BinarySpatialOp::BinarySpatialOp |
( |
const char * |
opName = 0 | ) |
|
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.
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.
virtual te::fe::BinarySpatialOp::~BinarySpatialOp |
( |
| ) |
|
|
virtual |
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.
It returns the envelope.
- Returns
- The envelope.
It returns the geometry.
- Returns
- The geometry.
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.
PropertyName* te::fe::BinarySpatialOp::getProperty |
( |
| ) |
const |
It returns the property name.
- Returns
- The property name.
It sets the envelope.
- Parameters
-
- Note
- It will take the ownership of the envelope.
It sets the geometry.
- Parameters
-
- Note
- It will take the ownership of the geometry.
void te::fe::AbstractOp::setName |
( |
const char * |
opName | ) |
|
|
inlineinherited |
It sets the operator name.
- Parameters
-
Definition at line 89 of file AbstractOp.h.
void te::fe::BinarySpatialOp::setProperty |
( |
PropertyName * |
p | ) |
|
It sets the property name.
- Parameters
-
- Note
- It will take the ownership of the property name.
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 178 of file BinarySpatialOp.h.
A literal geometric value. (It must be omitted if m_envelope is given)
Definition at line 177 of file BinarySpatialOp.h.
const char* te::fe::AbstractOp::m_name |
|
protectedinherited |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/src/terralib/fe/BinarySpatialOp.h