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;
47 class GeometryCollection;
51 class MultiLineString;
65 class GeometryCollection;
69 class MultiLineString;
99 static geos::geom::Geometry* write(
const Geometry* teGeom);
110 static geos::geom::Point* write(
const Point* tePt);
121 static geos::geom::Point* write(
const PointM* tePt);
132 static geos::geom::Point* write(
const PointZ* tePt);
143 static geos::geom::Point* write(
const PointZM* tePt);
154 static geos::geom::LineString* write(
const LineString* teLine);
165 static geos::geom::LinearRing* write(
const LinearRing* teRing);
176 static geos::geom::Polygon* write(
const Polygon* tePoly);
187 static geos::geom::MultiPolygon* write(
const MultiPolygon* teMPoly);
198 static geos::geom::MultiLineString* write(
const MultiLineString* teMLine);
209 static geos::geom::MultiPoint* write(
const MultiPoint* teMPt);
220 static geos::geom::Envelope* write(
const Envelope* teEnv);
221 static geos::geom::LineSegment* write(
const Line* teLine);
232 static geos::geom::GeometryCollection* write(
const GeometryCollection* teGeomColl);
243 static geos::geom::CoordinateSequence* getCoordinateSequence(
const LineString* teLine);
252 static std::vector<geos::geom::Geometry*>* getGeometries(
const GeometryCollection* teGeomColl);
258 #endif // TERRALIB_GEOS_ENABLED
260 #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.