nlib.crv_tool_p2 green
- Layer
- 7
- Upstream lines
- 1,748
- Functions
- 7
- Rust module
nurbs::crv_tool::p2
Status history
- todo 1,748 lines
- green 1,748 lines
Source: crates/solidcore/src/nurbs/crv_tool/p2.rs
Upstream: source/SMLib/src/NL_CrvTool.cpp
Port-plan notes
These notes preserve historical port measurements and limitations, not current CI results.
main CI e33985411 (2026-10-23): PASS nlib.crv_tool_p2 cases=2126 passed=2126 failed=0 deferred=0. difftest: 2124 cases (124 fixtures + 2000 generated), 2124 pass bit-for-bit, 0 deferred; wired UNPORTED(nlib.crv_tool_p2) in nlib.crv_basic (N_CrvsAreCoincident, now green); 7 fns; largest: N_CrvReduceDegreeOnce, N_CrvRemoveDegenSegs, N_CrvRemoveKnots, N_CrvsMakeCompatibleAdjKnots; unit-SCC #6 (5 units); 317 upstream test entry points reach this unit
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,126
- 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.basis_basic green nlib.crv_basic green nlib.crv_tool_p1 green nlib.knots green nlib.math green
Soft dependencies: nlib.bezier green nlib.crv_nurb green nlib.geom green
Dependents: nurbs.b_spline_curve_n_lib green
Soft dependents: nlib.srf_adv_p1 green nlib.srf_adv_p3 green nlib.srf_adv_p4 green nlib.srf_adv_p5 green nlib.srf_adv_p6 green nlib.srf_common green nurbs.b_spline_surface_n_lib_p1 green
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
N_CrvRemoveKnots | NL_CrvTool.cpp:2295 | 418 | [Curve::remove_knots] |
N_CrvReduceDegreeOnce | NL_CrvTool.cpp:3636 | 516 | [Curve::reduce_degree_once], [DegreeReduction] |
N_CrvReduceDegree | NL_CrvTool.cpp:4195 | 51 | [Curve::reduce_degree] |
N_CrvsMakeCompatibleKnotTol | NL_CrvTool.cpp:4289 | 140 | [make_compatible_knot_tol] |
N_CrvsMakeCompatible | NL_CrvTool.cpp:4468 | 6 | [make_compatible] |
N_CrvRemoveDegenSegs | NL_CrvTool.cpp:4527 | 471 | [Curve::remove_degen_segs], [DegenSegRemoval] |
N_CrvsMakeCompatibleAdjKnots | NL_CrvTool.cpp:5237 | 146 | [make_compatible_adj_knots] |
Module file-header table (8 rows)
| Rust | Upstream |
|---|---|
[Curve::remove_knots] | N_CrvRemoveKnots |
[Curve::reduce_degree_once], [DegreeReduction] | N_CrvReduceDegreeOnce |
[Curve::reduce_degree] | N_CrvReduceDegree |
[make_compatible_knot_tol] | N_CrvsMakeCompatibleKnotTol |
[make_compatible] | N_CrvsMakeCompatible |
[Curve::remove_degen_segs], [DegenSegRemoval] | N_CrvRemoveDegenSegs |
[make_compatible_adj_knots] | N_CrvsMakeCompatibleAdjKnots |
[NOT_REMOVABLE] | NOREM (file-private) |
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