split
Splits the current curve interval into two sub-intervals.
If the interval is flat, it will return an array containing the interval itself. Otherwise, it calculates a midpoint based on the parametric range and position, creating two new sub-intervals and returning them.
Return
an array of two sub-intervals if the interval is not flat, or a single-element array containing the current interval if it is flat.