measure.pos

Syntax

Vector Access

v = measure.pos(m<,i>)
measure.pos(m<,i>) = v

Get/set the position.

Returns:

v - position vector or component

Accepts:

v - position vector or component

Arguments:

m - measure pointer

i - optional vector component

Component Access

f = measure.pos.x(m)
measure.pos.x(m) = f

Get/set the x-component of the position.

Returns:f - x-component of the position vector
Accepts:f - x-component of the position vector
Arguments:m - measure pointer
f = measure.pos.y(m)
measure.pos.y(m) = f

Get/set the y-component of the position.

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

Get/set the z-component of the position.

Returns:f - z-component of the position vector
Accepts:f - z-component of the position vector
Arguments:m - measure pointer