nlib.srf_fit green
- Layer
- 6
- Upstream lines
- 1,359
- Functions
- 5
- Rust module
nurbs::srf_fit
Status history
- todo 1,359 lines
- green 1,359 lines
Source: crates/solidcore/src/nurbs/srf_fit.rs
Upstream: source/SMLib/src/NL_SrfFit.cpp
Port-plan notes
These notes preserve historical port measurements and limitations, not current CI results.
5 fns; largest: N_FitSrfLstSqApprox, N_FitSrfToPtsKnots, N_FitSrfInterpParams, N_FitSrfFuncInterp; 211 upstream test entry points reach this unit. difftest: 1556 cases (56 fixture from TestSmCreateSurfaceFromPoints grid + PointSet sections + 1500 generated), 0 deferred, max_rel_err 0 (bit-identical); a 30,056-case run was also clean
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,556
- 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_fit_p1 green nlib.funcs_basic green nlib.knots green nlib.math green nlib.srf_basic green
Soft dependencies: nlib.geom green
Dependents: nlib.srf_offset green primitive.api_surface_ops green
Soft dependents: nlib.crv_approx green nlib.srf_adv_p1 green nlib.srf_adv_p3 green nlib.srf_adv_p5 green
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
N_FitCalcSrfParamValues | NL_SrfFit.cpp:101 | 190 | [param_values] |
N_FitSrfToPtsKnots | NL_SrfFit.cpp:599 | 224 | [interp_given_knots] |
N_FitSrfLstSqApprox | NL_SrfFit.cpp:883 | 553 | [lst_sq_approx] |
N_FitSrfFuncInterp | NL_SrfFit.cpp:9438 | 192 | [func_interp] |
N_FitSrfInterpParams | NL_SrfFit.cpp:13915 | 200 | [interp_params] |
Module file-header table (5 rows)
| Rust | Upstream |
|---|---|
[param_values] | N_FitCalcSrfParamValues |
[interp_params] | N_FitSrfInterpParams |
[interp_given_knots] | N_FitSrfToPtsKnots |
[lst_sq_approx] | N_FitSrfLstSqApprox |
[func_interp] | N_FitSrfFuncInterp |
Upstream tests reaching this unit
SM_API_test:TestSmCreateSurfaceFromPoints, 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