26 #ifndef __TERRALIB_GEOMETRY_INTERNAL_MULTICURVE_H
27 #define __TERRALIB_GEOMETRY_INTERNAL_MULTICURVE_H
#define TE_DEFINE_VISITABLE
It is a collection of other geometric objects.
A base class for values that can be retrieved from the data access module.
An Envelope defines a 2D rectangular region.
It is a collection of other geometric objects.
MultiCurve is a class that represents a 1-dimensional GeometryCollection whose elements are curves.
bool isClosed() const
It returns true if this MultiCurve is closed [StartPoint ( ) = EndPoint ( ) for each Curve in this Mu...
Dimensionality getDimension() const
MultiCurves are 1-dimensional.
virtual te::dt::AbstractData * clone() const
It clones the linestring.
MultiCurve(const MultiCurve &rhs)
Copy constructor.
TE_DEFINE_VISITABLE MultiCurve(std::size_t nGeom, GeomType t, int srid=0, Envelope *mbr=0)
It initializes the multi curve with the specified spatial reference system id and envelope.
virtual ~MultiCurve()
Virtual destructor.
double getLength() const
It returns the Length of this MultiCurve which is equal to the sum of the lengths of the element Curv...
virtual MultiCurve & operator=(const MultiCurve &rhs)
Assignment operator.
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
Dimensionality
From Wikipedia: "in mathematics, the dimension of an object is an intrinsic property,...
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module.