Motion profile velocity constraint.
Returns the maximum profile velocity at displacement s and change in displacement ds.