- theHistory.clear();
- if(myDone) {
- const TopTools_ListOfShape& aList = implPtr<BRepPrimAPI_MakePrism>()
- ->Generated(theShape->impl<TopoDS_Shape>());
- TopTools_ListIteratorOfListOfShape it(aList);
- for(;it.More();it.Next()) {
- boost::shared_ptr<GeomAPI_Shape> aShape(new GeomAPI_Shape());
- aShape->setImpl(&(it.Value()));
- theHistory.push_back(aShape);
- }
- }