editCoords abstract method
Edits the array of {@link Coordinate}s from a {@link Geometry}.
If it is desired to preserve the immutability of Geometrys, if the coordinates are changed a new array should be created and returned.
@param coordinates the coordinate array to operate on @param geometry the geometry containing the coordinate list @return an edited coordinate array (which may be the same as the input)
Implementation
List<Coordinate> editCoords(List<Coordinate> coordinates, Geometry geometry);