Table of Contents

Interface GeometryEditor.IGeometryEditorOperation

Namespace
NetTopologySuite.Geometries.Utilities
Assembly
NetTopologySuite.dll

A interface which specifies an edit operation for Geometries.

public interface GeometryEditor.IGeometryEditorOperation

Methods

Edit(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.

Geometry Edit(Geometry geometry, GeometryFactory factory)

Parameters

geometry Geometry

The Geometry to modify.

factory GeometryFactory

The factory with which to construct the modified Geometry (may be different to the factory of the input point).

Returns

Geometry

A new Geometry which is a modification of the input Geometry.