ball.moment.unbal

Syntax

Vector Access

v = ball.moment.unbal(b<,i>)

Get the ball unbalanced moment.

Returns:

v - ball unbalanced moment vector or component

Arguments:

b - ball pointer

i - Optional vector component that ranges from {3 to 3 in 2D; 1 to 3 in 3D}.

Component Access

f = ball.moment.unbal.x(b) (3D ONLY)

Get the x-component of the ball unbalanced moment.

Returns:f - x-component of the ball unbalanced moment vector
Arguments:b - ball pointer
f = ball.moment.unbal.y(b) (3D ONLY)

Get the y-component of the ball unbalanced moment.

Returns:f - y-component of the ball unbalanced moment vector
Arguments:b - ball pointer
f = ball.moment.unbal.z(b)

Get the z-component of the ball unbalanced moment.

Returns:f - z-component of the ball unbalanced moment vector
Arguments:b - ball pointer