GEOS 3.11.1
Public Member Functions | List of all members
geos::geom::util::GeometryEditorOperation Class Referenceabstract

#include <GeometryEditorOperation.h>

Inheritance diagram for geos::geom::util::GeometryEditorOperation:
geos::geom::util::CoordinateOperation

Public Member Functions

virtual std::unique_ptr< Geometryedit (const Geometry *geometry, const GeometryFactory *factory)=0
 

Detailed Description

A interface which specifies an edit operation for Geometries.

Member Function Documentation

◆ edit()

virtual std::unique_ptr< 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.

Parameters
geometrythe Geometry to modify
factorythe factory with which to construct the modified Geometry (may be different to the factory of the input geometry)
Returns
a new Geometry which is a modification of the input Geometry

Implemented in geos::geom::util::CoordinateOperation.


The documentation for this class was generated from the following file: