nlib.srf_tool_p2 green
- Layer
- 11
- Upstream lines
- 1,455
- Functions
- 3
- Rust module
nurbs::srf_tool::p2
Status history
- todo 1,455 lines
- green 1,455 lines
Source: crates/solidcore/src/nurbs/srf_tool/p2.rs
Upstream: source/SMLib/src/NL_SrfTool.cpp
Port-plan notes
These notes preserve historical port measurements and limitations, not current CI results.
difftest green: 3102 cases (102 fixture + 3000 generated), 0 deferred, max_rel_err 0; 3 fns; largest: N_SrfElevateDegree, N_SrfRemoveKnotConditional, N_SrfRemoveOneKnot; unit-SCC #22 (220 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
- 3,102
- 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.knots green nlib.math green nlib.srf_basic green
Soft dependencies: nlib.basis_basic green nlib.bezier green nlib.geom green nlib.srf_nurb green
Dependents: nlib.srf_tool_p3 green surface.surface_approximate green
Soft dependents: nlib.srf_adv_p2 green nlib.srf_adv_p3 green nlib.srf_adv_p6 green nlib.srf_tool_p4 green
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
N_SrfRemoveKnotConditional | NL_SrfTool.cpp:2191 | 618 | [remove_knot_conditional], [KnotRemoval] |
N_SrfRemoveOneKnot | NL_SrfTool.cpp:2859 | 207 | [remove_one_knot] |
N_SrfElevateDegree | NL_SrfTool.cpp:4224 | 630 | [elevate_degree] |
Module file-header table (4 rows)
| Rust | Upstream |
|---|---|
[remove_knot_conditional], [KnotRemoval] | N_SrfRemoveKnotConditional |
[remove_one_knot] | N_SrfRemoveOneKnot |
[elevate_degree] | N_SrfElevateDegree |
[REMOVAL_PARAM_TOL] | sto (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