Units / nurbs
nlib.srf_tool_p1 green
- Layer
- 5
- Upstream lines
- 1,678
- Functions
- 6
- Rust module
nurbs::srf_tool::p1
Source: crates/solidcore/src/nurbs/srf_tool/p1.rs
Upstream: source/SMLib/src/NL_SrfTool.cpp
Notes
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
Difftest
- Cases
- 3,132
- Passed
- 3,132
- 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.knots green nlib.srf_basic green
Soft dependencies: nlib.crv_basic green nlib.math green
Dependents: none
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 partial nurbs.b_spline_surface_p2 partial nurbs.nurbs_srf green
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
N_SrfInsertKnot | NL_SrfTool.cpp:68 | 282 | [insert_knot] |
N_SrfSplit | NL_SrfTool.cpp:403 | 282 | [split] |
N_SrfDecomposeToBez | NL_SrfTool.cpp:870 | 258 | [decompose_to_bez] |
N_SrfExtractIsoCrv | NL_SrfTool.cpp:1173 | 240 | [extract_iso_crv] |
N_SrfInsertKnots | NL_SrfTool.cpp:1466 | 294 | [insert_knots] |
N_SrfExtractPatch | NL_SrfTool.cpp:1814 | 322 | [extract_patch] |
Module file-header table (6 rows)
| Rust | Upstream |
|---|---|
[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