geom.edge.node.pos

Syntax

Vector Access

v = geom.edge.node.pos(e,ie<,i>)
geom.edge.node.pos(e,ie<,i>) = v

Get/set the node position.

Returns:

v - node position vector or component

Accepts:

v - node position vector or component

Arguments:

e - edge pointer

ie - Node index with 1 \(\le\) ie \(\le\) 2.

i - optional vector component

Component Access

f = geom.edge.node.pos.x(e,ie)
geom.edge.node.pos.x(e,ie) = 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:

e - edge pointer

ie - Node index with 1 \(\le\) ie \(\le\) 2.

f = geom.edge.node.pos.y(e,ie)
geom.edge.node.pos.y(e,ie) = 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:

e - edge pointer

ie - Node index with 1 \(\le\) ie \(\le\) 2.

f = geom.edge.node.pos.z(e,ie) (3D only)
geom.edge.node.pos.z(e,ie) = 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:

e - edge pointer

ie - Node index with 1 \(\le\) ie \(\le\) 2.