You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The coupling point removal algorithm relies on the idea that if a point is found in front of the tip, this indicates that the needle is retreating and the point should be removed from m_couplingPts. This video shows a more extreme case where the needle did not exit properly:
25-08-13-InsertionExitBug.mp4
In such a case, m_couplingPts will not be empty while the needle is outside the volume. Because of this, collision detection is disabled and the needle gets instantly attached to the coupling points.
A more global approach should be followed to completely restart the algorithm if the needle is outside the body.