applyGF method

void applyGF(
  1. GeometryFilter filter
)
override

Performs an operation with or on this Geometry and its subelement Geometrys (if any). Only GeometryCollections and subclasses have subelement Geometry's.

@param filter the filter to apply to this Geometry (and its children, if it is a GeometryCollection).

Implementation

void applyGF(GeometryFilter filter) {
  filter.filter(this);
  for (int i = 0; i < geometries.length; i++) {
    geometries[i].applyGF(filter);
  }
}