[][src]Function contour::contour_rings

pub fn contour_rings(
    values: &[f64],
    threshold: f64,
    dx: u32,
    dy: u32
) -> Vec<Vec<Vec<f64>>>

Computes isoring for the given Slice of values according to the threshold value (the inside of the isoring is the surface where input values are greater than or equal to the given threshold value).

Arguments

  • values - The slice of values to be used.
  • threshold - The threshold value.
  • dx - The number of columns in the grid.
  • dy - The number of rows in the grid.