validate_and_repair_shell

Function validate_and_repair_shell 

Source
pub fn validate_and_repair_shell(
    shell: &mut Mesh,
    auto_repair: bool,
) -> (ShellValidationResult, Option<ShellRepairResult>)
Expand description

Validate and optionally repair a shell mesh.

This is a convenience function that validates, attempts repair if needed, and re-validates.

§Arguments

  • shell - The shell mesh to validate and repair
  • auto_repair - Whether to attempt automatic repair of minor issues

§Returns

A tuple of (validation result, optional repair result).