applyCSF method

void applyCSF(
  1. CoordinateSequenceFilter filter
)
override

Performs an operation on the coordinates in this Geometry's {@link CoordinateSequence}s. If the filter reports that a coordinate value has been changed, {@link #geometryChanged} will be called automatically.

@param filter the filter to apply

Implementation

void applyCSF(CoordinateSequenceFilter filter) {
  if (geometries.length == 0) return;
  for (int i = 0; i < geometries.length; i++) {
    geometries[i].applyCSF(filter);
    if (filter.isDone()) {
      break;
    }
  }
  if (filter.isGeometryChanged()) geometryChanged();
}