ball.fix
Syntax
- b = ball.fix(b,i)
- ball.fix(b,i) = b
Get/set ball fixity condition.
- The integer degree-of-freedom corresponds to the following order:
in 3D: 1) \(x\)-velocity, 2) \(y\)-velocity, 3) \(z\)-velocity, 4) \(x\)-angular velocity, 5) \(y\)-angular velocity, 6) \(z\)-angular velocity.
in 2D: 1) \(x\)-velocity, 2) \(y\)-velocity, 3) angular velocity.
The return value is false for free and true for fixed conditions.
Was this helpful? ... | Itasca Software © 2024, Itasca | Updated: Aug 13, 2024 |