flowknot.pos

Syntax

Vector Access

v/f = flowknot.pos(fkp<,i>)

Get the position of a flow knot. If the optional argument i is supplied, the return value is restricted by vector component (1 = \(x\), 2 = \(y\), 3 = \(z\)).

Returns:

v or f - position or component of position

Arguments:

fkp - flow knot pointer

i - optional vector component

Component Access

f = flowknot.pos.x(fkp)

Get the \(x\)-component of the flow knot position.

Returns:f - \(x\)-component of flow knot position
Arguments:fkp - flow knot pointer
f = flowknot.pos.y(fkp)

Get the \(y\)-component of the flow knot position.

Returns:f - \(y\)-component of flow knot position
Arguments:fkp - flow knot pointer
f = flowknot.pos.z(fkp)

Get the \(z\)-component of the flow knot position.

Returns:f - \(z\)-component of flow knot position
Arguments:fkp - flow knot pointer