solidcore

Units / nurbs

nlib.crv_fit_p3 green

Layer
7
Upstream lines
1,234
Functions
6
Rust module
nurbs::crv_fit::p3

Status history

Oct 12Nov 25
  1. todo 1,234 lines
  2. 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 functionDefined atLinesRust (from the file header)
N_FitCrvDerivsNL_CrvFit.cpp:2716177[interp_end_derivs], [ParamSource]
N_FitCubicSplineInterpNL_CrvFit.cpp:3615206[cubic_spline_interp]
N_FitCrvFirstDerivNL_CrvFit.cpp:7689168[interp_first_derivs], [VectorKind]
N_FitCrvKnotsAndTangentsNL_CrvFit.cpp:8207359[interp_knots_and_tangents], [EndTangents]
N_FitCrvApproxClosedConditionsNL_CrvFit.cpp:14621147[approx_closed_conditions]
N_FitCrvHighDerivsNL_CrvFit.cpp:14829177[interp_high_derivs]
Module file-header table (7 rows)
RustUpstream
[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