andMax

open fun andMax(maxVel: Double, @NonNull unit: Velocity<Distance>): Vel

Compose this Vel object with a maximum translation velocity constraint.

Return

The new Vel object.

Parameters

maxVel

The maximum translation velocity.

unit

The unit of the maximum translation velocity.