FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
marenv::terrain::GridTerrain::Grid Struct Reference

The grid.

#include <GridTerrain.h>

Public Attributes

double x0 = 0.0
 North of sample (0, 0) [m].
 
double y0 = 0.0
 East of sample (0, 0) [m].
 
double dx = 10.0
 Spacing along north [m], > 0.
 
double dy = 10.0
 Spacing along east [m], > 0.
 
int nx = 0
 Samples along north, >= 2.
 
int ny = 0
 Samples along east, >= 2.
 
std::vector< double > heights
 nx * ny heights [m] above the sea level, row j (east) after row j - 1; NaN for none.
 

The documentation for this struct was generated from the following file: