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; }
 
  241        void convert(
te::srs::Converter* converter) override;
 
#define TE_DEFINE_VISITABLE
 
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
 
A base class for values that can be retrieved from the data access module.
 
An Envelope defines a 2D rectangular region.
 
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
 
A point with x and y coordinate values.
 
double m_y
The Point y-coordinate value.
 
Point(int srid=0, GeomType t=te::gm::PointType, Envelope *mbr=0)
It initializes the Geometry with the specified spatial reference system id and envelope.
 
void setM(const double &m)
It sets the Point m-coordinate value.
 
virtual ~Point()
Virtual destructor.
 
void setZ(const double &z)
It sets the Point z-coordinate value.
 
double m_m
The Point m-coordinate value.
 
double m_z
The Point z-coordinate value.
 
static const double sm_notNumber
Just a special value to return in the case of a invalid Geometry.
 
const double & getY() const
It returns the Point y-coordinate value.
 
bool operator<(const Point &rhs)
Less then operator.
 
const double & getX() const
It returns the Point x-coordinate value.
 
Point(const double &x, const double &y, int srid=0, GeomType t=te::gm::PointType, Envelope *mbr=0)
It initializes the Geometry with the specified spatial reference system id and envelope.
 
void setY(const double &y)
It sets the Point y-coordinate value.
 
virtual Point & operator=(const Point &rhs)
Assignment operator.
 
Point(const Point &rhs)
Copy constructor.
 
static const std::string sm_typeName
Geometry type name for Point.
 
const double & getM() const
It returns the Point m-coordinate value, if it has one or DoubleNotANumber otherwise.
 
Dimensionality getDimension() const _NOEXCEPT_OP(true)
Points are 0-dimensional objects.
 
virtual te::dt::AbstractData * clone() const
It clones the point.
 
const double & getZ() const
It returns the Point z-coordinate value, if it has one or DoubleNotANumber otherwise.
 
void setX(const double &x)
It sets the Point x-coordinate value.
 
double m_x
The Point x-coordinate value.
 
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
 
Dimensionality
From Wikipedia: "in mathematics, the dimension of an object is an intrinsic property,...
 
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module.