sub

fun sub(t0: Double, t1: Double): Segment

Samples a new Segment from the current Segment starting at t0 and ending at t1.

Parameters

t0

The starting value of t in the range of 0.0 to 1.0.

t1

The ending value of t in the range of 0.0 to 1.0.