Go to the documentation of this file.
26 #ifndef __TERRALIB_FE_INTERNAL_DISTANCEBUFFER_H
27 #define __TERRALIB_FE_INTERNAL_DISTANCEBUFFER_H
36 namespace gm {
class Geometry; }
165 #endif // __TERRALIB_FE_INTERNAL_DISTANCEBUFFER_H
SpatialOp * clone() const
It creates a new copy of this object.
A spatial operator determines whether its geometric arguments satisfy the stated spatial relationship...
te::common::Distance * getDistance() const
It returns the distance.
#define TEFEEXPORT
You can use this macro in order to export/import classes and functions from this module.
TEMNTEXPORT double Distance(const te::gm::Coord2D &pt1, const te::gm::Coord2D &pt2)
PropertyName * m_property
A geometric property. (Mandatory, if m_geom is not specified)
A spatial operator determines whether its geometric arguments satisfy the stated spatial relationship...
Distance buffer operator.
virtual ~DistanceBuffer()
Destructor.
DistanceBuffer(const char *opName=0)
It initializes the DistanceBuffer operator.
te::common::Distance * m_d
Distance. (mandatory)
te::gm::Geometry * m_geom
Geometry literal. (Mandatory, if m_property is not specified)
#define TE_DEFINE_VISITABLE
DistanceBuffer(const char *opName, PropertyName *p, te::gm::Geometry *g, te::common::Distance *d)
It initializes the DistanceBuffer operator.
void setProperty(PropertyName *p)
It sets property name.
void setGeometry(te::gm::Geometry *g)
It sets the geometry.
This class is used to encode the name of any property of an object.
te::gm::Geometry * getGeometry() const
It returns the geometry.
void setDistance(te::common::Distance *d)
It sets the distance.
A given distance has a measurement and a unit-of-measure.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
PropertyName * getProperty() const
It returns the property name.