26 #ifndef __TERRALIB_GEOMETRY_INTERNAL_GEOSWRITER_H 27 #define __TERRALIB_GEOMETRY_INTERNAL_GEOSWRITER_H 30 #include "../common/Static.h" 41 class CoordinateSequence;
44 class GeometryCollection;
48 class MultiLineString;
62 class GeometryCollection;
66 class MultiLineString;
93 static geos::geom::Geometry* write(
const Geometry* teGeom);
104 static geos::geom::Point* write(
const Point* tePt);
115 static geos::geom::LineString* write(
const LineString* teLine);
126 static geos::geom::LinearRing* write(
const LinearRing* teRing);
137 static geos::geom::Polygon* write(
const Polygon* tePoly);
148 static geos::geom::MultiPolygon* write(
const MultiPolygon* teMPoly);
159 static geos::geom::MultiLineString* write(
const MultiLineString* teMLine);
170 static geos::geom::MultiPoint* write(
const MultiPoint* teMPt);
181 static geos::geom::Envelope* write(
const Envelope* teEnv);
182 static geos::geom::LineSegment* write(
const Line* teLine);
204 static geos::geom::CoordinateSequence* getCoordinateSequence(
const LineString* teLine);
213 static std::vector<geos::geom::Geometry*>* getGeometries(
const GeometryCollection* teGeomColl);
219 #endif // __TERRALIB_GEOMETRY_INTERNAL_GEOSWRITER_H MultiPolygon is a MultiSurface whose elements are Polygons.
A Line is LineString with 2 points.
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module.
A LinearRing is a LineString that is both closed and simple.
MultiPoint is a GeometryCollection whose elements are restricted to points.
LineString is a curve with linear interpolation between points.
A point with x and y coordinate values.
An Envelope defines a 2D rectangular region.
A class that converts a TerraLib geometry to a GEOS geometry.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
MultiLineString is a MultiCurve whose elements are LineStrings.
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
Configuration flags for the Vector Geometry Model of TerraLib.
It is a collection of other geometric objects.
A base type for static classes.