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) {
  shell!.applyCSF(filter);
  if (!filter.isDone()) {
    for (int i = 0; i < holes!.length; i++) {
      holes![i].applyCSF(filter);
      if (filter.isDone()) break;
    }
  }
  if (filter.isGeometryChanged()) geometryChanged();
}