intersect triangle with segment