Coding - Rework of Math global functions to stl (#833)

Majority of functions now simply call same functions from std namespace.
Functions that duplicate std namespace functionality are declared
deprecated.
Calls of deprecated functions are replaced with std functions calls.
This commit is contained in:
Dmitrii Kulikov
2025-11-17 14:20:24 +00:00
committed by GitHub
parent 1a246afa2e
commit c479f6e000
1205 changed files with 12672 additions and 11286 deletions
@@ -56,7 +56,7 @@ GeomAbs_Shape BRepLProp::Continuity(const BRepAdaptor_Curve& C1,
{
throw Standard_Failure("Courbes non jointives");
}
Standard_Integer min = Min(n1, n2);
Standard_Integer min = std::min(n1, n2);
if (min >= 1)
{
d1 = clp1.D1();
@@ -71,7 +71,7 @@ gp_Vec BRepLProp_SurfaceTool::DN(const BRepAdaptor_Surface& S,
Standard_Integer BRepLProp_SurfaceTool::Continuity(const BRepAdaptor_Surface& S)
{
GeomAbs_Shape s = (GeomAbs_Shape)Min(S.UContinuity(), S.VContinuity());
GeomAbs_Shape s = std::min(S.UContinuity(), S.VContinuity());
switch (s)
{
case GeomAbs_C0: