isGeometryCollection method

bool isGeometryCollection()

Tests whether this is an instance of a general {@link GeometryCollection}, rather than a homogeneous subclass.

@return true if this is a heterogeneous GeometryCollection

Implementation

bool isGeometryCollection() {
  return getSortIndex() == SORTINDEX_GEOMETRYCOLLECTION;
}