[vtkusers] clipping 2D polygon with another 2D polygon

Gonzalo Amadio gonzaloamadio at gmail.com
Thu Aug 9 19:37:46 EDT 2012


This can help you?

http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/BooleanOperationPolyDataFilter


2012/8/10 nwalker <nwalker at herbert-abs.com>

> I've been searching on a way to perform boolean operations on 2D polygons,
> but am having trouble finding a solution.
>
> If I were to have two 2D polygons that overlap, is there a way I can clip
> away the overlap portion from one of the polygons? Will vtkPolygon::Clip
> work for this? The vtkCell API description for the Clip method was rather
> confusing...
>
> Thanks in advance for any help,
> Nick
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/clipping-2D-polygon-with-another-2D-polygon-tp5715189.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



-- 
--------
Gonzalo Amadio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120810/8e264938/attachment.htm>


More information about the vtkusers mailing list