1
0
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:
kgv
2017-06-06 15:30:19 +03:00
committed by bugmaster
parent e57aedeb26
commit 09324e85c8
111 changed files with 224 additions and 590 deletions

View File

@@ -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();
}