[vtkusers] How to triangulate two non-intersecting polylines, now in 3D

normanius juch at zhaw.ch
Mon Mar 5 16:29:31 EST 2018


The contour triangulator that was suggested in my previous post operates only
in 2D. So one solution to this problem that came to my mind is that the
contours need to be projected into the same plane where the contour
triangulation is performed. Then, only the edges from contour need to be
"transferred" into a common polydata object. (All this works only if the
contours are lying in parallel planes, which is the case for me.)

In simplified code, this would read as



However, this does not work robustly, as shown in this screenshot...

<http://vtk.1045678.n5.nabble.com/file/t341102/Screen_Shot_2018-03-05_at_22.png> 



--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html


More information about the vtkusers mailing list