26#ifndef __TERRALIB_GEOMETRY_INTERNAL_GEOSREADER_H
27#define __TERRALIB_GEOMETRY_INTERNAL_GEOSREADER_H
33#ifdef TERRALIB_GEOS_ENABLED
42 class GeometryCollection;
45 class MultiLineString;
75 class TEGEOMEXPORT GEOSReader :
public te::common::Static
88 static Geometry* read(
const geos::geom::Geometry* geosGeom);
99 static Point* read(
const geos::geom::Point* geosPt);
110 static LineString* read(
const geos::geom::LineString* geosLine);
121 static LinearRing* read(
const geos::geom::LinearRing* geosRing);
132 static Polygon* read(
const geos::geom::Polygon* geosPoly);
143 static MultiPolygon* read(
const geos::geom::MultiPolygon* geosMPoly);
154 static MultiLineString* read(
const geos::geom::MultiLineString* geosMLine);
165 static MultiPoint* read(
const geos::geom::MultiPoint* geosMPt);
176 static GeometryCollection* read(
const geos::geom::GeometryCollection* geosGeomColl);
A base type for static classes.
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 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.
Namespace for the Vector Geometry module of TerraLib.
Configuration flags for the Vector Geometry Model of TerraLib.
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module.