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());
-
+ ModuleBase_Tools::setDefaultDeviationCoefficient(myOriginalShape, Attributes());
AIS_Shape::Compute(thePresentationManager, thePresentation, theMode);
-
- //aDrawer->SetDeviationCoefficient(aPrevDeviation);
}
}