andMax

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

Compose this Accel object with a maximum acceleration constraint.

Return

The new Accel object.

Parameters

maxAccel

The maximum acceleration in inches per second squared.

unit

The unit of the maximum acceleration.