26 #ifndef __TERRALIB_GEOMETRY_INTERNAL_COMPOUNDCURVE_H 27 #define __TERRALIB_GEOMETRY_INTERNAL_COMPOUNDCURVE_H 140 const std::string& getGeometryType()
const throw();
149 void setSRID(
int srid)
throw();
175 void computeMBR(
bool cascade)
const throw();
184 std::size_t getNPoints()
const throw();
196 Geometry* locateBetween(
const double& mStart,
const double& mEnd)
const throw(
Exception);
210 double getLength()
const;
219 std::unique_ptr<Point> getStartPoint()
const;
228 std::unique_ptr<Point> getEndPoint()
const;
237 bool isClosed()
const;
253 std::size_t
size()
const {
return m_curves.size(); }
267 Curve* getCurve(std::size_t i)
const;
318 #endif // __TERRALIB_GEOMETRY_INTERNAL_COMPOUNDCURVE_H GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
Base exception class for plugin module.
Curve is an abstract class that represents 1-dimensional geometric objects stored as a sequence of co...
const std::vector< Curve * > & getCurves() const
It returns a pointer to the internal array of segments.
std::vector< Curve * > m_curves
The list of segments of the compund curve.
#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.
CompoundCurve is a curve that may have circular and linear segments.
std::size_t size() const
It returns the number of elements in the compound geometry.
A base class for values that can be retrieved from the data access module.
#define TE_DEFINE_VISITABLE
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...
A Converter is responsible for the conversion of coordinates between different Coordinate Systems (CS...
static const std::string sm_typeName
std::vector< Curve * > & getCurves()
It returns a pointer to the internal array of segments.