Units / sweep
sweep.trans_sweep_geometry partial
- Layer
- 52
- Upstream lines
- 817
- Functions
- 11
- Rust module
sweep::trans_sweep_geometry
Source: crates/solidcore/src/sweep/trans_sweep_geometry.rs
Upstream: source/SMLib/inc/SmTransSweepGeometry.h, source/SMLib/src/SmTransSweepGeometry.cpp
Notes
PARTIAL (PR #127): 788 cases, 719 bit-identical passes, 50 deferred on surface.cone_p2, 19 rejected native fixtures (not parity passes); zero failures, no absolute floors. All 11 owned functions plus GetEndCoordSystem ported; compiled SM_SWEEP_CHECKS-disabled behavior. Shared SweepGeometryCreation and SweepCheckType; native lines/circles/non-circular ellipses/Hermite/2D and rational B-splines/planes; constructor-failure guard regressions and Cartesian op/kind/flag coverage; ordered boundaries, endpoint aliases, tolerances, runtime types and evaluations compared. No incoming UNPORTED back-edges. 11 fns; largest: SmTranslationalSweepGeometry::CheckCurveSweep, SmTranslationalSweepGeometry::EdgeSweepHigher, SmTranslationalSweepGeometry::EdgeSweepSame, SmTranslationalSweepGeometry::FaceSweepSame; unit-SCC #22 (220 units); 45 upstream test entry points reach this unit
Difftest
- Cases
- 788
- Passed
- 719
- Deferred
- 50
- Failed
- 0
- Both errored
- 0
- Max rel. error
- 0.0
- Tolerance
- 1e-09 rel.
- Seeds
- 16
Blocked by
| Unported unit | Deferred cases |
|---|---|
surface.cone_p2 claimed | 50 |
Report JSON (per-case results)
Dependencies
Depends on: curve.curve_p2 green geom.axis2_placement green geom.extent2d green geom.vector3d green surface.surface_p2 partial sweep.topology_sweep claimed topology.edge partial
Soft dependencies: curve.curve_p7 green curve.line green geom.object partial geom.solution_array partial geom.tol green geom.vector2d green nurbs.b_spline_curve_p1 green nurbs.b_spline_surface_n_lib_p1 green nurbs.b_spline_surface_p1 green nurbs.b_spline_surface_p2 partial surface.surface_p7 partial topology.brep_p1 claimed topology.face_p2 partial topology.vertex partial
Dependents: none
Soft dependents: primitive.primitive_creation_p3 todo
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
SmTranslationalSweepGeometry::~SmTranslationalSweepGeometry | SmTransSweepGeometry.h:40 | 1 | |
SmTranslationalSweepGeometry::SmTranslationalSweepGeometry | SmTransSweepGeometry.cpp:26 | 7 | [TranslationalSweepGeometry] |
SmTranslationalSweepGeometry::Copy | SmTransSweepGeometry.cpp:39 | 8 | |
SmTranslationalSweepGeometry::GetStartCoordSystem | SmTransSweepGeometry.cpp:56 | 29 | [TranslationalSweepGeometry::start_coord_system] |
SmTranslationalSweepGeometry::GetSweepTransform | SmTransSweepGeometry.cpp:113 | 11 | [TranslationalSweepGeometry::sweep_transform] |
SmTranslationalSweepGeometry::VertexSweepHigher | SmTransSweepGeometry.cpp:131 | 38 | [TranslationalSweepGeometry::vertex_sweep_higher] |
SmTranslationalSweepGeometry::VertexSweepSame | SmTransSweepGeometry.cpp:176 | 27 | [TranslationalSweepGeometry::vertex_sweep_same] |
SmTranslationalSweepGeometry::EdgeSweepHigher | SmTransSweepGeometry.cpp:212 | 252 | [TranslationalSweepGeometry::edge_sweep_higher] |
SmTranslationalSweepGeometry::EdgeSweepSame | SmTransSweepGeometry.cpp:470 | 54 | [TranslationalSweepGeometry::edge_sweep_same] |
SmTranslationalSweepGeometry::FaceSweepSame | SmTransSweepGeometry.cpp:530 | 41 | [TranslationalSweepGeometry::face_sweep_same] |
SmTranslationalSweepGeometry::CheckCurveSweep | SmTransSweepGeometry.cpp:628 | 349 | [TranslationalSweepGeometry::check_curve_sweep] |
Module file-header table (10 rows)
| Rust | Upstream |
|---|---|
[TranslationalSweepGeometry] | SmTranslationalSweepGeometry |
[TranslationalSweepGeometry::start_coord_system] | GetStartCoordSystem |
[TranslationalSweepGeometry::end_coord_system] | GetEndCoordSystem |
[TranslationalSweepGeometry::sweep_transform] | GetSweepTransform |
[TranslationalSweepGeometry::vertex_sweep_higher] | VertexSweepHigher |
[TranslationalSweepGeometry::vertex_sweep_same] | VertexSweepSame |
[TranslationalSweepGeometry::edge_sweep_higher] | EdgeSweepHigher |
[TranslationalSweepGeometry::edge_sweep_same] | EdgeSweepSame |
[TranslationalSweepGeometry::face_sweep_same] | FaceSweepSame |
[TranslationalSweepGeometry::check_curve_sweep] | CheckCurveSweep |
Upstream tests reaching this unit
prog_test:my_sweep_null_region_counts, prog_test:my_test_dosweep_null_region, SM_API_test:TestNonManifoldSweepDistinctTarget, SM_API_test:TestNonManifoldSweepNullEntry, SM_API_test:TestNonManifoldSweepStaleEntry, SM_API_test:TestSmCreateLinearSweepCylinder