|
Marine systems simulation
|
Defines the interface for an relaying information about ocean currents.
#include <CurrentField.h>
Inheritance diagram for marenv::current::CurrentField:
Collaboration diagram for marenv::current::CurrentField:Public Member Functions | |
| virtual | ~CurrentField ()=default |
| Virtual destructor. | |
| virtual Status | GetCurrent (double time, const double position[3], double currentVelocity[3])=0 |
|
pure virtual |
Return the ocean current velocity in a given position and time.
| [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. |
Implemented in VirtualCurrentField, Ship::CycloidalPropellerCurrentField, Ship::PropellerCurrentField, artificial::VirtualCurrentField, VirtualCurrentFieldInDir, Ship::Propeller4QCurrentField, marenv::current::NullCurrentField, Ship::ThrusterCurrentField, marenv::current::ConstantCurrent, marenv::current::CurrentField3DArray, and marenv::current::DepthVaryingCurrentField.