solidcore

Units / nurbs

nlib.crv_adv_p2 green

Layer
9
Upstream lines
1,722
Functions
16
Rust module
nurbs::crv_adv::p2

Status history

Oct 12Nov 25
  1. todo 1,722 lines
  2. green 1,722 lines

Source: crates/solidcore/src/nurbs/crv_adv/p2.rs

Upstream: source/SMLib/src/NL_CrvAdv.cpp

Port-plan notes

These notes preserve historical port measurements and limitations, not current CI results.

difftest green: 2815 cases (815 fixtures + 2000 generated), 0 deferred; 300,815-case run clean. 16 fns; largest: N_CrvRemoveKnotsDerivConstraints, N_CrvSumDiffCrv, N_SrfReparamMultKnots, N_CrvRatGetFirstDeriv; 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
2,820
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_adv_p1 green nlib.crv_basic green nlib.crv_nurb green nlib.crv_tool_p1 green nlib.funcs_adv green nlib.funcs_basic green nlib.knots green nlib.math green

Soft dependencies: nlib.basis_adv green nlib.basis_basic green nlib.crv_geom green nlib.geom green

Dependents: nlib.srf_adv_p4 green nlib.srf_adv_p5 green nurbs.b_spline_curve_n_lib green

Soft dependents: nlib.crv_approx green nlib.crv_offset green nlib.srf_adv_p2 green nurbs.b_spline_surface_n_lib_p1 green

Upstream functions

Upstream functionDefined atLinesRust (from the file header)
N_CrvExtendByDistNL_CrvAdv.cpp:6305[Curve::extend_by_dist]
N_CrvOffsetGetMax2ndDerivNL_CrvAdv.cpp:327970[Curve::offset_max_2nd_deriv]
N_CrvExtendByParamDistNL_CrvAdv.cpp:352312[Curve::extend_by_param_dist]
N_CrvEvalUnboundedPtsAndDerivsNL_CrvAdv.cpp:4257114[Curve::eval_unbounded_pts_and_derivs], [UnboundedEval], [Closure]
N_CrvRemoveKnotsDerivConstraintsNL_CrvAdv.cpp:8121439[Curve::remove_knots_deriv_constraints], [ConstrainedEnds]
N_CrvRefineToKnotVectorNL_CrvAdv.cpp:8770113[Curve::refine_to_knot_vector]
N_CrvSumDiffCrvNL_CrvAdv.cpp:10058259[Curve::sum_diff], [SumDiff]
N_CrvNonRatGetFirstDerivNL_CrvAdv.cpp:1099594[Curve::non_rat_first_deriv]
N_CrvRatGetFirstDerivNL_CrvAdv.cpp:11128132[Curve::rat_first_deriv]
N_ConstantMultiplyCrvNL_CrvAdv.cpp:1263516[Curve::constant_multiply]
N_LinearMultiplyCrvNL_CrvAdv.cpp:1268837[Curve::linear_multiply]
N_ConstantMultiplyCrv4dNL_CrvAdv.cpp:1284516[Curve::constant_multiply_4d]
N_CrvReparamRatNL_CrvAdv.cpp:12921105[Curve::reparam_rat]
N_CrvReparamWeightsNL_CrvAdv.cpp:1306063[Curve::reparam_weights]
N_SrfReparamMultKnotsNL_CrvAdv.cpp:13712137[Curve::reparam_mult_knots]
N_SrfReparamWeightsNL_CrvAdv.cpp:13887110[Curve::reparam_end_weights]
Module file-header table (17 rows)
RustUpstream
[Curve::extend_by_dist]N_CrvExtendByDist
[Curve::extend_by_param_dist]N_CrvExtendByParamDist
[Curve::offset_max_2nd_deriv]N_CrvOffsetGetMax2ndDeriv
[Curve::eval_unbounded_pts_and_derivs], [UnboundedEval], [Closure]N_CrvEvalUnboundedPtsAndDerivs
[Curve::remove_knots_deriv_constraints], [ConstrainedEnds]N_CrvRemoveKnotsDerivConstraints
[Curve::refine_to_knot_vector]N_CrvRefineToKnotVector
[Curve::sum_diff], [SumDiff]N_CrvSumDiffCrv
[Curve::non_rat_first_deriv]N_CrvNonRatGetFirstDeriv
[Curve::rat_first_deriv]N_CrvRatGetFirstDeriv
[Curve::constant_multiply]N_ConstantMultiplyCrv
[Curve::linear_multiply]N_LinearMultiplyCrv
[Curve::constant_multiply_4d]N_ConstantMultiplyCrv4d
[Curve::reparam_rat]N_CrvReparamRat
[Curve::reparam_weights]N_CrvReparamWeights
[Curve::reparam_mult_knots]N_SrfReparamMultKnots
[Curve::reparam_end_weights]N_SrfReparamWeights
[G1_ANGLE_TOL]g1tol of N_CrvEvalUnboundedPtsAndDerivs

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