pub fn remesh(
mesh: &TriMesh,
options: RemeshOptions,
) -> Result<(TriMesh, RemeshReport), RemeshError>Expand description
Remesh a triangle mesh towards a uniform edge length.
See the module documentation for the method, what is preserved and what the report measures. Normals and attribute channels are not carried; the report lists each channel as dropped.
ยงErrors
RemeshError::InvalidTarget, RemeshError::InvalidFeatureAngle,
RemeshError::InvalidMesh for non-manifold, inconsistently wound,
ragged or out-of-range input, RemeshError::NonFinitePosition,
RemeshError::DegenerateTriangle and RemeshError::BudgetExceeded.