Check if two Bézier paths overlap