#include <GeometryEditorOperation.h>
Public Member Functions | |
virtual Geometry * | edit (const Geometry *geometry, const GeometryFactory *factory)=0 |
A interface which specifies an edit operation for Geometries.
virtual Geometry* geos::geom::util::GeometryEditorOperation::edit | ( | const Geometry * | geometry, | |
const GeometryFactory * | factory | |||
) | [pure virtual] |
Edits a Geometry by returning a new Geometry with a modification. The returned Geometry might be the same as the Geometry passed in.
geometry | the Geometry to modify | |
factory | the factory with which to construct the modified Geometry (may be different to the factory of the input geometry) |
Implemented in geos::geom::util::CoordinateOperation.