solidcore

Units / nurbs

nlib.crv_common green

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

Status history

Oct 12Nov 25
  1. todo 803 lines
  2. green 803 lines

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

Upstream: source/SMLib/src/NL_CrvCommon.cpp

Port-plan notes

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

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

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,140
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_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 green

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 (11 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
[quadratic_arc_min_arcs]not upstream (WR-711)
[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