[vtkusers] Polygon difference

Paul Kibet Korir pkorir at ebi.ac.uk
Thu Oct 6 09:11:45 EDT 2016


Hi Ruben,

Do you mean 'polygon' or 'polyhedron'? Have you tried 
'vtkBooleanOperationPolyDataFilter'? There is a good example of this at 
http://www.programcreek.com/python/example/65370/vtk.vtkBooleanOperationPolyDataFilter.

I think you want the 'union' operation.

Paul


On 06/10/2016 10:53, Ruben van Staden wrote:
> Dear Readers
>
> Is there a way in VTK in which I can find the resultant difference
> polygon of two 3D crossing polygons? In other words, I want to get
> the new polygon that represent the crossing of two cubes, in 3D.
>
> Regards
> Ruben
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers

-- 
With kind regards,

*Paul K Korir, PhD*
+44 1223 49 44 22
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161006/f5a13873/attachment.html>


More information about the vtkusers mailing list