flowknot.pos

Syntax

v := flowknot.pos(fkp)

Get the position of a flow knot.

Returns:v - position
Arguments:fkp - flow knot pointer

Component Access

f := flowknot.pos (fkp)->x

f := flowknot.pos.x(fkp)

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

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

Access other vector components (\(y\), \(z\)) by substituting the component name where \(x\) appears above. See Member Access Operator for information about accessing members from data types using ->.

Deprecated Component Access

Component access by adding an optional integer in the function arguments (flowknot.pos(fkp,<int>)) is deprecated. It remains available but will not be supported in future versions. See Component Access with Integers in FISH on the Deprecated Commands and FISH page for details.

This is hidden. Added to include remaining vector component access functions for inline help.

f := flowknot.pos.y(fkp)
f := flowknot.pos.z(fkp)