struct.node.system.local

Syntax

m := struct.node.system.local(sn<,i1><,i2>)

Get the orientation of the node-local coordinate system of the structure node. The return value can be a matrix if both i1 and i2 are omitted, a vector if both i1 is assigned but i2 is omitted, or a value if both i1 and i2 are assigned.

Returns:

m - matrix, vector, or value dependent on the arguments

Arguments:

sn - pointer to a structure node

i1 - degree-of-freedom, i1 ∈ {1, 2, 3} or {1, 2} in 2D

i2 - degree-of-freedom, i2 ∈ {1, 2, 3} or {1, 2} in 2D