solidcore

Units / nurbs

nlib.srf_tool_p1 green

Layer
5
Upstream lines
1,678
Functions
6
Rust module
nurbs::srf_tool::p1

Status history

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

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

Upstream: source/SMLib/src/NL_SrfTool.cpp

Port-plan notes

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

6 fns; largest: N_SrfExtractPatch, N_SrfInsertKnots, N_SrfInsertKnot, N_SrfSplit; 317 upstream test entry points reach this unit; GREEN: difftest 3132 cases (132 fixture + 3000 generated), 0 deferred, max_rel_err 0 (bit-identical); perturb SENSITIVE

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
3,133
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.knots green nlib.srf_basic green

Soft dependencies: nlib.crv_basic green nlib.math green

Dependents: surface.surface_approximate green

Soft dependents: nlib.srf_adv_p1 green nlib.srf_adv_p2 green nlib.srf_adv_p3 green nlib.srf_adv_p6 green nlib.srf_nurb green nlib.srf_offset green nlib.srf_tool_p3 green nurbs.b_spline_surface_n_lib_p2 green nurbs.b_spline_surface_p2 green nurbs.nurbs_srf green

Upstream functions

Upstream functionDefined atLinesRust (from the file header)
N_SrfInsertKnotNL_SrfTool.cpp:68282[insert_knot]
N_SrfSplitNL_SrfTool.cpp:403282[split]
N_SrfDecomposeToBezNL_SrfTool.cpp:870258[decompose_to_bez]
N_SrfExtractIsoCrvNL_SrfTool.cpp:1173240[extract_iso_crv]
N_SrfInsertKnotsNL_SrfTool.cpp:1466294[insert_knots]
N_SrfExtractPatchNL_SrfTool.cpp:1814322[extract_patch]
Module file-header table (6 rows)
RustUpstream
[insert_knot]N_SrfInsertKnot
[split]N_SrfSplit
[decompose_to_bez]N_SrfDecomposeToBez
[extract_iso_crv]N_SrfExtractIsoCrv
[insert_knots]N_SrfInsertKnots
[extract_patch]N_SrfExtractPatch

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