26 #ifndef __TERRALIB_GEOMETRY_INTERNAL_POINTKD_H
27 #define __TERRALIB_GEOMETRY_INTERNAL_POINTKD_H
73 PointKd(
const PointKd& rhs);
85 PointKd& operator=(
const PointKd& rhs);
94 const double&
getCoord(std::size_t i)
const {
return m_coords[i]; }
103 double&
getCoord(std::size_t i) {
return m_coords[i]; }
110 std::size_t
size()
const {
return m_coords.size(); }
144 const double& getX()
const;
151 void setX(
const double& x);
158 const double& getY()
const;
165 void setY(
const double& y);
172 const double& getZ()
const;
179 void setZ(
const double& z);
186 const double& getM()
const;
193 void setM(
const double& m);
205 #endif // __TERRALIB_GEOMETRY_INTERNAL_POINTKD_H
A base abstract class for 0-dimensional geometric objects that represents a single location in coordi...
std::vector< double > m_coords
The array of coordinates.
const double & getCoord(std::size_t i) const
It returns the i-th coordinate value.
double & getCoord(std::size_t i)
It returns the i-th coordinate value.
#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.
A base class for values that can be retrieved from the data access module.
#define TE_DEFINE_VISITABLE
A base abstract class for 0-dimensional geometric objects that represents a single location in coordi...
std::size_t size() const
It returns the number of coordinates of the point.