Compute and visualize self-intersections and intersections between two meshes

Alec Jacobson

April 26, 2014

weblog/

I add the self-intersection computation code from our winding numbers project to libigl. I made a small example (libigl/examples/intersections) that will compute and visualize all triangles participating in self-intersections in red. Here are the self-intersections of the Klein bottle:

selfintersections

I also wrote up a function to compute intersections between two meshes. Here's that same example run on two meshes:

intersections between two meshes