applyCF method
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 cf) {
for (int i = 0; i < points.size(); i++) {
cf.filter(points.getCoordinate(i));
}
}