split

open override fun split(t: Double): Array<Segment2D>(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.