23#include <geos/export.h>
24#include <geos/geom/Coordinate.h>
25#include <geos/geom/Geometry.h>
26#include <geos/geom/CoordinateSequence.h>
93class GEOS_DLL GeometryTransformer {
97 GeometryTransformer();
99 virtual ~GeometryTransformer() =
default;
101 std::unique_ptr<Geometry> transform(
const Geometry* nInputGeom);
103 void setSkipTransformedInvalidInteriorRings(
bool b);
109 virtual CoordinateSequence::Ptr transformCoordinates(
130 const CircularString*
geom,
134 const CompoundCurve*
geom,
146 const CurvePolygon*
geom,
154 const MultiCurve*
geom,
158 const MultiSurface*
geom,
173 bool pruneEmptyGeometry;
180 bool preserveGeometryCollectionType;
195 bool skipTransformedInvalidInteriorRings;
198 GeometryTransformer(
const GeometryTransformer& other) =
delete;
199 GeometryTransformer& operator=(
const GeometryTransformer& rhs) =
delete;
The internal representation of a list of coordinates inside a Geometry.
Definition CoordinateSequence.h:56
Represents a collection of heterogeneous Geometry objects.
Definition GeometryCollection.h:51
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition GeometryFactory.h:72
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:201
std::unique_ptr< Geometry > Ptr
An unique_ptr of Geometry.
Definition Geometry.h:214
Definition LineString.h:66
Models an OGC SFS LinearRing. A LinearRing is a LineString which is both closed and simple.
Definition LinearRing.h:54
Models a collection of LineStrings.
Definition MultiLineString.h:49
Definition MultiPoint.h:50
Definition MultiPolygon.h:57
Represents a linear polygon, which may include holes.
Definition Polygon.h:61
Provides classes that parse and modify Geometry objects.
Definition ComponentCoordinateExtracter.h:28
Basic namespace for all GEOS functionalities.
Definition geos.h:38