Units / sweep
sweep.rotational_sweep_geometry partial
- Layer
- 52
- Upstream lines
- 1,542
- Functions
- 16
- Rust module
sweep::rotational_sweep_geometry
Source: crates/solidcore/src/sweep/rotational_sweep_geometry.rs
Upstream: source/SMLib/inc/SmRotationalSweepGeometry.h, source/SMLib/src/SmRotationalSweepGeometry.cpp
Notes
16 fns; largest: SmRotationalSweepGeometry::EdgeSweepHigher, SmRotationalSweepGeometry::CheckCurveSweep, sm_CheckEdgeOnAxis, SmRotationalSweepGeometry::EdgeSweepSame; unit-SCC #22 (220 units); 45 upstream test entry points reach this unit; PR #126: 761 cases (361 fixtures, 400 generated), 718 passed, 43 deferred (surface.cone_p2: SmCone::IsNurbSurfaceCone via CopyAndAddAnalytics), max_rel_err 0; 4361 cases with --seeds 4000 also pass (396 deferred). Co-ports SmSweepGeometryCreation members into sweep::topology_sweep; UB-130 (sSolutions[1] with one solution) reads a zero-filled slot
Difftest
- Cases
- 761
- Passed
- 718
- Deferred
- 43
- 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 | 43 |
Report JSON (per-case results)
Dependencies
Depends on: curve.curve_p2 green geom.axis2_placement green geom.extent1d green geom.object partial geom.solution_array partial geom.vector3d green nurbs.b_spline_surface_p1 green surface.surface_p2 partial sweep.topology_sweep claimed topology.edge partial
Soft dependencies: curve.curve_p4 partial curve.curve_p8 green curve.line green geom.extent2d green geom.geom_utility_p1 green geom.tol green nurbs.b_spline_curve_p1 green nurbs.b_spline_curve_p3 partial nurbs.b_spline_surface_p2 partial surface.surface_p6 green 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) |
|---|---|---|---|
SmRotationalSweepGeometry::~SmRotationalSweepGeometry | SmRotationalSweepGeometry.h:47 | 1 | (dropped) |
sm_CheckEdgeCurveLine | SmRotationalSweepGeometry.cpp:33 | 27 | check_edge_curve_line (private) |
sm_CheckEdgeVerticesOnAxis | SmRotationalSweepGeometry.cpp:67 | 70 | check_edge_vertices_on_axis (private) |
sm_CheckEdgeOnAxis | SmRotationalSweepGeometry.cpp:143 | 111 | check_edge_on_axis (private) |
SmRotationalSweepGeometry::IsSweepClosed | SmRotationalSweepGeometry.cpp:260 | 16 | [RotationalSweepGeometry::is_sweep_closed] |
SmRotationalSweepGeometry::CheckCurveSweep | SmRotationalSweepGeometry.cpp:334 | 443 | [RotationalSweepGeometry::check_curve_sweep] |
SmRotationalSweepGeometry::SmRotationalSweepGeometry | SmRotationalSweepGeometry.cpp:783 | 35 | [RotationalSweepGeometry] |
SmRotationalSweepGeometry::Copy | SmRotationalSweepGeometry.cpp:824 | 11 | [RotationalSweepGeometry::copy] |
SmRotationalSweepGeometry::GetStartCoordSystem | SmRotationalSweepGeometry.cpp:841 | 23 | [RotationalSweepGeometry::start_coord_system] |
SmRotationalSweepGeometry::GetSweepTransform | SmRotationalSweepGeometry.cpp:891 | 13 | [RotationalSweepGeometry::sweep_transform] |
SmRotationalSweepGeometry::VertexSweepHigher | SmRotationalSweepGeometry.cpp:911 | 69 | [RotationalSweepGeometry::vertex_sweep_higher] |
SmRotationalSweepGeometry::VertexSweepSame | SmRotationalSweepGeometry.cpp:987 | 37 | [RotationalSweepGeometry::vertex_sweep_same] |
sm_CreateRotSrf | SmRotationalSweepGeometry.cpp:1031 | 39 | create_rot_srf (private) |
SmRotationalSweepGeometry::EdgeSweepHigher | SmRotationalSweepGeometry.cpp:1082 | 528 | [RotationalSweepGeometry::edge_sweep_higher], [EdgeSweepHigher] |
SmRotationalSweepGeometry::EdgeSweepSame | SmRotationalSweepGeometry.cpp:1617 | 81 | [RotationalSweepGeometry::edge_sweep_same] |
SmRotationalSweepGeometry::FaceSweepSame | SmRotationalSweepGeometry.cpp:1704 | 38 | [RotationalSweepGeometry::face_sweep_same] |
Module file-header table (18 rows)
| Rust | Upstream |
|---|---|
[RotationalSweepGeometry] | SmRotationalSweepGeometry |
[RotationalSweepGeometry::new] | SmRotationalSweepGeometry(..) |
[RotationalSweepGeometry::copy] | Copy |
| (dropped) | ~SmRotationalSweepGeometry |
[RotationalSweepGeometry::is_sweep_closed] | IsSweepClosed |
[RotationalSweepGeometry::check_curve_sweep] | CheckCurveSweep |
[RotationalSweepGeometry::start_coord_system] | GetStartCoordSystem |
[RotationalSweepGeometry::end_coord_system] | GetEndCoordSystem |
[RotationalSweepGeometry::sweep_transform] | GetSweepTransform |
[RotationalSweepGeometry::vertex_sweep_higher] | VertexSweepHigher |
[RotationalSweepGeometry::vertex_sweep_same] | VertexSweepSame |
[RotationalSweepGeometry::edge_sweep_higher], [EdgeSweepHigher] | EdgeSweepHigher |
[RotationalSweepGeometry::edge_sweep_same] | EdgeSweepSame |
[RotationalSweepGeometry::face_sweep_same] | FaceSweepSame |
check_edge_curve_line (private) | sm_CheckEdgeCurveLine (static) |
check_edge_vertices_on_axis (private) | sm_CheckEdgeVerticesOnAxis (static) |
check_edge_on_axis (private) | sm_CheckEdgeOnAxis (static) |
create_rot_srf (private) | sm_CreateRotSrf (static) |
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