|
FhSim
3.1.0
Marine systems simulation
|
The sum of the loads on a body: the force [0..2] and the moment about the origin [3..5], body frame.
#include <HydroBody.h>
Public Member Functions | |
| void | Add (const double wrench[6]) |
Adds the body-frame wrench wrench. | |
| void | AddForceAt (const FlowFrame &frame, const double pos_d[3], const double force_n[3]) |
Public Attributes | |
| double | values [6] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0} |
| void hydro_body::Wrench::AddForceAt | ( | const FlowFrame & | frame, |
| const double | pos_d[3], | ||
| const double | force_n[3] | ||
| ) |
Adds the NED force force_n acting at the body-frame point pos_d, and its moment.
| [in] | frame | The frame that rotates the force into the body frame. |
| [in] | pos_d | The point of attack, body frame [m]. |
| [in] | force_n | The force, NED [N]. |