Skip to main content

reconstruct_surface

Function reconstruct_surface 

Source
pub fn reconstruct_surface(
    mesh: &Mesh,
    triangle_indices: &[usize],
    hint: &SurfaceHint,
    options: &RecognitionOptions,
) -> Result<SurfaceFitResult, RecognitionError>
Expand description

Reconstruct one selected triangle region using an explicit metadata hint.

The selection and options are validated before fitting. Exact candidates are reused unchanged only after their position, normal, and support gates pass; weaker hints select the corresponding refinement path.