rblock.prin.axis.angle

Syntax

Vector Access

v = rblock.prin.axis.angle(p<,i>) (3D ONLY)

Get the orientation of the principal axis. This is given in the axis-angle representation. This orientation cannot be reset.

Returns:

v - rigid block orientation vector or component

Arguments:

p - rigid block pointer

i - optional vector component

Component Access

f = rblock.prin.axis.angle.x(p) (3D ONLY)

Get the x-component of the axis-angle orientation of the principal axis.

Returns:f - x-component of the rigid block orientation vector
Arguments:p - rigid block pointer
f = rblock.prin.axis.angle.y(p) (3D ONLY)

Get the y-component of the axis-angle orientation of the principal axis.

Returns:f - y-component of the rigid block orientation vector
Arguments:p - rigid block pointer
f = rblock.prin.axis.angle.z(p) (3D ONLY)

Get the z-component of the axis-angle orientation of the principal axis.

Returns:f - z-component of the rigid block orientation vector
Arguments:p - rigid block pointer