cancel

Cancels the composite trajectory at the given displacement, returning a new trajectory starting from that point.

Return

A new DisplacementTrajectory representing the remaining trajectory.

Parameters

s

The displacement at which to cancel.