wall.pos
- v = wall.pos(w)
- wall.pos(w) = v
Get/set the wall position.
Returns: v - wall position vector Accepts: v - wall position vector Arguments: w - wall pointer
Component Access
f = wall.pos
(w)->x
wall.pos
(w)->x
= f
- f = wall.pos.x(w)
- wall.pos.x(w) = f
Get/set the \(x\)-component of the wall position.
Returns: f - \(x\)-component of the wall position vector Accepts: f - \(x\)-component of the wall position vector Arguments: w - wall pointer
Access other vector components (\(y\), \(z\) (3D ONLY)) 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 (e.g., f = wall.pos(w,3)
) 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.
Was this helpful? ... | 3DEC © 2019, Itasca | Updated: Feb 25, 2024 |