ofMax

open fun ofMax(maxAccel: Double, @NonNull unit: Velocity<Velocity<Distance>>): Accel

Create a new Accel object with the specified maximum acceleration.

Return

The new Accel object.

Parameters

maxAccel

The maximum acceleration constraint.

unit

The unit of the maximum acceleration.


Create a new Accel object with the specified maximum acceleration.

Return

The new Accel object.

Parameters

maxAccel

The maximum acceleration constraint.