split

abstract fun split(t: Double): Array<out BezierSegment<T>>(source)

Splits the path into one or two parts, depending on if the cut was successful.

Return

An array of parts, depending on the split point this is one or two entries long.

Parameters

t

The point at which to split the Segment2D at.