solidcore

Units / nurbs

nlib.crv_common green

Layer
8
Upstream lines
803
Functions
8
Rust module
nurbs::crv_common

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

Upstream: source/SMLib/src/NL_CrvCommon.cpp

Notes

8 fns; largest: N_CreateQuarticArcTol, N_CreateQuadraticArcTol, N_CreateQuinticArcTol, N_CreateEllipticalArcAngTypeTol; 317 upstream test entry points reach this unit; difftest: 2137 cases (137 fixture + 2000 generated), 0 deferred, bit-exact

Difftest

Cases
2,137
Passed
2,137
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.geom green nlib.math green

Soft dependencies: nlib.crv_geom green nlib.crv_tool_p1 green

Dependents: none

Soft dependents: curve.ellipse_p1 green nlib.crv_offset green nlib.srf_common green nurbs.b_spline_curve_p1 green primitive.primitive_creation_p1 claimed

Upstream functions

Upstream functionDefined atLinesRust (from the file header)
N_CreateQuadraticArcTolNL_CrvCommon.cpp:75173[quadratic_arc_tol]
N_CreateQuarticArcTolNL_CrvCommon.cpp:311205[quartic_arc_tol]
N_CreateQuinticArcTolNL_CrvCommon.cpp:581157[quintic_arc_tol]
N_CreateCircArcNL_CrvCommon.cpp:74524[circ_arc], [DEFAULT_ANGLE_TOL]
N_CreateCircArcTolNL_CrvCommon.cpp:82356[circ_arc_tol]
N_CalcCircWeightsNL_CrvCommon.cpp:91944[circ_weights]
N_CreateEllipticalArcTolNL_CrvCommon.cpp:98916[elliptical_arc_tol]
N_CreateEllipticalArcAngTypeTolNL_CrvCommon.cpp:1090128[elliptical_arc_ang_type_tol], [AngleType]
Module file-header table (10 rows)
RustUpstream
[Arc]the C, X, Y, r, as, ae arguments
[EllipseArc]the C, X, Y, r1, r2, as, ae arguments
[quadratic_arc_tol]N_CreateQuadraticArcTol
[quartic_arc_tol]N_CreateQuarticArcTol
[quintic_arc_tol]N_CreateQuinticArcTol
[circ_arc], [DEFAULT_ANGLE_TOL]N_CreateCircArc (at = 0.01)
[circ_arc_tol]N_CreateCircArcTol
[circ_weights]N_CalcCircWeights
[elliptical_arc_tol]N_CreateEllipticalArcTol
[elliptical_arc_ang_type_tol], [AngleType]N_CreateEllipticalArcAngTypeTol

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