solidcore

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 functionDefined atLinesRust (from the file header)
SmStitchCallback::SmStitchCallbackSmStitch.h:341
SmStitchCallback::~SmStitchCallbackSmStitch.h:361
SmStitch::SmStitchSmStitch.h:9918
SmStitch::~SmStitchSmStitch.h:1181
SmStitch::SetStitchTol3dSmStitch.h:1201
SmStitchCallback::SelectTopologyToKeepSmStitch.cpp:54394
sm_CheckInteriorEdgeSmStitch.cpp:45350
sm_TestAndSplitEdgeSmStitch.cpp:51879
SmStitch::DoSimpleFaceStitchSmStitch.cpp:617413
SmStitch::UnifyNormalsSmStitch.cpp:2512138
SmStitch::StitchVertexPairsSmStitch.cpp:3242508
SmStitch::StitchEdgesOfVerticesSmStitch.cpp:3925266
SmApiStitchSmApiBrep.cpp:112823
SmApiStitchSmApiBrep.cpp:115732
SmApiStitchIntoSolidSmApiBrep.cpp:247018
SmApiStitchIntoShellSmApiBrep.cpp:249419
SmApiUnifyNormalsSmApiBrep.cpp:251920
SmApiSimpleFaceStitchSmApiBrep.cpp:254523
SmApiStitchAdvancedSmApiBrep.cpp:257532

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