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

Nicholas I. Walker NWalker at herbert-abs.com
Thu Aug 9 19:42:33 EDT 2012


Thanks Gonzalo,

Unfortunately, since I am using VTK 5.8 (I believe this is the latest supported through Activiz.NET), I can't use vtkBooleanOperationPolyDataFilter... Is there another way, or am I out of luck...

Nick

From: Gonzalo Amadio [mailto:gonzaloamadio at gmail.com]
Sent: Thursday, August 09, 2012 4:38 PM
To: Nicholas I. Walker
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] clipping 2D polygon with another 2D polygon

This can help you?

http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/BooleanOperationPolyDataFilter
2012/8/10 nwalker <nwalker at herbert-abs.com<mailto: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<http://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/20120809/e5b53f18/attachment.htm>


More information about the vtkusers mailing list