clump.moi.prin

Syntax

Vector Access

v = clump.moi.prin(c<,i>)

Get the clump principal moment of inertia.

Returns:

v - clump principal moment of inertia vector or component

Arguments:

c - clump pointer

i - optional vector component

Component Access

f = clump.moi.prin.x(c)

Get the x-component of the clump principal moment of inertia.

Returns:f - x-component of the clump principal moment of inertia vector
Arguments:c - clump pointer
f = clump.moi.prin.y(c)

Get the y-component of the clump principal moment of inertia.

Returns:f - y-component of the clump principal moment of inertia vector
Arguments:c - clump pointer
f = clump.moi.prin.z(c) (3D ONLY)

Get the z-component of the clump principal moment of inertia.

Returns:f - z-component of the clump principal moment of inertia vector
Arguments:c - clump pointer