GeometryCollectionIterator constructor
GeometryCollectionIterator(
- Geometry parent
Constructs an iterator over the given Geometry
.
@param parent the geometry over which to iterate; also, the first element returned by the iterator.
Implementation
GeometryCollectionIterator(Geometry parent) {
this.parent = parent;
atStart = true;
index = 0;
max = parent.getNumGeometries();
}