mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0028799: Coding Rules - elimilate confusing Quantity aliases of Standard_Real type
Aliases to Standard_Real within Quantity package have been marked as deprecated.
This commit is contained in:
@@ -164,7 +164,7 @@ void BRepFeat_MakeRevolutionForm::Init(const TopoDS_Shape& Sbase,
|
||||
Handle(Geom_Curve) c = BRep_Tool::Curve(e, f, l);
|
||||
Handle(Geom2d_Curve) c2d = GeomAPI::To2d(c, Plane->Pln());
|
||||
Geom2dAPI_ExtremaCurveCurve extr(ln2d, c2d, LineFirst, LineLast,f,l);
|
||||
Quantity_Length L = RealLast();
|
||||
Standard_Real L = RealLast();
|
||||
if(extr.NbExtrema() >= 1) {
|
||||
L = extr.LowerDistance();
|
||||
}
|
||||
|
Reference in New Issue
Block a user