Geometry[] gs = new Geometry[1];
gs[0] = shape.getGeometry();
gc = shape.getGeometry().getFactory().createGeometryCollection(
gs); // make a Point,Line, or Poly into a GC
}
GeomCollectionIterator citer = new GeomCollectionIterator(gc,
IDENTITY_TRANSFORM, false, 1.0);
return citer;
}