66 void setup(EnvCondRef env,
const string& filepath);
100 std::vector<std::vector<real>> depthGrid;
A Logging utility.
Definition: Log.hpp:149
A helper for the entities to use the logger.
Definition: Log.hpp:223
Bathymetry description for MoorDyn.
Definition: Seafloor.hpp:52
real getDepthAt(real x, real y)
Get the depth at a particular x/y coordinate.
Definition: Seafloor.cpp:133
void setup(EnvCondRef env, const string &filepath)
Setup the seafloor.
Definition: Seafloor.cpp:28
real getAverageDepth()
The average of the depth at all the grid points.
Definition: Seafloor.hpp:81
real getMinimumDepth()
The depth of the seafloor at the shallowest point Potentially useful for optimizing collision against...
Definition: Seafloor.hpp:86
MoorDyn2 C++ API namespace.
Definition: Body.cpp:27
double real
Real numbers wrapper. It is either double or float.
Definition: Misc.hpp:118
std::shared_ptr< Seafloor > SeafloorRef
Shared pointer.
Definition: Seafloor.hpp:109