solidcore

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 unitDeferred cases
surface.cone_p2 claimed43

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 functionDefined atLinesRust (from the file header)
SmRotationalSweepGeometry::~SmRotationalSweepGeometrySmRotationalSweepGeometry.h:471(dropped)
sm_CheckEdgeCurveLineSmRotationalSweepGeometry.cpp:3327check_edge_curve_line (private)
sm_CheckEdgeVerticesOnAxisSmRotationalSweepGeometry.cpp:6770check_edge_vertices_on_axis (private)
sm_CheckEdgeOnAxisSmRotationalSweepGeometry.cpp:143111check_edge_on_axis (private)
SmRotationalSweepGeometry::IsSweepClosedSmRotationalSweepGeometry.cpp:26016[RotationalSweepGeometry::is_sweep_closed]
SmRotationalSweepGeometry::CheckCurveSweepSmRotationalSweepGeometry.cpp:334443[RotationalSweepGeometry::check_curve_sweep]
SmRotationalSweepGeometry::SmRotationalSweepGeometrySmRotationalSweepGeometry.cpp:78335[RotationalSweepGeometry]
SmRotationalSweepGeometry::CopySmRotationalSweepGeometry.cpp:82411[RotationalSweepGeometry::copy]
SmRotationalSweepGeometry::GetStartCoordSystemSmRotationalSweepGeometry.cpp:84123[RotationalSweepGeometry::start_coord_system]
SmRotationalSweepGeometry::GetSweepTransformSmRotationalSweepGeometry.cpp:89113[RotationalSweepGeometry::sweep_transform]
SmRotationalSweepGeometry::VertexSweepHigherSmRotationalSweepGeometry.cpp:91169[RotationalSweepGeometry::vertex_sweep_higher]
SmRotationalSweepGeometry::VertexSweepSameSmRotationalSweepGeometry.cpp:98737[RotationalSweepGeometry::vertex_sweep_same]
sm_CreateRotSrfSmRotationalSweepGeometry.cpp:103139create_rot_srf (private)
SmRotationalSweepGeometry::EdgeSweepHigherSmRotationalSweepGeometry.cpp:1082528[RotationalSweepGeometry::edge_sweep_higher], [EdgeSweepHigher]
SmRotationalSweepGeometry::EdgeSweepSameSmRotationalSweepGeometry.cpp:161781[RotationalSweepGeometry::edge_sweep_same]
SmRotationalSweepGeometry::FaceSweepSameSmRotationalSweepGeometry.cpp:170438[RotationalSweepGeometry::face_sweep_same]
Module file-header table (18 rows)
RustUpstream
[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