Module heal

Source

Modules§

diagnose
Producing a Diagnosis from a mesh (#73).
diagnosis
Diagnosis values; diagnosis never mutates geometry.
intersect
Triangle-triangle self-intersection over a mesh (#73).
mesh
Diagnosing and repairing triangle meshes.
repair
Explicit repair plans and reports.
traits
Open diagnosis and repair extension points.

Structs§

Defect
One located defect.
Diagnosis
Immutable diagnosis report.
IntersectingPair
One intersecting triangle pair, lower index first.
RepairPlan
Ordered caller-approved repair plan.
RepairReport
Audit report returned with repaired geometry.

Enums§

DefectKind
Defect class observed in mesh or exact topology.
RepairAction
One opt-in repair. There is deliberately no All variant.

Traits§

Diagnose
Diagnose without mutating input.
Repair
Apply one explicit repair plan and return new geometry plus audit report.

Functions§

diagnose
Diagnose a triangle mesh, reporting every defect class it exhibits.
self_intersections
Self-intersecting triangle pairs, found through the spatial index.
self_intersections_brute_force
The same answer without the spatial index, by checking every pair.