fn add_point_curve_intersection<S: Scalar>(
pt_curve: &CubicBezierSegment<S>,
pt_curve_is_curve1: bool,
curve: &CubicBezierSegment<S>,
pt_domain: &Range<S>,
curve_domain: &Range<S>,
intersections: &mut ArrayVec<(S, S), 9>,
flip: bool,
)