Hello Goodwin,<br><br>Yes indeed this was initially implemented as a performance feature, for the initial purpose was picking. However it is now a limitation as we are increasingly doing topological analysis.<br><br>Thanks for having sent the link to your code, at which I will look. The case which we are looking at is that of line/triangle intersection, but the fundamentals of the issue remain the same. In fact the triangle/triangle intersection which you wrote can be viewed as a generalization of the triangle/line one.<br>
<br>Best,<br>Philippe<br><br><div class="gmail_quote">On Tue, Dec 6, 2011 at 12:58 PM, Goodwin Lawlor <span dir="ltr"><<a href="mailto:goodwin.lawlor@ucd.ie">goodwin.lawlor@ucd.ie</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Philippe,<br>
<br>
I hit this feature/bug a while back writing a collision detection filter - I presumed is was a performance feature.<br>
<br>
Have a look from line 646 here:<br>
<a href="https://github.com/glawlor/VTK/blob/collision/Graphics/vtkCollisionDetectionFilter.cxx" target="_blank">https://github.com/glawlor/<u></u>VTK/blob/collision/Graphics/<u></u>vtkCollisionDetectionFilter.<u></u>cxx</a><br>
<br>
Basically,<br>
<br>
1. Check if intersecting<br>
2. If not intersecting then edge is parallel to plane<br>
3. If two edges of triangle are parallel to plane then triangle is coplanar<br>
3. If coplanar then check if the triangles are overlapping.<br>
<br>
<br>
<br>
Hth in some way,<br>
<br>
Goodwin<br><font color="#888888">
<br>
-- <br>
Bioengineering Research Group<br>
Dept. Mechanical Engineering<br>
University College Dublin, Ireland<br>
<a href="http://www.bioengineering-research.com" target="_blank">http://www.bioengineering-<u></u>research.com</a><br>
______________________________<u></u>_________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/<u></u>listinfo/vtk-developers</a><br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br><font color="#888888">Philippe Pébay<br>Directeur de la Visualisation et du Calcul Haute Performance<br>
Kitware SAS<br>26 rue Louis Guérin<br>69100 Villeurbanne<br>France</font><br>
<font color="#888888"><a value="+33426685003">+33 (0)4.37.45.04.15</a></font><font color="#888888"><br><a href="http://www.kitware.fr/" target="_blank">http://www.kitware.fr</a></font><br>