Modules§
- diagnose
- Producing a
Diagnosisfrom 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.
- tjunction
- Splitting triangle edges at vertices that lie on them (T-junctions).
- traits
- Open diagnosis and repair extension points.
Structs§
- Defect
- One located defect.
- Diagnosis
- Immutable diagnosis report.
- Intersecting
Pair - One intersecting triangle pair, lower index first.
- Repair
Plan - Ordered caller-approved repair plan.
- Repair
Report - Audit report returned with repaired geometry.
- TJunction
Split - What
split_t_junctionsdid.
Enums§
- Defect
Kind - Defect class observed in mesh or exact topology.
- Repair
Action - One opt-in repair. There is deliberately no
Allvariant.
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.
- split_
t_ junctions - Split triangle edges at vertices lying on them within
tolerance.