Interface GeometryEditor.IGeometryEditorOperation
A interface which specifies an edit operation for Geometries.
Namespace: NetTopologySuite.Geometries.Utilities
Assembly: NetTopologySuite.dll
Syntax
public interface IGeometryEditorOperation
Methods
| Improve this Doc View SourceEdit(Geometry, GeometryFactory)
Edits a Geometry by returning a new Geometry with a modification.
The returned Geometry may be the input geometry itself.
It may be null
if the geometry is to be deleted.
Declaration
Geometry Edit(Geometry geometry, GeometryFactory factory)
Parameters
Type | Name | Description |
---|---|---|
Geometry | geometry | The Geometry to modify. |
GeometryFactory | factory | The factory with which to construct the modified Geometry (may be different to the factory of the input point). |
Returns
Type | Description |
---|---|
Geometry | A new Geometry which is a modification of the input Geometry. |