segment

open fun segment(ut: Double): Pair<Int, Double>(source)

Returns segment number and segment offset in a ShapeContour for the given ut.

Parameters

ut

unfiltered t parameter, will be clamped between 0.0 and 1.0.