nlib.srf_adv_p2 green
- Layer
- 12
- Upstream lines
- 2,097
- Functions
- 2
- Rust module
nurbs::srf_adv::p2
Status history
- todo 2,097 lines
- green 2,097 lines
Source: crates/solidcore/src/nurbs/srf_adv/p2.rs
Upstream: source/SMLib/src/NL_SrfAdv.cpp
Port-plan notes
These notes preserve historical port measurements and limitations, not current CI results.
2 fns; largest: ST_surxsdr, N_SrfEvalPtNormalDeriv; unit-SCC #22 (220 units); 182 upstream test entry points reach this unit; difftest 1695 cases (195 fixtures + 1500 generated), 0 deferred, bit-identical UPDATE (2026-11-04): ST_surxsdr's port deleted with the fitted surface extension; its difftest op extend removed (175 fixtures, the 3-entry fuzz corpus, shim op 0). difftest covers N_SrfEvalPtNormalDeriv only: 1520 cases (20 fixtures + 1500 generated), all pass bit-identical.
Goldens
This is committed inventory, not a runtime result or a correctness proof. A golden records what solidcore produced when blessed. Current results require the canonical CI gate, not these counts.
- Golden records
- 1,520
- Stored error outcomes
- 0
- Stored deferrals
- 0
- Stored harness rejections
- 0
- Known-failure entries
- 0
Metadata counts describe fields in the stored records; they are not passes or live failures.
Source at f9704ee3b:
golden JSONL ·
known-failure list.
Dependencies
Depends on: nlib.crv_basic green nlib.geom green nlib.math green nlib.srf_basic green
Soft dependencies: nlib.crv_adv_p2 green nlib.knots green nlib.srf_nurb green nlib.srf_tool_p1 green nlib.srf_tool_p2 green
Dependents: none
Soft dependents: nlib.srf_adv_p1 green
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
ST_surxsdr | NL_SrfAdv.cpp:696 | 1949 | |
N_SrfEvalPtNormalDeriv | NL_SrfAdv.cpp:4455 | 148 | [eval_pt_normal_deriv], [NormalDerivs] |
Module file-header table (1 rows)
| Rust | Upstream |
|---|---|
[eval_pt_normal_deriv], [NormalDerivs] | N_SrfEvalPtNormalDeriv |
Upstream tests reaching this unit
prog_test:my_test_ss_nurb, prog_test:my_test_surface_point_intersect, prog_test:my_test_GlobalCC_intersect, prog_test:my_test_GlobalCSI, prog_test:my_test_surface_curve_intersect, prog_test:my_test_cci_nurb