solidcore

Units / nurbs

nlib.srf_tool_p3 green

Layer
12
Upstream lines
1,380
Functions
3
Rust module
nurbs::srf_tool::p3

Status history

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

Source: crates/solidcore/src/nurbs/srf_tool/p3.rs

Upstream: source/SMLib/src/NL_SrfTool.cpp

Port-plan notes

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

difftest green: 2518 cases (118 fixture + 2400 generated), 0 deferred, max_rel_err 0; 3 fns; largest: N_SrfRemoveAllKnots, N_SrfJoin, N_MakeSrfsCompatible; unit-SCC #22 (220 units); 199 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,524
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.math green nlib.srf_basic green nlib.srf_tool_p2 green

Soft dependencies: nlib.basis_basic green nlib.knots green nlib.srf_nurb green nlib.srf_tool_p1 green

Dependents: surface.surface_approximate green

Soft dependents: nlib.srf_adv_p6 green nlib.srf_offset green nlib.srf_tool_p4 green nurbs.b_spline_surface_n_lib_p1 green

Upstream functions

Upstream functionDefined atLinesRust (from the file header)
N_SrfRemoveAllKnotsNL_SrfTool.cpp:3114943[remove_all_knots]
N_MakeSrfsCompatibleNL_SrfTool.cpp:6151170[make_compatible]
N_SrfJoinNL_SrfTool.cpp:6504267[join]
Module file-header table (5 rows)
RustUpstream
[remove_all_knots]N_SrfRemoveAllKnots
[make_compatible]N_MakeSrfsCompatible
[join]N_SrfJoin
NO_REMOVAL (private)NOREM (file-private)
remove_knots_kept (crate)shared body of N_SrfRemoveAllKnots / N_SrfRemoveKnotsConstraints

Upstream tests reaching this unit

SM_API_test:TestSmCreateSurfaceFromRandomPoints, SM_API_test:TestSmCreateExtrude, prog_test:my_test_ss_nurb, prog_test:my_test_surface_point_intersect, prog_test:my_test_GlobalCC_intersect, prog_test:my_test_GlobalCSI