Edits the array of
Coordinates 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.
-
Parameters:
-
coordinates - coordinates the coordinate array to operate on
-
geometry - geometry the geometry containing the coordinate list
-
Returns:
-
an edited coordinate array (which may be the same as the input)