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