split
Splits the current FatLine
instance into smaller segments depending on its flatness.
If the line is flat, it returns an array containing the current instance.
If the line is not flat, it divides the line into two segments based on its midpoint.
Return
An array of FatLine
instances representing the split segments of the original line.