solidcore

Units / nurbs

nlib.srf_common green

Layer
9
Upstream lines
661
Functions
5
Rust module
nurbs::srf_common

Status history

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

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

Upstream: source/SMLib/src/NL_SrfCommon.cpp

Port-plan notes

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

5 fns; largest: N_CreateCylCone, N_CreateRuledSrf, N_CreateRevolvedSrf, N_CreateSrfExtrudeCrv; 228 upstream test entry points reach this unit; difftest: 1550 cases (50 fixtures + 1500 generated), 0 deferred

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
1,550
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_common green nlib.crv_tool_p2 green nlib.srf_basic green

Dependents: nlib.srf_adv_p4 green nlib.srf_offset green nurbs.b_spline_surface_p1 green

Soft dependents: nlib.srf_nurb green nurbs.b_spline_surface_n_lib_p1 green primitive.primitive_creation_p1 green

Upstream functions

Upstream functionDefined atLinesRust (from the file header)
N_CreateSrfCornerPtsNL_SrfCommon.cpp:5544[corner_pts]
N_CreateSrfExtrudeCrvNL_SrfCommon.cpp:148134[extrude_crv]
N_CreateCylConeNL_SrfCommon.cpp:341197[cyl_cone], [CylCone]
N_CreateRuledSrfNL_SrfCommon.cpp:846148[ruled_srf]
N_CreateRevolvedSrfNL_SrfCommon.cpp:1398138[revolved_srf]
Module file-header table (5 rows)
RustUpstream
[corner_pts]N_CreateSrfCornerPts
[extrude_crv]N_CreateSrfExtrudeCrv
[cyl_cone], [CylCone]N_CreateCylCone
[ruled_srf]N_CreateRuledSrf
[revolved_srf]N_CreateRevolvedSrf

Upstream tests reaching this unit

SM_API_test:TestSmCreateSurfaceFromCornerPoints, SM_API_test:TestSmIntersectCurveSurface, SM_API_test:TestSmLiftUVCurve, SM_API_test:TestSmProjectCurveToSurface, SM_API_test:TestSmCreateRuledSurface, prog_test:my_test_surf_methods