mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
Changes for OCC 6.5
This commit is contained in:
parent
204e29ed86
commit
682983901f
@ -243,8 +243,8 @@ static void PutInBounds (const TopoDS_Face& F,
|
||||
Standard_Integer i, nbExt = anExtPS.NbExt();
|
||||
Extrema_POnSurf aPOnSurf;
|
||||
for (i = 1; i <= nbExt; ++i )
|
||||
if (anExtPS.Value( i ) <= TolE) // V6.3
|
||||
// if (anExtPS.SquareDistance( i ) <= TolE) // V6.5
|
||||
// if (anExtPS.Value( i ) <= TolE) // V6.3
|
||||
if (anExtPS.SquareDistance( i ) <= TolE) // V6.5
|
||||
{
|
||||
aPOnSurf = anExtPS.Point( i );
|
||||
break;
|
||||
|
@ -69,6 +69,10 @@
|
||||
static char* name = new char[100];
|
||||
static int nbe = 0;
|
||||
|
||||
#ifdef WIN32
|
||||
#define M_PI 3.14159265358979323846
|
||||
#endif
|
||||
|
||||
//=======================================================================
|
||||
//function : Partition_Loop
|
||||
//purpose :
|
||||
|
@ -1169,8 +1169,8 @@ static void findEqual (const TopTools_ListOfShape& EL1,
|
||||
for (; j<=nbj && ok; ++j) {
|
||||
if (Extrema.IsMin(j)) {
|
||||
hasMin = Standard_True;
|
||||
ok = Extrema.Value(j) <= tol; // V6.3
|
||||
// ok = Extrema.SquareDistance(j) <= tol; // V6.5
|
||||
// ok = Extrema.Value(j) <= tol; // V6.3
|
||||
ok = Extrema.SquareDistance(j) <= tol; // V6.5
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user