pub fn sparse_density_map_to_hex_mesh<I: Index, R: Real>(
density_map: &DensityMap<I, R>,
grid: &UniformGrid<I, R>,
default_value: R
) -> MeshWithData<R, HexMesh3d<R>>
Expand description
Converts a sparse density map (based on the implicit background grid) to a sparse hexahedral mesh with explicit coordinates for the cells’ vertices.