private class SimpleGeometryPrecisionReducer.PrecisionReducerCoordinateOperation extends GeometryEditor.CoordinateOperation
| Modifier | Constructor and Description |
|---|---|
private |
PrecisionReducerCoordinateOperation() |
| Modifier and Type | Method and Description |
|---|---|
Coordinate[] |
edit(Coordinate[] coordinates,
Geometry geom)
Edits the array of
Coordinates from a Geometry. |
editprivate PrecisionReducerCoordinateOperation()
public Coordinate[] edit(Coordinate[] coordinates, Geometry geom)
GeometryEditor.CoordinateOperationCoordinates from a Geometry.
If it is desired to preserve the immutability of Geometrys, if the coordinates are changed a new array should be created and returned.
edit in class GeometryEditor.CoordinateOperationcoordinates - the coordinate array to operate ongeom - the geometry containing the coordinate list