3#include "util/NetCDFParser.h"
5#include <marenv/seafloor/BathymetryField.h>
42 [[nodiscard]] std::unique_ptr<NetCdfSeafloorBathymetry>
MakeVisualTerrain(std::uint32_t seed)
const;
83 const double*
GetDepthMap()
const {
return m_depthMap.data(); }
110 double GetDepthInternal(
const double pos[2])
const;
118 double DepthSlope(
const double pos[2],
int axis)
const;
121 std::vector<double> m_depthMap;
122 double m_length_x = 0.0;
123 double m_length_y = 0.0;
Definition NetCdfSeafloorBathymetry.h:22
marenv::Status GetSoilState(const double pos[3], marenv::seafloor::SoilState &soilOut) override
NetCdfSeafloorBathymetry(const NetCdfSeafloorBathymetry &)=delete
Nothing copies it: MakeVisualTerrain builds a new one.
const netcdf_sinmod::Grid & GetGrid() const
Definition NetCdfSeafloorBathymetry.h:77
const double * GetDepthMap() const
Definition NetCdfSeafloorBathymetry.h:83
std::unique_ptr< NetCdfSeafloorBathymetry > MakeVisualTerrain(std::uint32_t seed) const
marenv::Status ComputeSurfaceUnitNormal(const double pos[2], double unitNormalOut[3]) override
NetCdfSeafloorBathymetry(const std::string &filename)
double GetLengthX() const
Definition NetCdfSeafloorBathymetry.h:89
marenv::Status GetDepth(const double pos[2], double &depthOut) override
double GetLengthY() const
Definition NetCdfSeafloorBathymetry.h:95
NetCdfSeafloorBathymetry & operator=(const NetCdfSeafloorBathymetry &)=delete
See the copy constructor.
Definition BathymetryField.h:25
Status
Definition marenv.h:44
Environment SimObjects.
Definition Environment.h:30
Definition SoilState.h:14
Grid dimensions structure.
Definition NetCDFParser.h:23