16 #ifndef GEOS_GEOM_UTIL_COORDINATEOPERATION_H
17 #define GEOS_GEOM_UTIL_COORDINATEOPERATION_H
19 #include <geos/export.h>
20 #include <geos/geom/util/GeometryEditorOperation.h>
26 class CoordinateSequence;
27 class GeometryFactory;
41 class GEOS_DLL CoordinateOperation:
public GeometryEditorOperation {
48 std::unique_ptr<Geometry> edit(
const Geometry* geometry,
49 const GeometryFactory* factory)
override;
59 virtual std::unique_ptr<CoordinateSequence> edit(
const CoordinateSequence* coordinates,
60 const Geometry* geometry) = 0;
63 ~CoordinateOperation()
override =
default;