Skip to main content

extract_contours

Function extract_contours 

Source
pub fn extract_contours(dem: &Dem, levels: &[f64]) -> Vec<Contour>
Expand description

Extract contour lines at the specified elevation levels.

Uses the marching squares algorithm on the DEM grid.