solidcore

Units / nurbs

nlib.basis_basic green

Layer
2
Upstream lines
786
Functions
8
Rust module
nurbs::basis_basic

Source: crates/solidcore/src/nurbs/basis_basic.rs

Upstream: source/SMLib/src/NL_BasisBasic.cpp

Notes

8 fns; green: 2596 difftest cases (1096 fixture + 1500 generated), 0 deferred, bit-identical (max_rel_err 0); 201,096-case run also clean. See plan/findings.md

Difftest

Cases
2,596
Passed
2,596
Deferred
0
Failed
0
Both errored
195
Max rel. error
0.0
Tolerance
1e-09 rel.
Seeds
16

Blocked by

Nothing: no deferred cases.

Report JSON (per-case results)

Dependencies

Depends on: nlib.knots green

Soft dependencies: nlib.geom green nlib.math green

Dependents: nlib.crv_tool_p2 green

Soft dependents: nlib.basis_adv green nlib.crv_adv_p1 green nlib.crv_adv_p2 green nlib.crv_fit_p1 green nlib.crv_fit_p2 green nlib.crv_fit_p3 green nlib.crv_tool_p1 green nlib.funcs_adv green nlib.funcs_basic green nlib.srf_adv_p6 green nlib.srf_tool_p2 green nlib.srf_tool_p3 green nlib.srf_tool_p4 green nurbs.b_spline_curve_p1 green

Upstream functions

Upstream functionDefined atLinesRust (from the file header)
N_BasisFindGlobalMaxNL_BasisBasic.cpp:1751142[find_global_max]
N_BasisFindAllSpanMaximaNL_BasisBasic.cpp:1936131[find_all_span_maxima], [SpanMaxima]
N_BasisReparamNL_BasisBasic.cpp:220225[reparam]
N_GetCompatibleKnotArrayNL_BasisBasic.cpp:226810[compatible_knot_array]
N_GetCompatibleKnotVectorToTolNL_BasisBasic.cpp:2483197[compatible_knot_vectors_to_tol]
ST_notdoneNL_BasisBasic.cpp:269526not_done (private)
N_BasisDerivsNL_BasisBasic.cpp:2987178[basis_derivs], [BasisDerivs]
N_MakeKnotsCompatibleNL_BasisBasic.cpp:366577[make_knots_compatible]
Module file-header table (9 rows)
RustUpstream
[find_global_max]N_BasisFindGlobalMax
[find_all_span_maxima], [SpanMaxima]N_BasisFindAllSpanMaxima
[reparam]N_BasisReparam
[compatible_knot_array]N_GetCompatibleKnotArray
[compatible_knot_vectors_to_tol]N_GetCompatibleKnotVectorToTol
not_done (private)ST_notdone
[basis_derivs], [BasisDerivs]N_BasisDerivs
[make_knots_compatible]N_MakeKnotsCompatible
[PTOL]NL_PTOL (never reassigned upstream)

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