26 #ifndef __TERRALIB_GEOMETRY_INTERNAL_POINT_H 27 #define __TERRALIB_GEOMETRY_INTERNAL_POINT_H 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);
241 void convert(
te::srs::Converter* converter) override;
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.
const double & getX() const
It returns the Point x-coordinate value.
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module.
const double & getZ() const
It returns the Point z-coordinate value, if it has one or DoubleNotANumber otherwise.
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
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
const double & getM() const
It returns the Point m-coordinate value, if it has one or DoubleNotANumber otherwise.
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 & getY() const
It returns the Point y-coordinate value.
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.
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.