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 (isEmpty()) return;
  filter.filter(coordinates!, 0);
  if (filter.isGeometryChanged()) geometryChanged();
}