nlib.crv_fit_p3 green
- Layer
- 7
- Upstream lines
- 1,234
- Functions
- 6
- Rust module
nurbs::crv_fit::p3
Status history
- todo 1,234 lines
- green 1,234 lines
Source: crates/solidcore/src/nurbs/crv_fit/p3.rs
Upstream: source/SMLib/src/NL_CrvFit.cpp
Port-plan notes
These notes preserve historical port measurements and limitations, not current CI results.
6 fns; largest: N_FitCrvKnotsAndTangents, N_FitCubicSplineInterp, N_FitCrvDerivs, N_FitCrvHighDerivs; 317 upstream test entry points reach this unit; difftest green: 2242 cases (242 fixtures + 2000 generated), 0 deferred, max_rel_err 0
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,304
- 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.crv_fit_p1 green nlib.crv_fit_p2 green nlib.geom green nlib.knots green nlib.math green
Soft dependencies: nlib.basis_basic green nlib.crv_nurb green
Dependents: nurbs.b_spline_curve_n_lib green
Soft dependents: nlib.crv_approx green nlib.spiral green
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
N_FitCrvDerivs | NL_CrvFit.cpp:2716 | 177 | [interp_end_derivs], [ParamSource] |
N_FitCubicSplineInterp | NL_CrvFit.cpp:3615 | 206 | [cubic_spline_interp] |
N_FitCrvFirstDeriv | NL_CrvFit.cpp:7689 | 168 | [interp_first_derivs], [VectorKind] |
N_FitCrvKnotsAndTangents | NL_CrvFit.cpp:8207 | 359 | [interp_knots_and_tangents], [EndTangents] |
N_FitCrvApproxClosedConditions | NL_CrvFit.cpp:14621 | 147 | [approx_closed_conditions] |
N_FitCrvHighDerivs | NL_CrvFit.cpp:14829 | 177 | [interp_high_derivs] |
Module file-header table (7 rows)
| Rust | Upstream |
|---|---|
[interp_end_derivs], [ParamSource] | N_FitCrvDerivs (par, NL_INHERITED) |
[cubic_spline_interp] | N_FitCubicSplineInterp |
[interp_first_derivs], [VectorKind] | N_FitCrvFirstDeriv (vec / der: NL_TANGENT / NL_DERIVATIVE) |
[interp_knots_and_tangents], [EndTangents] | N_FitCrvKnotsAndTangents |
[approx_closed_conditions] | N_FitCrvApproxClosedConditions |
[interp_high_derivs] | N_FitCrvHighDerivs |
[interp_high_derivs_params] | N_FitCrvHighDerivsParams (fork) |
Upstream tests reaching this unit
prog_test:my_test_surface_closest_point, prog_test:my_test_drop_point, prog_test:my_test_matrix, prog_test:my_test_reversed_line_join, SM_API_test:TestSmCreateRectangle, SM_API_test:TestSmCreateRegularPolygon