slyphix/MeshIntersectionVolume

Possible to get wether two meshes are intersecting or not ?? ( dont want to compute further ) )

Closed this issue · 2 comments

Is it possible to just get if two meshes are intersecting or not , i dont need common volume , just 1 or 0 intersecting or not??

Sorry for the late reply. It is absolutely possible, but not using the provided interface. Since you do not need the actual intersection volume, you can just test all triangle pairs for intersections. If that fails you can test if one mesh is fully contained within the other. Most of the code structure will be the same, so feel free to fork and modify the code.

OH WOW WHAT a rare SLYPHIX-REPLY???
Pack it up bois, we done here.