geom.edge.pos

Syntax

Vector Access

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

Get the edge position. The edge position is the center of the edge.

Returns:

v - edge position vector or component

Arguments:

e - edge pointer

i - optional vector component

Component Access

f = geom.edge.pos.x(e)

Get the x-component of the edge position.

Returns:f - x-component of the edge position vector
Arguments:e - edge pointer
f = geom.edge.pos.y(e)

Get the y-component of the edge position.

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

Get the z-component of the edge position.

Returns:f - z-component of the edge position vector
Arguments:e - edge pointer