class MotionSegment
Segment of a motion profile with constant acceleration.
MotionSegment(start: MotionState, dt: Double)
Segment of a motion profile with constant acceleration.  | 
val dt: Double
time delta  | 
|
val start: MotionState
start motion state  | 
fun end(): MotionState
Returns the MotionState at the end of the segment (time dt).  | 
|
fun flipped(): MotionSegment
Returns a flipped (negated) version of the segment.  | 
|
operator fun get(t: Double): MotionState
Returns the MotionState at time t.  | 
|
fun reversed(): MotionSegment
Returns a reversed version of the segment. Note: it isn't possible to reverse a segment completely so this method only guarantees that the start and end velocities will be swapped.  | 
|
fun toString(): String |