step

fun step(stepTime: Duration = Duration.ZERO, value: Double = 1.0): Real

Creates a real profile step function.

The result will be 0 on the interval [Duration.MIN_VALUE, stepTime), then will be value on the interval [stepTime, Duration.MAX_VALUE].

Parameters

stepTime

time the step occurs (default Duration.ZERO)

value

value the function steps to (default 1.0)