|Constructor and Description|
|Modifier and Type||Method and Description|
Edits a Geometry by returning a new Geometry with a modification.
public final Geometry edit(Geometry geometry, GeometryFactory factory)
nullif the geometry is to be deleted.
geometry- the Geometry to modify
factory- the factory with which to construct the modified Geometry (may be different to the factory of the input geometry)
public abstract Coordinate edit(Coordinate coordinates, Geometry geometry)
Coordinates from a
If it is desired to preserve the immutability of Geometrys, if the coordinates are changed a new array should be created and returned.
coordinates- the coordinate array to operate on
geometry- the geometry containing the coordinate list
Copyright © 2020. All rights reserved.