Units / nurbs
nlib.funcs_adv green
- Layer
- 6
- Upstream lines
- 1,676
- Functions
- 5
- Rust module
nurbs::funcs_adv
Source: crates/solidcore/src/nurbs/funcs_adv.rs
Upstream: source/SMLib/src/NL_FuncsAdv.cpp
Notes
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
Difftest
- Cases
- 2,080
- Passed
- 2,080
- Deferred
- 0
- Failed
- 0
- Both errored
- 0
- Max rel. error
- 0.0
- Tolerance
- 1e-09 rel.
- Seeds
- 16
Blocked by
Nothing: no deferred cases.
Report JSON (per-case results)
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