pub fn count_surface_cells(grid: &SdfGrid) -> usize
Count the number of grid cells that straddle the zero isosurface.