Guard common and handwritten entrypoints through native cleanup and callback restoration. Add exclusion, recursive forwarding and exception-unwind probes; p2 adds its concurrent cross-wrapper regression with the port.
Co-Authored-By: GPT-6.1-Sol <noreply@openai.com>
SmSurfaceIntersector::DoIntersection on AdvSurfaceIntersector (every upstream
caller runs it there), GrazingBoxProcess, the shim/ffi/runner (hand-built
trees swapped into the real C++ caches) and unit tests. Wires
base_global_surface_intersect (surface_p2, via plane_p2 and
surf_of_revolution_p2) and ports the rest of CreateParallelProjectionCurves
(surface_p7).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BY8UpXKuMci15rAWGXsbsm