◆ GetCurrent()
| marenv::Status VirtualCurrentFieldInDir::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: