rblock.template.moi.prin

Syntax

v = rblock.template.moi.prin(p)

Get the rigid block template principal moment of inertia.

Returns:

v - rigid block template principal moment of inertia vector

Arguments:

p - rigid block template pointer

i - optional vector component

Component Access

f = rblock.template.moi.prin (p)->x

f = rblock.template.moi.prin.x(p)

Get the \(x\)-component of the rigid block template principal moment of inertia.

Returns:f - \(x\)-component of the rigid block template principal moment of inertia vector
Arguments:p - rigid block template pointer

Access other vector components (\(y\), \(z\) (3D ONLY)) by substituting the component name where \(x\) appears above. See Member Access Operator for information about accessing members from data types using ->.

Deprecated Component Access

Component access by adding an optional integer in the function arguments (e.g., f = rblock.template.moi.prin(p, 3)) is deprecated. It remains available but will not be supported in future versions. See Component Access with Integers in FISH on the Deprecated Commands and FISH page for details.

This is hidden. Added to include remaining vector component access functions for inline help.

f = rblock.template.moi.prin.y(p)
f = rblock.template.moi.prin.z(p) (3D ONLY)