Units / nurbs
nlib.iges green
- Layer
- 5
- Upstream lines
- 1,055
- Functions
- 7
- Rust module
nurbs::iges
Source: crates/solidcore/src/nurbs/iges.rs
Upstream: source/SMLib/src/NL_Iges.cpp
Notes
7 fns; largest: N_IgesClampSrf, N_IgesCorrectSrfKnots, N_IgesClampCrv, N_IgesCorrectCrvKnots; 317 upstream test entry points reach this unit; difftest: 2029 cases (29 fixtures + 2000 generated), deferred=0
Difftest
- Cases
- 2,029
- Passed
- 2,029
- 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.crv_basic green nlib.math green nlib.srf_basic green
Soft dependencies: nlib.geom green nlib.knots green
Dependents: none
Soft dependents: nurbs.b_spline_curve_p1 green nurbs.b_spline_surface_p1 green
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
N_Iges126Crv | NL_Iges.cpp:77 | 108 | [Entity126] |
N_IgesClampCrv | NL_Iges.cpp:224 | 152 | [clamp_curve] |
N_IgesCorrectCrvKnots | NL_Iges.cpp:411 | 123 | [correct_curve_knots] |
N_IgesValidate | NL_Iges.cpp:576 | 29 | [validate] |
N_Iges128Srf | NL_Iges.cpp:665 | 112 | [Entity128] |
N_IgesClampSrf | NL_Iges.cpp:817 | 302 | [clamp_surface] |
N_IgesCorrectSrfKnots | NL_Iges.cpp:1156 | 229 | [correct_surface_knots] |
Module file-header table (11 rows)
| Rust | Upstream |
|---|---|
[Entity126] | the arguments of N_Iges126Crv |
[iges_126_curve] | N_Iges126Crv |
[clamp_curve] | N_IgesClampCrv |
[correct_curve_knots] | N_IgesCorrectCrvKnots |
[validate] | N_IgesValidate |
[Entity128] | the arguments of N_Iges128Srf |
[iges_128_surface] | N_Iges128Srf |
[clamp_surface] | N_IgesClampSrf |
[correct_surface_knots] | N_IgesCorrectSrfKnots |
clamp_dir (private) | the clamping loops shared by N_IgesClampCrv / N_IgesClampSrf |
correct_dir (private) | the knot loops shared by N_IgesCorrectCrvKnots / N_IgesCorrectSrfKnots |
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