Could we use dtIntersectSegSeg2D() instead?