I have to create a tool to segment a mesh.
Now I defined some picking points (yellow points) on the mesh and I
calculate the intersections on every edge of the triangles along the
red line
which represents the line of cut.
This two link represents examples about two differences cases.
// define a cutting path in red (case 1 and case 2)
https://picasaweb.google.com/107455303756077315255/CG#5727827281735489842
// define segmented region (case 1 and case 2)
https://picasaweb.google.com/107455303756077315255/CG#5727828782346749746
How can I triangulate the case 1? The hatched region is the region
should be segmented.
The case 2 is more complicated, there are two regions should be
segmented and they share a part of the line of cut.
Any idea about algorithms to triangulate similar region?
Thanks in advance.