20#ifndef GEOS_GEOM_UTIL_GEOMETRYTRANSFORMER_H
21#define GEOS_GEOM_UTIL_GEOMETRYTRANSFORMER_H
24#include <geos/export.h>
25#include <geos/geom/Coordinate.h>
26#include <geos/geom/Geometry.h>
27#include <geos/geom/CoordinateSequence.h>
92class GEOS_DLL GeometryTransformer {
96 GeometryTransformer();
98 virtual ~GeometryTransformer();
100 std::auto_ptr<Geometry> transform(
const Geometry* nInputGeom);
102 void setSkipTransformedInvalidInteriorRings(
bool b);
118 std::auto_ptr< std::vector<Coordinate> > coords);
120 virtual CoordinateSequence::AutoPtr transformCoordinates(
164 bool pruneEmptyGeometry;
171 bool preserveGeometryCollectionType;
176 bool preserveCollections;
186 bool skipTransformedInvalidInteriorRings;
189 GeometryTransformer(
const GeometryTransformer& other);
190 GeometryTransformer& operator=(
const GeometryTransformer& rhs);
The internal representation of a list of coordinates inside a Geometry.
Definition CoordinateSequence.h:59
Represents a collection of heterogeneous Geometry objects.
Definition GeometryCollection.h:56
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition GeometryFactory.h:67
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:167
std::auto_ptr< Geometry > AutoPtr
An auto_ptr of Geometry.
Definition Geometry.h:180
Definition LineString.h:70
Models an OGC SFS LinearRing.
Definition LinearRing.h:57
Models a collection of (}s.
Definition MultiLineString.h:51
Definition MultiPoint.h:56
Models a collection of Polygons.
Definition MultiPolygon.h:61
Represents a linear polygon, which may include holes.
Definition Polygon.h:67
Provides classes that parse and modify Geometry objects.
Definition ComponentCoordinateExtracter.h:30
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25