pub fn axis_index_range(
min: f64,
max: f64,
coordinates: &[f64],
kind: AxisKind,
) -> Result<IndexRange, BoundsError>Expand description
Map inclusive coordinate endpoints to the smallest half-open index range containing coordinate samples in the requested interval.