Skip to main content

isotropic_remesh

Function isotropic_remesh 

Source
pub fn isotropic_remesh(
    vertices: &[Point3],
    triangles: &[[u32; 3]],
    options: RemeshOptions,
    out_vertices: &mut [Point3],
    out_triangles: &mut [[u32; 3]],
) -> Result<RemeshReport, RemeshError>
Expand description

Isotropic remesh (vertices, triangles) toward options.target_edge_length, using the default FilteredF64Kernel.

Writes the remeshed vertices/triangles into the caller-owned out_vertices / out_triangles slices and returns a RemeshReport. Use required_output_capacity to size the output buffers up front. See isotropic_remesh_with_kernel for the kernel-generic form and the module docs for the algorithm and honesty caveats.