mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0031424: Visualization - stop using Prs3d_Drawer::HLRAngle() parameter
Prs3d_Drawer, AIS_Shape, AIS_InteractiveContext - removed properties HLRDeviationCoefficient() and HLRAngle(). Prs3d_Drawer::HLRAngle() is kept as alias to Prs3d_Drawer::DeviationAngle() with deprecated flag. Prs3d_Drawer::DeviationAngle() default value is changed from 12 to 20 degrees to match Prs3d_Drawer::HLRAngle() which has been previously used in majority of cases. Removed unused property HLRBRep_PolyAlgo::Angle().
This commit is contained in:
@@ -262,7 +262,7 @@ bool OcctViewer::ImportSTEP(std::string theFilename)
|
||||
{
|
||||
BRepMesh_IncrementalMesh anAlgo;
|
||||
anAlgo.ChangeParameters().Deflection = aDeflection;
|
||||
anAlgo.ChangeParameters().Angle = aDrawer->HLRAngle();
|
||||
anAlgo.ChangeParameters().Angle = aDrawer->DeviationAngle();
|
||||
anAlgo.ChangeParameters().InParallel = Standard_True;
|
||||
anAlgo.SetShape (aCompound);
|
||||
anAlgo.Perform();
|
||||
|
Reference in New Issue
Block a user