Intersection of Bezier curve segments