Bottom model constructed from a 1-D or 2-D data grid.
The coordinate system for each kind of data set is:
Uses the GRID_INTERP_PCHIP interpolation in both directions to reduce sudden changes in surface normal direction. Values outside of the latitude/longitude axes defined by the data grid at limited to the values at the grid edge.
boundary_grid | ( | data_grid< DATA_TYPE, NUM_DIMS > * | height, | |
reflect_loss_model * | reflect_loss = NULL | |||
) | [inline] |
Initialize depth and reflection loss components for a boundary.
height | Bottom depth (meters) as a function of position. Assumes control of this grid and deletes it when the class is destroyed. | |
reflect_loss | Reflection loss model. Defaults to a Rayleigh reflection for "sand" if NULL. The boundary_model takes over ownship of this reference and deletes it as part of its destructor. |
virtual ~boundary_grid | ( | ) | [inline, virtual] |
Delete boundary grid.
virtual void height | ( | const wposition1 & | location, | |
double * | rho, | |||
wvector1 * | normal = NULL , |
|||
bool | quick_interp = false | |||
) | [inline, virtual] |
Compute the height of the boundary and it's surface normal at a single location.
Often used during reflection processing.
location | Location at which to compute boundary. | |
rho | Surface height in spherical earth coords (output). | |
normal | Unit normal relative to location (output). | |
quick_interp | Determines if you want a fast nearest or pchip interp |
Implements boundary_model.
virtual void height | ( | const wposition & | location, | |
matrix< double > * | rho, | |||
wvector * | normal = NULL , |
|||
bool | quick_interp = false | |||
) | [inline, virtual] |
Compute the height of the boundary and it's surface normal at a series of locations.
location | Location at which to compute boundary. | |
rho | Surface height in spherical earth coords (output). | |
normal | Unit normal relative to location (output). | |
quick_interp | Determines if you want a fast nearest or pchip interp |
Implements boundary_model.