28 #ifndef __TERRALIB_VP_INTERNAL_POLYGONTOLINE_MEMORY_H
29 #define __TERRALIB_VP_INTERNAL_POLYGONTOLINE_MEMORY_H
32 #include "../common/Exception.h"
33 #include "../geometry/Geometry.h"
34 #include "../geometry/GeometryCollection.h"
35 #include "../geometry/LineString.h"
36 #include "../geometry/MultiLineString.h"
37 #include "../geometry/Polygon.h"
Polygon to line operation.
It is a collection of other geometric objects.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
LineString is a curve with linear interpolation between points.
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
void getLines(te::gm::Geometry *geom, std::vector< te::gm::LineString * > &lines)
std::unique_ptr< te::gm::MultiLineString > polygon2Line(te::gm::Geometry *geom)
void getLines(te::gm::GeometryCollection *gc, std::vector< te::gm::LineString * > &lines)
void getLines(te::gm::LineString *l, std::vector< te::gm::LineString * > &lines)
void getLines(te::gm::Polygon *p, std::vector< te::gm::LineString * > &lines)
#define TEVPEXPORT
You can use this macro in order to export/import classes and functions from this module.
Proxy configuration file for TerraView (see terraview_config.h).
An exception class for the XML module.