Function splashsurf_lib::grid_for_reconstruction
source · pub fn grid_for_reconstruction<I: Index, R: Real>(
particle_positions: &[Vector3<R>],
particle_radius: R,
compact_support_radius: R,
cube_size: R,
particle_aabb: Option<&Aabb3d<R>>,
enable_multi_threading: bool
) -> Result<UniformGrid<I, R>, ReconstructionError<I, R>>
Expand description
Constructs the background grid for marching cubes based on the parameters supplied to the surface reconstruction