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
Copy file name to clipboardExpand all lines: Sofa/Component/Topology/Container/Dynamic/src/sofa/component/topology/container/dynamic/TriangleSetGeometryAlgorithms.inl
if (tmp_intersectedEdges.size() != 1) // only one edge should be intersected to find the next edge in cut direction
1995
+
if (tmp_intersectedEdges.empty()) // intersection stay inside the first triangle
1996
+
{
1997
+
triangles_list.push_back(current_triID);
1998
+
break;
1999
+
}
2000
+
elseif (tmp_intersectedEdges.size() != 1) // only one edge should be intersected to find the next edge in cut direction
1996
2001
{
1997
2002
msg_error() << "Impossible to determine cut direction at start due to snapping. Between input segment A: " << ptA << " - B: " << ptB << " and triangle: " << current_triID;
0 commit comments