mpoint.pos

Syntax

v = mpoint.pos(mp)
mpoint.pos(mp) = v

Get/set the mpoint position.

Returns:

v - mpoint position vector

Accepts:

v - mpoint position vector

Arguments:

mp - mpoint pointer

Component Access

f = mpoint.pos.x(mp)
mpoint.pos.x(mp) = f

Get/set the \(x\)-component of the mpoint position.

Returns:

f - \(x\)-component of the mpoint position vector

Accepts:

f - \(x\)-component of the mpoint position vector

Arguments:

mp - mpoint pointer

Access other vector components (\(y\), \(z\) (3D ONLY)) by substituting the component name where \(x\) appears above.