solidcore

Units / nurbs

nlib.crv_fit_p3 green

Layer
7
Upstream lines
1,234
Functions
6
Rust module
nurbs::crv_fit::p3

Source: crates/solidcore/src/nurbs/crv_fit/p3.rs

Upstream: source/SMLib/src/NL_CrvFit.cpp

Notes

6 fns; largest: N_FitCrvKnotsAndTangents, N_FitCubicSplineInterp, N_FitCrvDerivs, N_FitCrvHighDerivs; 317 upstream test entry points reach this unit; difftest green: 2242 cases (242 fixtures + 2000 generated), 0 deferred, max_rel_err 0

Difftest

Cases
2,242
Passed
2,242
Deferred
0
Failed
0
Both errored
0
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.crv_basic green nlib.crv_fit_p1 green nlib.crv_fit_p2 green nlib.geom green nlib.knots green nlib.math green

Soft dependencies: nlib.basis_basic green nlib.crv_nurb green

Dependents: nurbs.b_spline_curve_n_lib green

Soft dependents: nlib.crv_approx green nlib.spiral green

Upstream functions

Upstream functionDefined atLinesRust (from the file header)
N_FitCrvDerivsNL_CrvFit.cpp:2716177[interp_end_derivs], [ParamSource]
N_FitCubicSplineInterpNL_CrvFit.cpp:3615206[cubic_spline_interp]
N_FitCrvFirstDerivNL_CrvFit.cpp:7689168[interp_first_derivs], [VectorKind]
N_FitCrvKnotsAndTangentsNL_CrvFit.cpp:8207359[interp_knots_and_tangents], [EndTangents]
N_FitCrvApproxClosedConditionsNL_CrvFit.cpp:14621147[approx_closed_conditions]
N_FitCrvHighDerivsNL_CrvFit.cpp:14829177[interp_high_derivs]
Module file-header table (6 rows)
RustUpstream
[interp_end_derivs], [ParamSource]N_FitCrvDerivs (par, NL_INHERITED)
[cubic_spline_interp]N_FitCubicSplineInterp
[interp_first_derivs], [VectorKind]N_FitCrvFirstDeriv (vec / der: NL_TANGENT / NL_DERIVATIVE)
[interp_knots_and_tangents], [EndTangents]N_FitCrvKnotsAndTangents
[approx_closed_conditions]N_FitCrvApproxClosedConditions
[interp_high_derivs]N_FitCrvHighDerivs

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