mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +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))
|
for (Edge edgeQ : l2.Edges(SOURCE))
|
||||||
{
|
{
|
||||||
double alpha = -1;
|
double alpha = -EPSILON;
|
||||||
double beta = -1;
|
double beta = -EPSILON;
|
||||||
IntersectionType i = intersect(edgeP, edgeQ, alpha, beta);
|
IntersectionType i = intersect(edgeP, edgeQ, alpha, beta);
|
||||||
AddIntersectionPoint(edgeP, edgeQ, i, alpha, beta);
|
AddIntersectionPoint(edgeP, edgeQ, i, alpha, beta);
|
||||||
if(i==X_INTERSECTION && (edgeP.v0->spline || edgeQ.v0->spline))
|
if(i==X_INTERSECTION && (edgeP.v0->spline || edgeQ.v0->spline))
|
||||||
|
Loading…
Reference in New Issue
Block a user