solidcore

Units / sweep

sweep.rotational_sweep_geometry green

Layer
52
Upstream lines
1,542
Functions
16
Rust module
sweep::rotational_sweep_geometry

Status history

Oct 12Nov 25
  1. todo 1,542 lines
  2. partial 1,542 lines
  3. green 1,542 lines

Source: crates/solidcore/src/sweep/rotational_sweep_geometry.rs

Upstream: source/SMLib/inc/SmRotationalSweepGeometry.h, source/SMLib/src/SmRotationalSweepGeometry.cpp

Port-plan notes

These notes preserve historical port measurements and limitations, not current CI results.

SurfaceKind::Sphere/Torus (#76 follow-up to #313, 2026-10-21): 761 cases, 761 pass, 0 failed, 0 deferred, max_rel_err 0 (before 759 / 2 deferred on 'SmSphere as SmSurface'); --perturb SENSITIVE 761/761; partial -> green. #76 kernel-aware Surface dispatch (PR #313, 2026-10-21): 761 cases, 725 pass, 0 failed, 36 deferred (surface.sphere 36), max_rel_err 0; before 718 pass / 43 deferred. 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

Goldens

This is committed inventory, not a runtime result or a correctness proof. A golden records what solidcore produced when blessed. Current results require the canonical CI gate, not these counts.

Golden records
823
Stored error outcomes
0
Stored deferrals
0
Stored harness rejections
0
Known-failure entries
0

Metadata counts describe fields in the stored records; they are not passes or live failures.

Source at f9704ee3b: golden JSONL · known-failure list.

Dependencies

Depends on: curve.curve_p2 green geom.axis2_placement green geom.extent1d green geom.object green geom.solution_array green geom.vector3d green nurbs.b_spline_surface_p1 green surface.surface_p2 partial sweep.topology_sweep green topology.edge green

Soft dependencies: curve.curve_p4 green 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 green nurbs.b_spline_surface_p2 green surface.surface_p6 green surface.surface_p7 green topology.brep_p1 green topology.face_p2 partial topology.vertex green

Dependents: none

Soft dependents: primitive.primitive_creation_p3 green

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