26 #ifndef __TERRALIB_GEOMETRY_INTERNAL_ABSTRACTPOINT_H
27 #define __TERRALIB_GEOMETRY_INTERNAL_ABSTRACTPOINT_H
72 AbstractPoint(
const AbstractPoint& rhs);
84 virtual AbstractPoint& operator=(
const AbstractPoint& rhs);
98 virtual const double& getX()
const = 0;
105 virtual void setX(
const double& x) = 0;
112 virtual const double& getY()
const = 0;
119 virtual void setY(
const double& y) = 0;
126 virtual const double& getZ()
const = 0;
133 virtual void setZ(
const double& z) = 0;
140 virtual const double& getM()
const = 0;
147 virtual void setM(
const double& m) = 0;
168 const std::
string& getGeometryType() const throw();
177 void setSRID(
int srid) throw();
192 void transform(
int srid) throw(
te::common::
Exception);
203 void computeMBR(
bool cascade) const throw();
212 std::
size_t getNPoints() const throw() {
return 1; }
226 #endif // __TERRALIB_GEOMETRY_INTERNAL_ABSTRACTPOINT_H
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
Base exception class for plugin module.
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module.
An Envelope defines a 2D rectangular region.
Dimensionality
From Wikipedia: "in mathematics, the dimension of an object is an intrinsic property, independent of the space in which the object may happen to be embedded".
#define TE_DEFINE_VISITABLE
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
virtual ~AbstractPoint()
Virtual destructor.
static const double sm_notNumber
Just a special value to return in the case of an invalid geometry.
static const std::string sm_typeName
Geometry type name for AbstractPoint.
A base abstract class for 0-dimensional geometric objects that represents a single location in coordi...
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.