pub fn extract_contours(dem: &Dem, levels: &[f64]) -> Vec<Contour>
Extract contour lines at the specified elevation levels.
Uses the marching squares algorithm on the DEM grid.