geom.poly.pos

Syntax

Vector Access

v = geom.poly.pos(p<,i>)

Get the polygon position.

Returns:

v - polygon position vector or component

Arguments:

p - polygon pointer

i - optional vector component

Component Access

f = geom.poly.pos.x(p)

Get the x-component of the polygon position.

Returns:f - x-component of the polygon position vector
Arguments:p - polygon pointer
f = geom.poly.pos.y(p)

Get the y-component of the polygon position.

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

Get the z-component of the polygon position.

Returns:f - z-component of the polygon position vector
Arguments:p - polygon pointer