mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-08-31 07:17:46 +08:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user