nlib.funcs_adv green
- Layer
- 6
- Upstream lines
- 1,676
- Functions
- 5
- Rust module
nurbs::funcs_adv
Status history
- todo 1,676 lines
- green 1,676 lines
Source: crates/solidcore/src/nurbs/funcs_adv.rs
Upstream: source/SMLib/src/NL_FuncsAdv.cpp
Port-plan notes
These notes preserve historical port measurements and limitations, not current CI results.
5 fns (N_CrvFuncRefine, N_CrvFuncDeriv, N_CrvFuncMultiplyCrvFunc, N_CrvFuncMultiplyCrv, N_CrvFuncMultiplyCrv4d); difftest green: 2080 cases (80 fixture incl. 6 upstream .smc curves + 2000 generated), 0 deferred, bit-exact; no UNPORTED(nlib.funcs_adv) stubs existed to wire
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
- 2,080
- 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.bezier green nlib.crv_basic green nlib.funcs_basic green nlib.knots green nlib.math green
Soft dependencies: nlib.basis_basic green nlib.crv_tool_p1 green
Dependents: nlib.crv_adv_p2 green
Soft dependents: nlib.srf_adv_p4 green nlib.srf_adv_p5 green nlib.srf_adv_p6 green
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
N_CrvFuncRefine | NL_FuncsAdv.cpp:807 | 145 | [CurveFunction::refine] |
N_CrvFuncMultiplyCrvFunc | NL_FuncsAdv.cpp:1705 | 478 | [CurveFunction::multiply_func] |
N_CrvFuncMultiplyCrv | NL_FuncsAdv.cpp:2229 | 482 | [CurveFunction::multiply_crv] |
N_CrvFuncDeriv | NL_FuncsAdv.cpp:2975 | 89 | [CurveFunction::deriv] |
N_CrvFuncMultiplyCrv4d | NL_FuncsAdv.cpp:3456 | 482 | [CurveFunction::multiply_crv_4d] |
Module file-header table (6 rows)
| Rust | Upstream |
|---|---|
[CurveFunction::refine] | N_CrvFuncRefine |
[CurveFunction::deriv] | N_CrvFuncDeriv |
[CurveFunction::multiply_func] | N_CrvFuncMultiplyCrvFunc |
[CurveFunction::multiply_crv] | N_CrvFuncMultiplyCrv |
[CurveFunction::multiply_crv_4d] | N_CrvFuncMultiplyCrv4d |
multiply (private) | the shared body of the three products |
Upstream tests reaching this unit
SM_API_test:TestSmCreateSkinSurface, SM_API_test:TestSmCreateExtrude, SM_API_test:TestSmCreateSkinFromFaces, SM_API_test:TestSmCreateSkinPrimitive, prog_test:my_test_parallel_projection, prog_test:my_test_tsurf_projection