[vtkusers] triangle - triangle intersection VTK C++

nolvis fgr at lordsofts.com
Fri Jul 21 08:34:54 EDT 2017


Changing my code from TriangleTriangleIntersect() to TrianglesIntersect(), it
seems to still give me some headache.
I am still bit confused as why it returns 0, even if triangles go in to each
other.
Am i missing something?

Picture: http://imgur.com/a/PMcRk

//1st triangle coordinates
0.0, 0.0, 0.0
5.0, 0.0, 0.0
0.0, 5.0, 0.0
//2nd triangle coordinates
10.0, 5.0, 0.0
5.0, 10.0, 0.0 
1.0, 1.0, 0.0 



--
View this message in context: http://vtk.1045678.n5.nabble.com/triangle-triangle-intersection-VTK-C-tp5744096p5744099.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list