# sel.reinforcement.pos

Syntax

v := sel.reinforcement.pos(srp)

Get the position of the center of the reinforcement element.

Returns: v - position srp - reinforcement pointer

Component Access

f := sel.reinforcement.pos (srp)->x

f := sel.reinforcement.pos.x(srp)

Get the $$x$$-component of the position of the center of the reinforcement element.

Returns: f - $$x$$-component of the position vector srp - reinforcement 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 (sel.reinforcement.pos(srp,<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 := sel.reinforcement.pos.y(srp)
f := sel.reinforcement.pos.z(srp)