mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 04:50:34 +05:00
Fix starting point for intersection searching
This commit is contained in:
parent
6b41cdac9f
commit
b431a07c74
@ -804,8 +804,8 @@ void ComputeIntersections(Edge edgeP , Loop & l2)
|
||||
{
|
||||
for (Edge edgeQ : l2.Edges(SOURCE))
|
||||
{
|
||||
double alpha = -1;
|
||||
double beta = -1;
|
||||
double alpha = -EPSILON;
|
||||
double beta = -EPSILON;
|
||||
IntersectionType i = intersect(edgeP, edgeQ, alpha, beta);
|
||||
AddIntersectionPoint(edgeP, edgeQ, i, alpha, beta);
|
||||
if(i==X_INTERSECTION && (edgeP.v0->spline || edgeQ.v0->spline))
|
||||
|
Loading…
Reference in New Issue
Block a user