[vtkusers] Check if vtkPolyData objects intersect

Chiranjib Sur sur.chiranjib at gmail.com
Thu Jun 22 06:00:15 EDT 2017


I don't think there is something like this available as a solution.
However, this example might help you
http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/PointInsideObject

If you know the vtk points from your polydata, you will be able to find out
if they are inside or outside the region.

Hope that helps.

Chiranjib

On Fri, Jun 9, 2017 at 11:57 PM, Maximilian Weiherer <
weiherer.maximilian at gmx.de> wrote:

> Hi all,
>
>
>
> how to check if two vtkPolyData objects intersect? I tried vtkIntersectionPolyDataFilter
> but this gives me an error if no intersection is found. What I need is just
> a boolean value whether or not two meshes intersect.
>
>
>
> Any suggestions would be appreciated. Thanks!
>
>
>
>
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> Virenfrei.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
> <#m_3394299955697868826_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170622/c57c3a83/attachment.html>


More information about the vtkusers mailing list