26 #ifndef __TERRALIB_GEOMETRY_INTERNAL_POINT_H 27 #define __TERRALIB_GEOMETRY_INTERNAL_POINT_H 90 Point(
const Point& rhs);
99 virtual Point& operator=(
const Point& rhs);
138 const double&
getX()
const {
return m_x; }
145 void setX(
const double& x) { m_x = x; }
152 const double&
getY()
const {
return m_y; }
159 void setY(
const double& y) { m_y = y; }
166 const double&
getZ()
const {
return m_z; }
173 void setZ(
const double& z) { m_z = z; }
180 const double&
getM()
const {
return m_m; }
187 void setM(
const double& m) { m_m = m; }
217 const std::string& getGeometryType()
const _NOEXCEPT_OP(
true);
261 std::size_t
getNPoints() const _NOEXCEPT_OP(true){
return 1; }
279 #endif // __TERRALIB_GEOMETRY_INTERNAL_POINT_H TEDATAACCESSEXPORT te::da::Expression * operator<(const te::da::Expression &e1, const te::da::Expression &e2)
static const double sm_notNumber
Just a special value to return in the case of a invalid Geometry.
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module.
std::size_t getNPoints() const _NOEXCEPT_OP(true)
it returns the number of points (vertexes) in the geometry.
const double & getY() const
It returns the Point y-coordinate value.
A point with x and y coordinate values.
An Envelope defines a 2D rectangular region.
void setM(const double &m)
It sets the Point m-coordinate value.
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".
virtual ~Point()
Virtual destructor.
A base class for values that can be retrieved from the data access module.
double m_z
The Point z-coordinate value.
#define TE_DEFINE_VISITABLE
const double & getZ() const
It returns the Point z-coordinate value, if it has one or DoubleNotANumber otherwise.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
double m_y
The Point y-coordinate value.
double m_m
The Point m-coordinate value.
void setX(const double &x)
It sets the Point x-coordinate value.
const double & getM() const
It returns the Point m-coordinate value, if it has one or DoubleNotANumber otherwise.
void setY(const double &y)
It sets the Point y-coordinate value.
static const std::string sm_typeName
Geometry type name for Point.
double m_x
The Point x-coordinate value.
const double & getX() const
It returns the Point x-coordinate value.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
void setZ(const double &z)
It sets the Point z-coordinate value.