mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 04:50:34 +05:00
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:
parent
56c59353bb
commit
d658985e69
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user