Function st_to_ij

Source
pub fn st_to_ij(s: f64) -> u32
Expand description

Return the i- or j-index of the leaf cell containing the given s- or t-value. If the argument is outside the range spanned by valid leaf cell indices, return the index of the closest valid leaf cell (i.e., return values are clamped to the range of valid leaf cell indices).