<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi Ruben,</p>
<p>Do you mean 'polygon' or 'polyhedron'? Have you tried
'vtkBooleanOperationPolyDataFilter'? There is a good example of
this at
<a class="moz-txt-link-freetext" href="http://www.programcreek.com/python/example/65370/vtk.vtkBooleanOperationPolyDataFilter">http://www.programcreek.com/python/example/65370/vtk.vtkBooleanOperationPolyDataFilter</a>.</p>
<p> I think you want the 'union' operation.<br>
</p>
<p>Paul<br>
</p>
<br>
<div class="moz-cite-prefix">On 06/10/2016 10:53, Ruben van Staden
wrote:<br>
</div>
<blockquote
cite="mid:CA+3aMa9BuFwwseR00Nx=QMbbOQpRjqUucjQHtvjgmUqzot6V4A@mail.gmail.com"
type="cite">
<div dir="ltr">Dear Readers
<div><br>
</div>
<div>Is there a way in VTK in which I can find the resultant
difference</div>
<div>polygon of two 3D crossing polygons? In other words, I want
to get</div>
<div>the new polygon that represent the crossing of two cubes,
in 3D.</div>
<div><br>
</div>
<div>Regards</div>
<div>Ruben</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the VTK FAQ at: <a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>
Search the list archives at: <a class="moz-txt-link-freetext" href="http://markmail.org/search/?q=vtkusers">http://markmail.org/search/?q=vtkusers</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/vtkusers">http://public.kitware.com/mailman/listinfo/vtkusers</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
With kind regards,<br>
<br>
<strong>Paul K Korir, PhD</strong><br>
+44 1223 49 44 22<br>
</div>
</body>
</html>