[vtkusers] How to combine two polys and do a clipping on the merged poly?

pnt1614 minpu.code at gmail.com
Tue Apr 17 21:29:39 EDT 2018


I want to append 2 polys (A and B) and then use a contour to perform a
clipping on the merged poly. To do that, I generate a quad connecting A with
B and use vtkAppendPolyData to make a merged poly. After that, I use a
contour to do a clipping on the merged poly using vtkClipPolyData but there
is something wrong. Instead of the merged poly with hole, the result is one
of two original polys (A or B) with a hole.

Is there any document explaining how vtkAppendPolyData and vtkClipPolyData
work?. I also tried to check the connectivity of the merged poly using
vtkConnectivityFilter but it seems that A and B are still separated.

Is there anyone experienced this problem? Please, help me.



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


More information about the vtkusers mailing list