|
|
void | setVirtualCurrent (VirtualCurrent *virtCurr) |
| |
| marenv::Status | GetCurrent (const double T, const double position[3], double currentVelocity[3]) |
| |
|
virtual | ~CurrentField ()=default |
| | Virtual destructor.
|
| |
◆ GetCurrent()
| marenv::Status artificial::VirtualCurrentField::GetCurrent |
( |
const double |
time, |
|
|
const double |
position[3], |
|
|
double |
currentVelocity[3] |
|
) |
| |
|
virtual |
Return the ocean current velocity in a given position and time.
- Parameters
-
| [in] | time | Time stamp in simulation time. |
| [in] | position | The position to query for. |
| [out] | currentVelocity | The velocity of the ocean current in the given time and position. |
- Returns
- marenv::Status::OK on success. See marenv::Status for other values.
Implements marenv::current::CurrentField.
The documentation for this class was generated from the following file:
- /update_root/webfhsim/reloadrepos/fhsim_maritime/src/artificial/VirtualCurrent.h