Expand description
NURBS surface self-intersection detection.
Detects regions where a single NURBS surface folds back on itself,
producing S(u1,v1) = S(u2,v2) with (u1,v1) ≠ (u2,v2).
§Algorithm
- Sample the surface on a grid, build triangles with (u,v) parameter ranges
- Build a BVH over triangle AABBs
- Query overlapping pairs, filter out adjacent triangles
- For non-adjacent close pairs: Newton-refine with constraint
(u1,v1) ≠ (u2,v2),S(u1,v1) = S(u2,v2) - March along self-intersection curves
Structs§
- Self
Intersection Curve - A self-intersection curve on a NURBS surface.
Functions§
- detect_
self_ intersection - Detect self-intersections on a NURBS surface.