solidcore

Units / nurbs

nlib.crv_approx green

Layer
10
Upstream lines
908
Functions
3
Rust module
nurbs::crv_approx

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

Upstream: source/SMLib/src/NL_CrvApprox.cpp

Notes

3 fns; largest: N_CalcNumCPtsToApproxArc, N_ApproxCircArcWithCrvData, N_ApproxNurbsWithNonRatCrv; 151 upstream test entry points reach this unit; difftest: 1646 cases (146 fixture + 1500 generated), 0 deferred, max_rel_err 0

Difftest

Cases
1,646
Passed
1,646
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.funcs_basic green nlib.geom green nlib.math green

Soft dependencies: nlib.crv_adv_p1 green nlib.crv_adv_p2 green nlib.crv_fit_p2 green nlib.crv_fit_p3 green nlib.crv_geom green nlib.crv_nurb green nlib.crv_tool_p1 green nlib.knots green nlib.srf_fit green

Dependents: nurbs.b_spline_curve_n_lib green

Soft dependents: none

Upstream functions

Upstream functionDefined atLinesRust (from the file header)
N_CalcNumCPtsToApproxArcNL_CrvApprox.cpp:1892324[calc_num_cpts_to_approx_arc]
N_ApproxCircArcWithCrvDataNL_CrvApprox.cpp:2274321[approx_circ_arc_with_crv_data], [CircArcData]
N_ApproxNurbsWithNonRatCrvNL_CrvApprox.cpp:2698263[approx_nurbs_with_non_rat_crv]
Module file-header table (4 rows)
RustUpstream
[calc_num_cpts_to_approx_arc]N_CalcNumCPtsToApproxArc
[arc_cpts_function]the table fit of N_CalcNumCPtsToApproxArc (sfn NULL on input)
[approx_circ_arc_with_crv_data], [CircArcData]N_ApproxCircArcWithCrvData
[approx_nurbs_with_non_rat_crv]N_ApproxNurbsWithNonRatCrv

Upstream tests reaching this unit

prog_test:my_test_parallel_projection, prog_test:my_test_tsurf_projection, prog_test:my_test_surface_interface, prog_test:my_test_ssi, prog_test:my_test_tsurf_section, prog_test:my_test_bsplinesurface_nlib