GravityVectorInterface
This interface is used to specify the gravity vector. There are two options:
Provide the direction via
gravity_direction. The magnitude may optionally be specified usinggravity_magnitude; else it defaults to the exact NIST constant for the acceleration due to gravity, 9.80665 m/s.Provide the gravity vector via
gravity_vector.
An error will result for any of the following cases:
Both
gravity_vectorandgravity_directionare specified.Both
gravity_vectorandgravity_magnitudeare specified.Neither
gravity_directionnorgravity_vectorare specified.