applyCF method

void applyCF(
  1. CoordinateFilter filter
)
override

Performs an operation with or on this Geometry's coordinates. If this method modifies any coordinate values, {@link #geometryChanged} must be called to update the geometry state. Note that you cannot use this method to modify this Geometry if its underlying CoordinateSequence's #get method returns a copy of the Coordinate, rather than the actual Coordinate stored (if it even stores Coordinate objects at all).

@param filter the filter to apply to this Geometry's coordinates

Implementation

void applyCF(CoordinateFilter filter) {
  for (int i = 0; i < geometries.length; i++) {
    geometries[i].applyCF(filter);
  }
}