mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-09-05 04:07:58 +08: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:
@@ -57,7 +57,6 @@ void DBRep_HideData::Set(const Standard_Integer viewID,
|
||||
myAngle = ang;
|
||||
|
||||
Handle(HLRBRep_PolyAlgo) hider = new HLRBRep_PolyAlgo(S);
|
||||
hider->Angle(ang);
|
||||
hider->Projector(HLRAlgo_Projector(myTrsf,myFocal > 0.,myFocal));
|
||||
hider->Update();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user