21 #ifndef GEOS_GEOM_UTIL_GEOMETRYTRANSFORMER_H
22 #define GEOS_GEOM_UTIL_GEOMETRYTRANSFORMER_H
25 #include <geos/export.h>
26 #include <geos/geom/Coordinate.h>
27 #include <geos/geom/Geometry.h>
28 #include <geos/geom/CoordinateSequence.h>
37 class GeometryFactory;
44 class MultiLineString;
45 class GeometryCollection;
101 std::auto_ptr<Geometry> transform(
const Geometry* nInputGeom);
116 CoordinateSequence::AutoPtr createCoordinateSequence(
117 std::auto_ptr< std::vector<Coordinate> > coords);
119 virtual CoordinateSequence::AutoPtr transformCoordinates(
163 bool pruneEmptyGeometry;
170 bool preserveGeometryCollectionType;
175 bool preserveCollections;
196 #endif // GEOS_GEOM_UTIL_GEOMETRYTRANSFORMER_H
Models a collection of Polygons.
Definition: MultiPolygon.h:61
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:168
Definition: LineString.h:71
Represents a linear polygon, which may include holes.
Definition: Polygon.h:67
std::auto_ptr< Geometry > AutoPtr
An auto_ptr of Geometry.
Definition: Geometry.h:181
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:68
Represents a collection of heterogeneous Geometry objects.
Definition: GeometryCollection.h:57
Definition: MultiPoint.h:56
Models an OGC SFS LinearRing.
Definition: LinearRing.h:58
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:60
Models a collection of (}s.
Definition: MultiLineString.h:52