plan: nlib.crv_fit_p4 green

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
bherbruck
2026-10-29 17:16:53 -04:00
parent acc3566d84
commit 1bd19caccd
+1 -1
View File
@@ -6,7 +6,7 @@ soft_depends_on = []
est_lines = 520
layer = 21
tests = []
status = "todo"
status = "green"
claimed_by = ""
claimed_at = ""
notes = "SM_API gap M3 (SmApiCreateCurveApproxPoints). NOT IN callgraph/units.json: N_FitCrvApproxDerivs and N_FitCalcKnotsEndDerivs are in harness/callgraph/unused_functions.txt; SmBSplineCurve::CreateApproximatingCurve and SmApiCreateCurveApproxPoints are owned by no unit (N_InitNurbs / N_EndNurbs / N_Alloc* / N_Free are NLib memory management with no counterpart). Rust: nurbs::crv_fit::p4::approx_end_derivs / knots_end_derivs (this module), BSplineCurve::create_approximating_curve (completion in nurbs/b_spline_curve_n_lib.rs) and primitive::api_curves::create_curve_approx_points (completion in primitive/api_curves.rs). No upstream test calls these; fixtures cover the API's control-point-count thresholds (4, 8/9, 16/17 points), every CreateApproximatingCurve vector branch (including the one-vector branch's third derivative from more_vectors[2], the documented [start2, end2, start3, end3] layout, read only when more than 2 are given; a 2-entry list skips it), and each N_FitCrvApproxDerivs input check and early exit. Status pending the gate run."