Remove self intersections, t-junctions and duplicate edges/vertices from a planar straight line graph
Fast and robust triangle-triangle intersection test with high precision for cross and coplanar triangles based on the algorithm by Devillers & Guigue.