26 #ifndef __TERRALIB_GEOMETRY_INTERNAL_GEOSWRITER_H
27 #define __TERRALIB_GEOMETRY_INTERNAL_GEOSWRITER_H
30 #include "../BuildConfig.h"
31 #include "../common/Static.h"
34 #ifdef TERRALIB_GEOS_ENABLED
44 class CoordinateSequence;
46 class GeometryCollection;
49 class MultiLineString;
63 class GeometryCollection;
66 class MultiLineString;
95 static geos::geom::Geometry* write(
const Geometry* teGeom);
106 static geos::geom::Point* write(
const Point* tePt);
117 static geos::geom::Point* write(
const PointM* tePt);
128 static geos::geom::Point* write(
const PointZ* tePt);
139 static geos::geom::Point* write(
const PointZM* tePt);
150 static geos::geom::LineString* write(
const LineString* teLine);
161 static geos::geom::LinearRing* write(
const LinearRing* teRing);
172 static geos::geom::Polygon* write(
const Polygon* tePoly);
183 static geos::geom::MultiPolygon* write(
const MultiPolygon* teMPoly);
194 static geos::geom::MultiLineString* write(
const MultiLineString* teMLine);
205 static geos::geom::MultiPoint* write(
const MultiPoint* teMPt);
216 static geos::geom::GeometryCollection* write(
const GeometryCollection* teGeomColl);
227 static geos::geom::CoordinateSequence* getCoordinateSequence(
const LineString* teLine);
236 static std::vector<geos::geom::Geometry*>* getGeometries(
const GeometryCollection* teGeomColl);
242 #endif // TERRALIB_GEOS_ENABLED
244 #endif // __TERRALIB_GEOMETRY_INTERNAL_GEOSWRITER_H
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module.
Configuration flags for the Vector Geometry Model of TerraLib.
A base type for static classes.