public abstract static class GeometryEditor.CoordinateSequenceOperation extends Object implements GeometryEditor.GeometryEditorOperation
GeometryEditor.GeometryEditorOperation which edits the CoordinateSequence
of a Geometry.
Operates on Geometry subclasses which contains a single coordinate list.| Constructor and Description |
|---|
CoordinateSequenceOperation() |
| Modifier and Type | Method and Description |
|---|---|
abstract CoordinateSequence |
edit(CoordinateSequence coordSeq,
Geometry geometry)
Edits a
CoordinateSequence from a Geometry. |
Geometry |
edit(Geometry geometry,
GeometryFactory factory)
Edits a Geometry by returning a new Geometry with a modification.
|
public final Geometry edit(Geometry geometry, GeometryFactory factory)
GeometryEditor.GeometryEditorOperationnull if the geometry is to be deleted.
edit in interface GeometryEditor.GeometryEditorOperationgeometry - the Geometry to modifyfactory - the factory with which to construct the modified Geometry
(may be different to the factory of the input geometry)public abstract CoordinateSequence edit(CoordinateSequence coordSeq, Geometry geometry)
CoordinateSequence from a Geometry.coordSeq - the coordinate array to operate ongeometry - the geometry containing the coordinate listCopyright © 2024. All rights reserved.