Class GeometryEditor.CoordinateOperation
A GeometryEditorOperation which edits the coordinate list of a Geometry.
Operates on Geometry subclasses which contains a single coordinate list.
Implements
Inherited Members
Namespace: NetTopologySuite.Geometries.Utilities
Assembly: NetTopologySuite.dll
Syntax
public abstract class GeometryEditor.CoordinateOperation : GeometryEditor.IGeometryEditorOperation
Methods
| Edit this page View SourceEdit(Coordinate[], Geometry)
Edits the array of Coordinates from a Geometry.
Declaration
public abstract Coordinate[] Edit(Coordinate[] coordinates, Geometry geometry)
Parameters
| Type | Name | Description |
|---|---|---|
| Coordinate[] | coordinates | The coordinate array to operate on. |
| Geometry | geometry | The point containing the coordinate list. |
Returns
| Type | Description |
|---|---|
| Coordinate[] | An edited coordinate array (which may be the same as the input). |
Edit(Geometry, GeometryFactory)
Declaration
public Geometry Edit(Geometry geometry, GeometryFactory factory)
Parameters
| Type | Name | Description |
|---|---|---|
| Geometry | geometry | |
| GeometryFactory | factory |
Returns
| Type | Description |
|---|---|
| Geometry |