getGeometryN method

Geometry getGeometryN(
  1. int n
)

Returns an element {@link Geometry} from a {@link GeometryCollection} (or this, if the geometry is not a collection).

@param n the index of the geometry element @return the n'th geometry contained in this geometry

Implementation

Geometry getGeometryN(int n) {
  return this;
}