Skip to content
Snippets Groups Projects
Commit b966b4bb authored by Wendy Merks-Swolfs's avatar Wendy Merks-Swolfs
Browse files

It might happen that in the first round (when i is zero), d < lc * .3 and so...

It might happen that in the first round (when i is zero), d < lc * .3 and so v0 is still the begin point of the edge. If then v0->getParameter(0, t0); is called, it will always fill in t0 and return false (which is not caught here). When the edge has bounds which do not start at 0, the value of t0 is not correct. This issue is now fixed by projecting the node back on the edge if the node is on a point instead of the edge.
parent 16332562
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment