struct.node.pos.reference

Syntax

v = struct.node.pos.reference(sn<,i>)

Get the reference position vector for the structure node. Returns a vector, unless an optional component argument i is supplied, in which case it returns the component value.

Returns:

v - reference position vector or component

Arguments:

sn - structure node pointer

i - optional vector component, from 1 to 3

Component Access

f = struct.node.reference.x(sn)

Get the x-component reference position vector of the structure node.

Returns:f - x-component reference position vector
Arguments:sn - structure node pointer
f = struct.node.reference.y(sn)

Get the y-component reference position vector of the structure node.

Returns:f - y-component reference position vector
Arguments:sn - structure node pointer
f = struct.node.reference.z(sn)

Get the z-component reference position vector of the structure node.

Returns:f - z-component reference position vector
Arguments:sn - structure node pointer