+ myFacesList.clear();
+ ResultConstructionPtr aConstruction =
+ std::dynamic_pointer_cast<ModelAPI_ResultConstruction>(myResult);
+ if (aConstruction.get()) {
+ int aFacesNum = aConstruction->facesNum();
+ for(int aFaceIndex = 0; aFaceIndex < aFacesNum; aFaceIndex++) {
+ myFacesList.push_back(aConstruction->face(aFaceIndex));
+ }
+ }
+ }
+ myOriginalShape = aShapePtr->impl<TopoDS_Shape>();
+ if (!myOriginalShape.IsNull()) {
+ Set(myOriginalShape);
+
+ // change deviation coefficient to provide more precise circle
+ Handle(Prs3d_Drawer) aDrawer = Attributes();
+ Standard_Real aPrevDeviation = aDrawer->DeviationCoefficient();
+ //aDrawer->SetDeviationCoefficient(ModuleBase_Tools::defaultDeviationCoefficient());
+
+ AIS_Shape::Compute(thePresentationManager, thePresentation, theMode);
+
+ //aDrawer->SetDeviationCoefficient(aPrevDeviation);