nlib.basis_adv green
- Layer
- 3
- Upstream lines
- 361
- Functions
- 4
- Rust module
nurbs::basis_adv
Status history
- todo 361 lines
- green 361 lines
Source: crates/solidcore/src/nurbs/basis_adv.rs
Upstream: source/SMLib/src/NL_BasisAdv.cpp
Port-plan notes
These notes preserve historical port measurements and limitations, not current CI results.
4 fns; green: 1751 difftest cases (251 fixture + 1500 generated), 0 deferred, bit-identical (max_rel_err 0); 100,251-case run and --fuzz 100000 also clean (issue #182). See plan/findings.md
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,751
- Stored error outcomes
- 282
- 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.knots green
Soft dependencies: nlib.basis_basic green nlib.geom green nlib.math green
Dependents: none
Soft dependents: nlib.crv_adv_p2 green nlib.srf_adv_p3 green nlib.srf_adv_p5 green
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
N_GetCompatibleKnotArrayMult | NL_BasisAdv.cpp:119 | 92 | [compatible_knot_array_mult] |
N_BasisInsertKnots | NL_BasisAdv.cpp:253 | 60 | [insert_knots] |
N_BasisIncreaseKnotMult | NL_BasisAdv.cpp:585 | 44 | [increase_knot_mult] |
N_BasisDerivsArray | NL_BasisAdv.cpp:1122 | 165 | [basis_derivs_array], [BasisDerivsArray] |
Module file-header table (4 rows)
| Rust | Upstream |
|---|---|
[compatible_knot_array_mult] | N_GetCompatibleKnotArrayMult |
[insert_knots] | N_BasisInsertKnots |
[increase_knot_mult] | N_BasisIncreaseKnotMult |
[basis_derivs_array], [BasisDerivsArray] | N_BasisDerivsArray |
Upstream tests reaching this unit
SM_API_test:TestSmCreateSurfaceFromRandomPoints, SM_API_test:TestSmCreateSkinSurface, SM_API_test:TestSmCreateExtrude, SM_API_test:TestSmCreateSkinFromFaces, prog_test:my_test_ss_nurb, prog_test:my_test_surface_point_intersect