26 #ifndef __TERRALIB_GEOMETRY_INTERNAL_COMPOUNDCURVE_H 
   27 #define __TERRALIB_GEOMETRY_INTERNAL_COMPOUNDCURVE_H 
   85         CompoundCurve(std::size_t size, 
GeomType t, 
int srid = 0, 
Envelope* mbr = 0);
 
   92         CompoundCurve(
const CompoundCurve& rhs);
 
  104         CompoundCurve& operator=(
const CompoundCurve& rhs);
 
  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         Point* getStartPoint() 
const;
 
  228         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 
static const std::string sm_typeName
 
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
This class is designed to declare objects to be thrown as exceptions by TerraLib. ...
 
const std::vector< Curve * > & getCurves() const 
It returns a pointer to the internal array of segments. 
 
#define TE_DEFINE_VISITABLE
 
Curve is an abstract class that represents 1-dimensional geometric objects stored as a sequence of co...
 
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards. 
 
A point with x and y coordinate values. 
 
CompoundCurve is a curve that may have circular and linear segments. 
 
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code. 
 
std::vector< Curve * > m_curves
The list of segments of the compund curve. 
 
A base class for values that can be retrieved from the data access module. 
 
Curve is an abstract class that represents 1-dimensional geometric objects stored as a sequence of co...
 
std::size_t size() const 
It returns the number of elements in the compound geometry. 
 
An Envelope defines a 2D rectangular region. 
 
std::vector< Curve * > & getCurves()
It returns a pointer to the internal array of segments.