geom.node.pos

Syntax

Vector Access

v = geom.node.pos(n<,i>)
geom.node.pos(n<,i>) = v

Get/set the node position.

Returns:

v - node position vector or component

Accepts:

v - node position vector or component

Arguments:

n - node pointer

i - optional vector component

Component Access

f = geom.node.pos.x(n)
geom.node.pos.x(n) = f

Get/set the x-component of the node position.

Returns:f - x-component of the node position vector
Accepts:f - x-component of the node position vector
Arguments:n - node pointer
f = geom.node.pos.y(n)
geom.node.pos.y(n) = f

Get/set the y-component of the node position.

Returns:f - y-component of the node position vector
Accepts:f - y-component of the node position vector
Arguments:n - node pointer
f = geom.node.pos.z(n) (3D only)
geom.node.pos.z(n) = f (3D only)

Get/set the z-component of the node position.

Returns:f - z-component of the node position vector
Accepts:f - z-component of the node position vector
Arguments:n - node pointer