The migration in #170 collapsed every run of blank lines in the 48 files it
touched, including inside verbatim copies of upstream code (e.g.
curve_curve_p3.cpp), so they no longer diffed cleanly against upstream.
Restore exactly those 91 blank lines; nothing else changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
125 shims carried private copies of the same small helpers (put_vec, st,
nl_status, Rd, dump_crv, read_nurb, ...). Move the most common, byte-identical
form of each into three headers grouped by the upstream API they need, and have
those shims pull them in with `using sc::<name>;`. Shims with a different
variant keep their own copy; files touched by open PRs are left alone.
`the_context()` stays per shim (its function-local SmContext must not be shared).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FBLgPenT24P1dunqnZR1Dj
Connect the remaining heal.gap surface drop after integrating p4/p5. Forward the caller context through local, drop and patch solves and their geometry, intersection and topology callers. Replace the p6 reference shim stop marker with the existing verbatim p5 point-solve bodies in a shared header; the 17 newly executable cases now agree bit for bit. Update the topology gap test to verify the computed result and cache.
Co-Authored-By: Codex <noreply@openai.com>
Wires the UNPORTED(surface.surface_p6) stubs (LocalCurveIntersect in p9,
SmSSGlobalSolver::IdenticalSolutions in p7, CreateNaturalUVTrimCurves in
b_spline_surface_p2 and plane_p1, CalculateContinuities in surface_cache_p3
and iso_curve) and completes the surface tracer runner's DoTrace now that
surface caches build.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BY8UpXKuMci15rAWGXsbsm