applyGCF method

void applyGCF(
  1. GeometryComponentFilter filter
)
override

Performs an operation with or on this Geometry and its component Geometry's. Only GeometryCollections and Polygons have component Geometry's; for Polygons they are the LinearRings of the shell and holes.

@param filter the filter to apply to this Geometry.

Implementation

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