zone.pos

Syntax

Vector Access

v = zone.pos(p<,i>)

Get the zone centroid position.

Returns:

v - zone position vector or component

Arguments:

p - zone pointer

i - optional vector component

Component Access

f = zone.pos.x(p)

Get the x-component of the zone centroid position.

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

Get the y-component of the zone centroid position.

Returns:f - y-component of the zone position vector
Arguments:p - zone pointer
f = zone.pos.z(p)

Get the z-component of the zone centroid position.

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