GeomAPI_Shape::ShapeType aType = GeomAPI_Shape::COMPOUND;
for (; aType <= GeomAPI_Shape::VERTEX; aType = GeomAPI_Shape::ShapeType((int)aType + 1)) {
GeomAPI_ShapeExplorer anExp(theShape, aType);
GeomAPI_Shape::ShapeType aType = GeomAPI_Shape::COMPOUND;
for (; aType <= GeomAPI_Shape::VERTEX; aType = GeomAPI_Shape::ShapeType((int)aType + 1)) {
GeomAPI_ShapeExplorer anExp(theShape, aType);