partially implemented triangulation of intersection
more implementation on triangulation of intersection