nlib.srf_adv_p1 green
- Layer
- 15
- Upstream lines
- 1,188
- Functions
- 5
- Rust module
nurbs::srf_adv::p1
Status history
- todo 1,188 lines
- green 1,188 lines
Source: crates/solidcore/src/nurbs/srf_adv/p1.rs
Upstream: source/SMLib/src/NL_SrfAdv.cpp
Port-plan notes
These notes preserve historical port measurements and limitations, not current CI results.
5 fns; largest: N_CreateSkinSpine, N_SrfEvalPtDerivsUnbounded, N_CrossBoundaryDerivsVectorField, N_SrfOffsetGetMaxDeriv; unit-SCC #22 (220 units); 317 upstream test entry points reach this unit; green: 2886 difftest cases (386 fixtures + 2500 generated), 0 deferred, bit-identical UPDATE (2026-11-04): N_SrfExtendByDist's port deleted with the fitted surface extension; its difftest op extend_by_dist removed (128 fixtures, 1 fuzz-corpus entry, generator arm, shim op 0). difftest 2758 cases (258 fixtures + 2500 generated), all pass bit-identical.
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,758
- 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_nurb green nlib.geom green nlib.math green nlib.srf_basic green nlib.srf_nurb green
Soft dependencies: nlib.crv_fit_p2 green nlib.crv_tool_p2 green nlib.funcs_basic green nlib.srf_adv_p2 green nlib.srf_adv_p3 green nlib.srf_adv_p4 green nlib.srf_fit green nlib.srf_tool_p1 green
Dependents: none
Soft dependents: nlib.srf_adv_p6 green nlib.srf_offset green nurbs.b_spline_surface_n_lib_p1 green nurbs.b_spline_surface_n_lib_p2 green surface.offset_surface green
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
N_SrfExtendByDist | NL_SrfAdv.cpp:661 | 26 | |
N_SrfOffsetGetMaxDeriv | NL_SrfAdv.cpp:4642 | 139 | [offset_get_max_deriv], [MaxSecondDerivs] |
N_SrfEvalPtDerivsUnbounded | NL_SrfAdv.cpp:5446 | 170 | [eval_pt_derivs_unbounded], [UnboundedExtension] |
N_CreateSkinSpine | NL_SrfAdv.cpp:10401 | 703 | [create_skin_spine], [SkinSpineOptions], [SpineAlignment], [SkinDerivs] |
N_CrossBoundaryDerivsVectorField | NL_SrfAdv.cpp:22790 | 150 | [cross_boundary_derivs_vector_field] |
Module file-header table (6 rows)
| Rust | Upstream |
|---|---|
[offset_get_max_deriv], [MaxSecondDerivs] | N_SrfOffsetGetMaxDeriv |
[eval_pt_derivs_unbounded], [UnboundedExtension] | N_SrfEvalPtDerivsUnbounded |
[create_skin_spine], [SkinSpineOptions], [SpineAlignment], [SkinDerivs] | N_CreateSkinSpine |
[cross_boundary_derivs_vector_field] | N_CrossBoundaryDerivsVectorField |
[G1_ANGLE_TOL] | g1tol (local of N_SrfEvalPtDerivsUnbounded) |
[MAX_PERIOD_SHIFTS] | no counterpart (loop bound) |
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