clump.spin

Syntax

Vector Access

v = clump.spin(c<,i>)
clump.spin(c<,i>) = v

Get/set the clump angular velocity.

Returns:

v - clump angular velocity vector or component

Accepts:

v - clump angular velocity vector or component

Arguments:

c - clump pointer

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

Component Access

f = clump.spin.x(c) (3D ONLY)
clump.spin.x(c) = f (3D ONLY)

Get/set the x-component of the clump angular velocity.

Returns:f - x-component of the clump angular velocity vector
Accepts:f - x-component of the clump angular velocity vector
Arguments:c - clump pointer
f = clump.spin.y(c) (3D ONLY)
clump.spin.y(c) = f (3D ONLY)

Get/set the y-component of the clump angular velocity.

Returns:f - y-component of the clump angular velocity vector
Accepts:f - y-component of the clump angular velocity vector
Arguments:c - clump pointer
f = clump.spin.z(c)
clump.spin.z(c) = f

Get/set the z-component of the clump angular velocity.

Returns:f - z-component of the clump angular velocity vector
Accepts:f - z-component of the clump angular velocity vector
Arguments:c - clump pointer