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;
96 static geos::geom::Geometry* write(
const Geometry* teGeom);
107 static geos::geom::Point* write(
const Point* tePt);
118 static geos::geom::LineString* write(
const LineString* teLine);
129 static geos::geom::LinearRing* write(
const LinearRing* teRing);
140 static geos::geom::Polygon* write(
const Polygon* tePoly);
151 static geos::geom::MultiPolygon* write(
const MultiPolygon* teMPoly);
162 static geos::geom::MultiLineString* write(
const MultiLineString* teMLine);
173 static geos::geom::MultiPoint* write(
const MultiPoint* teMPt);
184 static geos::geom::Envelope* write(
const Envelope* teEnv);
185 static geos::geom::LineSegment* write(
const Line* teLine);
196 static geos::geom::GeometryCollection* write(
const GeometryCollection* teGeomColl);
207 static geos::geom::CoordinateSequence* getCoordinateSequence(
const LineString* teLine);
216 static std::vector<geos::geom::Geometry*>* getGeometries(
const GeometryCollection* teGeomColl);
222 #endif // TERRALIB_GEOS_ENABLED
224 #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.