USML
|
Models a sloping flat bottom.
The surface normal makes a constant angle to the theta and phi components of the current position. Given this definition of surface normal, the change in height from the reference point is given by:
where:
boundary_slope | ( | const wposition1 & | location, |
double | depth, | ||
double | lat_slope, | ||
double | lng_slope = 0.0 , |
||
reflect_loss_model * | reflect_loss = NULL |
||
) |
Initialize depth and reflection loss components for a boundary.
location | Location at which initial depth and slope are specified. |
depth | Water depth (meters) at this location. |
lat_slope | Slope angle in latitude direction (radians). |
lng_slope | Slope angle in longitude direction (radians). |
reflect_loss | Reflection loss model. Assumes depth=0 is used to define the water surface and any other depths define the ocean bottom. Use perfect surface or bottom reflection if no model specified. The boundary_model takes over ownship of this reference and deletes it as part of its destructor. |
|
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.
|
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 |
Often used during reflection processing.
Implements boundary_model.
|
private |
Surface height in spherical earth coords.
|
private |
Location at which initial depth and slope are specified.
|
private |
Surface normal.