data.scalar.pos
Syntax
Vector Access
- v = data.scalar.pos(sp<,i>)
- data.scalar.pos(sp<,i>) = v
Get/set the scalar position.
Returns: v - scalar position vector or component
Accepts: v - scalar position vector or component
Arguments: sp - user scalar pointer
i - optional vector component
Component Access
- f = data.scalar.pos.x(sp)
- data.scalar.pos.x(sp) = f
Get/set the \(x\)-component of the scalar position.
Returns: f - \(x\)-component of the scalar position vector Accepts: f - \(x\)-component of the scalar position vector Arguments: sp - user scalar pointer
Was this helpful? ... | PFC 6.0 © 2019, Itasca | Updated: Nov 19, 2021 |