[vtkusers] clipping 2D polygon with another 2D polygon
Cory Quammen
cquammen at cs.unc.edu
Thu Aug 9 21:47:29 EDT 2012
Even if you could use 5.10, the vtkBooleanOperationPolyDataFilter
class doesn't support 2D boolean operations. It wouldn't be impossible
to add, but there are no plans yet that I know of to support this.
I should really add a note about this limitation to the documentation...
- Cory
On Thu, Aug 9, 2012 at 7:42 PM, Nicholas I. Walker
<NWalker at herbert-abs.com> wrote:
> 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>
>
> 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
>
>
> _______________________________________________
> 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
>
--
Cory Quammen
Research Associate
Department of Computer Science
The University of North Carolina at Chapel Hill
More information about the vtkusers
mailing list