clump.template.euler

Syntax

Vector Access

v = clump.template.euler(c<,i>) (3D ONLY)

Get the clump template relative orientation. This is the orientation relative to the clump template. The convention \(\big\{X,Y^{'},Z^{''}\big\}\) is used (i.e., the x-, y-, and z-components correspond to the sequential rotations about the \(X\), \(Y^{'}\), and \(Z^{''}\) axes).

Note

The orientation is updated whenever the clump rotates.

Returns:

v - clump template relative orientation vector or component

Arguments:

c - clump pointer

i - optional vector component

Component Access

f = clump.template.euler.x(c) (3D ONLY)

Get the x-component of the clump template relative orientation.

Returns:f - x-component of the clump template relative orientation vector
Arguments:c - clump pointer
f = clump.template.euler.y(c) (3D ONLY)

Get the y-component of the clump template relative orientation.

Returns:f - y-component of the clump template relative orientation vector
Arguments:c - clump pointer
f = clump.template.euler.z(c) (3D ONLY)

Get the z-component of the clump template relative orientation.

Returns:f - z-component of the clump template relative orientation vector
Arguments:c - clump pointer