Curve intersection based on cubic hybrid clipping | Synapse