27 #include "../Defines.h"
73 return new Point(*
this);
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.
A point with x and y coordinate values.
virtual Point & operator=(const Point &rhs)
Assignment operator.
A point with x and y coordinate values.
An Envelope defines a 2D rectangular region.
virtual te::dt::AbstractData * clone() const
It clones the point.
virtual void setM(const double &m)
It sets the Point m-coordinate value.
virtual AbstractPoint & operator=(const AbstractPoint &rhs)
Assignment operator.
A base class for values that can be retrieved from the data access module.
double m_y
The Point y-coordinate value.
static const std::string sm_typeName
Geometry type name for Point.
double m_x
The Point x-coordinate value.
A base abstract class for 0-dimensional geometric objects that represents a single location in coordi...
Point(const double &x, const double &y, int srid=0, Envelope *mbr=0)
It initializes the Geometry with the specified spatial reference system id and envelope.
virtual void setZ(const double &z)
It sets the Point z-coordinate value.