from
Splits a given 2D curve into multiple intervals based on its inflection points.
If there are no inflection points, the entire curve is returned as a single interval. Otherwise, the curve is divided into intervals, where each interval spans from one parametric boundary to the next.
Return
an array of CurveInterval objects, representing the segments of the curve between inflection points
Parameters
c
the input curve to be divided into intervals