mod array_depth;
mod cartesian_netcdf3;
mod constant_depth;
mod constant_slope;
use crate::datatype::{Gradient, Point};
use crate::error::Result;
#[allow(unused_imports)]
pub(super) use array_depth::ArrayDepth;
#[allow(unused_imports)]
pub(super) use cartesian_netcdf3::CartesianNetcdf3;
#[allow(unused_imports)]
pub(super) use constant_depth::ConstantDepth;
#[allow(unused_imports)]
pub(super) use constant_depth::DEFAULT_BATHYMETRY;
#[allow(unused_imports)]
pub(super) use constant_slope::ConstantSlope;
pub(crate) trait BathymetryData: Sync {
#[allow(dead_code)]
fn depth(&self, point: &Point<f32>) -> Result<f32>;
fn depth_and_gradient(&self, point: &Point<f32>) -> Result<(f32, Gradient<f32>)>;
}