26 #ifndef __TERRALIB_GEOMETRY_INTERNAL_LINESTRING_H    27 #define __TERRALIB_GEOMETRY_INTERNAL_LINESTRING_H   151         const std::string& getGeometryType() 
const throw();
   160         void setSRID(
int srid) 
throw();
   186         void computeMBR(
bool cascade) 
const throw();
   207         Geometry* locateBetween(
const double& mStart, 
const double& mEnd) 
const throw(
Exception);
   230         std::unique_ptr<Point> getStartPoint() 
const;
   239         std::unique_ptr<Point> getEndPoint() 
const;
   248         bool isClosed() 
const;
   264         std::size_t 
size()
 const { 
return m_nPts; }
   273         void setNumCoordinates(std::size_t size);
   297         std::unique_ptr<Point> getPointN(std::size_t i) 
const;
   307         void setPointN(std::size_t i, 
const Point& p);
   318         void setPoint(std::size_t i, 
const double& x, 
const double& y);
   330         void setPointZ(std::size_t i, 
const double& x, 
const double& y, 
const double& z);
   342         void setPointM(std::size_t i, 
const double& x, 
const double& y, 
const double& m);
   355         void setPointZM(std::size_t i, 
const double& x, 
const double& y, 
const double& z, 
const double& m);
   366         const double& getX(std::size_t i) 
const;
   377         const double& getY(std::size_t i) 
const;
   390         const double& getZ(std::size_t i) 
const;
   403         const double& getM(std::size_t i) 
const;
   413         void setX(std::size_t i, 
const double& x);
   423         void setY(std::size_t i, 
const double& y);
   435         void setZ(std::size_t i, 
const double& z);
   447         void setM(std::size_t i, 
const double& m);
   508 #endif  // __TERRALIB_GEOMETRY_INTERNAL_LINESTRING_H GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code. 
 
static const std::string sm_typeName
 
Base exception class for plugin module. 
 
Curve is an abstract class that represents 1-dimensional geometric objects stored as a sequence of co...
 
An utility struct for representing 2D coordinates. 
 
double * m_zA
A pointer to z values. 
 
std::size_t m_nPts
The number of coordinates of the LineString. 
 
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
Coord2D * getCoordinates() const
It returns a pointer to the internal array of coordinates. 
 
LineString is a curve with linear interpolation between points. 
 
A point with x and y coordinate values. 
 
An Envelope defines a 2D rectangular region. 
 
std::size_t size() const
It returns the number of points (vertexes) in the geometry. 
 
A base class for values that can be retrieved from the data access module. 
 
Coord2D * m_coords
A pointer to x, y values. 
 
#define TE_DEFINE_VISITABLE
 
std::size_t getNPoints() const
It returns the number of points (vertexes) in the linestring. 
 
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards. 
 
Curve is an abstract class that represents 1-dimensional geometric objects stored as a sequence of co...
 
An exception class for the Geometry module. 
 
A Converter is responsible for the conversion of coordinates between different Coordinate Systems (CS...
 
double * getM() const
It returns a pointer to the internal array of m-values. 
 
double * getZ() const
It returns a pointer to the internal array of z-values. 
 
An utility struct for representing 2D coordinates. 
 
double * m_mA
A pointer to m values.