don't do own Newton for finding OCC u/v parameters (e.g. a problem for parameter domain for a sphere

This commit is contained in:
Joachim Schoeberl 2021-08-11 21:57:22 +02:00
parent 56c59353bb
commit d658985e69

View File

@ -369,6 +369,9 @@ namespace netgen
double u = gi.u;
double v = gi.v;
#ifdef OLD
// was a problem for pheres: got u-v paramters outside range of definition
gp_Pnt x = occface->Value (u,v);
if (p.SquareDistance(x) <= sqr(PROJECTION_TOLERANCE)) return;
@ -418,7 +421,7 @@ namespace netgen
}
}
while (count < 20);
#endif
// Newton did not converge, use OCC projection