ball.moment.contact
Syntax
- v = ball.moment.contact(b)
- ball.moment.contact(b) = v
Get/set the ball contact moment.
Returns: v - ball contact moment vector Accepts: v - ball contact moment vector Arguments: b - ball pointer
Component Access
f = ball.moment.contact
(bp)->x
ball.moment.contact
(bp)->x
= f
- f = ball.moment.contact.x(bp)
- ball.moment.contact.x(bp) = f
Get/set the x-component of the ball contact moment.
Returns: f - x-component of the ball contact moment vector Accepts: f - x-component of the ball contact moment vector Arguments: bp - ball 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 = ball.moment.contact(bp,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? ... | FLAC3D © 2019, Itasca | Updated: Feb 25, 2024 |