[vtkusers] Overlapping triangles

Sebastien Jourdain sebastien.jourdain at kitware.com
Mon Aug 6 11:20:39 EDT 2018


Faces can be triangles/quad/poly... Since they are based on point index.
The way you generate your hash should be based on a sorted list of those
ids.

On Mon, Aug 6, 2018 at 9:07 AM marf <marvin.huber at basf.com> wrote:

> Ok, I came up with a first idea, but am still open to suggestions since I
> really don't know if it works. The idea being:
> For each triangle, take the centerpoint of its hypotenuse as a hash, and
> put
> all triangles with the same hash together, then, check these triangles for
> overlap, in my example all four triangles should have this same hash and
> checking them against each other should not be to much work. Maybe I can
> even assume, that since there are more then 2 triangles sharing this hash,
> they are to be thrown out, but since it is 3D, this might only work for my
> given example.
>
>
>
> --
> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
> _______________________________________________
> 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:
> https://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180806/e1b854aa/attachment.html>


More information about the vtkusers mailing list