mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-18 14:27:39 +03:00
0023547: Tests failures in debug mode
1. DRAW-commands for curve/surface continuity returning were changed. 2. Output of "distmini" DRAW-command is amended. 3. Function MinMax() was moved from Standard_Real to IntPatch_ImpImpIntersection_4.gxx. 4. Incorrect computing of nbcurveC1 in Geom2dConvert::C0BSplineToC1BSplineCurve(...) function was liquidated. Test cases were changed.
This commit is contained in:
@@ -30,6 +30,21 @@ static
|
||||
const gp_Cylinder& Cy2,
|
||||
const Standard_Real Tol);
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
// MinMax : Replaces theParMIN = MIN(theParMIN, theParMAX),
|
||||
// theParMAX = MAX(theParMIN, theParMAX).
|
||||
// ------------------------------------------------------------------
|
||||
static inline void MinMax(Standard_Real& theParMIN, Standard_Real& theParMAX)
|
||||
{
|
||||
if(theParMIN > theParMAX)
|
||||
{
|
||||
const Standard_Real aux = theParMAX;
|
||||
theParMAX = theParMIN;
|
||||
theParMIN = aux;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : ProcessBounds
|
||||
//purpose :
|
||||
|
Reference in New Issue
Block a user