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;
182 static geos::geom::LineSegment*
write(
const Line* teLine);
A base type for static classes.
An Envelope defines a 2D rectangular region.
A class that converts a TerraLib geometry to a GEOS geometry.
static geos::geom::LineSegment * write(const Line *teLine)
static geos::geom::LineString * write(const LineString *teLine)
It converts the TerraLib line string to a GEOS line string.
static geos::geom::GeometryCollection * write(const GeometryCollection *teGeomColl)
It converts the TerraLib geometry collection to a GEOS geometry collection.
static geos::geom::LinearRing * write(const LinearRing *teRing)
It converts the TerraLib linear ring to a GEOS linear ring.
static geos::geom::Polygon * write(const Polygon *tePoly)
It converts the TerraLib polygon to a GEOS polygon.
static geos::geom::MultiPolygon * write(const MultiPolygon *teMPoly)
It converts the TerraLib multi polygon to a GEOS multi polygon.
static geos::geom::Point * write(const Point *tePt)
It converts the TerraLib point to a GEOS point.
static geos::geom::MultiPoint * write(const MultiPoint *teMPt)
It converts the TerraLib multi point to a GEOS multi point.
static geos::geom::Geometry * write(const Geometry *teGeom)
It reads a TerraLib geometry and make a GEOS geometry.
static geos::geom::Envelope * write(const Envelope *teEnv)
It converts the TerraLib Geometry Envelope to a GEOS Envelope.
static geos::geom::CoordinateSequence * getCoordinateSequence(const LineString *teLine)
It creates a coordinate sequence from the input TerraLib line string (or TerraLib linear ring).
static std::vector< geos::geom::Geometry * > * getGeometries(const GeometryCollection *teGeomColl)
It creates a vector of GEOS geometry from the input TerraLib geometry collection.
static geos::geom::MultiLineString * write(const MultiLineString *teMLine)
It converts the TerraLib multi line string to a GEOS multi line string.
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.
A Line is LineString with 2 points.
A LinearRing is a LineString that is both closed and simple.
MultiLineString is a MultiCurve whose elements are LineStrings.
MultiPoint is a GeometryCollection whose elements are restricted to points.
MultiPolygon is a MultiSurface whose elements are Polygons.
A point with x and y coordinate values.
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
#define TEGEOMEXPORT
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).