MotionState

class MotionState(val x: Double, val v: Double, val a: Double)

Constructors

Link copied to clipboard
constructor(x: Double, v: Double, a: Double)

Properties

Link copied to clipboard
val a: Double
Link copied to clipboard
val v: Double
Link copied to clipboard
val x: Double

Functions

Link copied to clipboard
operator fun get(t: Double): MotionState

Returns the MotionState at time t with constant acceleration.

Link copied to clipboard

Returns the state at t=0 with velocity and acceleration zeroed.

Link copied to clipboard
open override fun toString(): String