checkValidGC method

void checkValidGC(
  1. GeometryCollection gc
)

Implementation

void checkValidGC(GeometryCollection gc) {
  for (int i = 0; i < gc.getNumGeometries(); i++) {
    Geometry g = gc.getGeometryN(i);
    checkValid(g);
    if (validErr != null) return;
  }
}