Units / heal
heal.stitch_p1 claimed
- Layer
- 49
- Upstream lines
- 2,037
- Functions
- 19
- Rust module
heal::stitch::p1
Claimed: #196 @bluecmd (draft)
Source: crates/solidcore/src/heal/stitch/p1.rs (not written yet)
Upstream: source/SMLib/inc/SmStitch.h, source/SMLib/src/SmStitch.cpp, source/SM_API/src/SmApiBrep.cpp
Notes
19 fns; largest: SmStitch::StitchVertexPairs, SmStitch::DoSimpleFaceStitch, SmStitchCallback::SelectTopologyToKeep, SmStitch::StitchEdgesOfVertices; entry points: SmApiSimpleFaceStitch, SmApiStitch, SmApiStitchAdvanced, SmApiStitchIntoShell, SmApiStitchIntoSolid, SmApiUnifyNormals; cycle back-edges (call into later units; stub or co-port): heal.stitch_p2(3), boolean.merge_p2(2), sweep.topology_sweep(1); unit-SCC #22 (220 units); 179 upstream test entry points reach this unit
Difftest
No difftest report yet.
Dependencies
Depends on: curve.curve_p2 green curve.curve_p6 green geom.context green geom.extent1d green geom.extent3d green geom.object partial geom.tree partial geom.vector3d green topology.brep_p1 claimed topology.brep_p5 claimed topology.edge partial topology.edgeuse_p1 partial topology.face_p2 partial topology.face_p4 claimed topology.topology green topology.vertex partial
Soft dependencies: geom.tol green query.brep claimed topology.brep_p2 claimed topology.brep_p7 claimed topology.brep_p9 claimed topology.edgeuse_p3 claimed topology.face_p1 partial
Dependents: blend.fillet_executive_p3 todo boolean.merge_p2 todo heal.stitch_p2 claimed sweep.topology_sweep claimed
Soft dependents: primitive.primitive_creation_p3 todo
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
SmStitchCallback::SmStitchCallback | SmStitch.h:34 | 1 | |
SmStitchCallback::~SmStitchCallback | SmStitch.h:36 | 1 | |
SmStitch::SmStitch | SmStitch.h:99 | 18 | |
SmStitch::~SmStitch | SmStitch.h:118 | 1 | |
SmStitch::SetStitchTol3d | SmStitch.h:120 | 1 | |
SmStitchCallback::SelectTopologyToKeep | SmStitch.cpp:54 | 394 | |
sm_CheckInteriorEdge | SmStitch.cpp:453 | 50 | |
sm_TestAndSplitEdge | SmStitch.cpp:518 | 79 | |
SmStitch::DoSimpleFaceStitch | SmStitch.cpp:617 | 413 | |
SmStitch::UnifyNormals | SmStitch.cpp:2512 | 138 | |
SmStitch::StitchVertexPairs | SmStitch.cpp:3242 | 508 | |
SmStitch::StitchEdgesOfVertices | SmStitch.cpp:3925 | 266 | |
SmApiStitch | SmApiBrep.cpp:1128 | 23 | |
SmApiStitch | SmApiBrep.cpp:1157 | 32 | |
SmApiStitchIntoSolid | SmApiBrep.cpp:2470 | 18 | |
SmApiStitchIntoShell | SmApiBrep.cpp:2494 | 19 | |
SmApiUnifyNormals | SmApiBrep.cpp:2519 | 20 | |
SmApiSimpleFaceStitch | SmApiBrep.cpp:2545 | 23 | |
SmApiStitchAdvanced | SmApiBrep.cpp:2575 | 32 |
Upstream tests reaching this unit
prog_test:my_test_single_periodic_vertexuse, SM_API_test:TestSmAdvancedStitch, SM_API_test:TestSmEdgeCurveOwnership, SM_API_test:TestSmGetClosestPoint, SM_API_test:TestSmGetEdges, SM_API_test:TestSmGetFaces