Units / geom
geom.tools partial
- Layer
- 5
- Upstream lines
- 326
- Functions
- 5
- Rust module
geom::tools
Source: crates/solidcore/src/geom/tools.rs
Upstream: source/SMLib/src/SmTools.cpp
Notes
difftest: 913 cases, 781 pass, 132 deferred (topology.brep_p1 32, query.brep 32, curve.curve_p2 68; topology.vertex 60 wired by topology.vertex PR #96); 5 fns; largest: SmTools::FindCoincidentEdge, SmTools::FindFirstPointWithinTolToPnt, SmTools::FindFirstVertexWithinTolToPnt, SmTools::FindEdge; cycle back-edges (call into later units; stub or co-port): topology.edge(8), curve.curve_p2(3), curve.curve_p6(3), topology.brep_p1(2), topology.vertex(2), intersect.topology_solver_p2(1); unit-SCC #22 (220 units); 197 upstream test entry points reach this unit PR #125: FindFace reads the existing Brep::tolerance getter rather than deferring GetTolerance; 913 cases, 781 compared bit-identical, 132 deferred, perturb 781/781.
Difftest
- Cases
- 913
- Passed
- 781
- Deferred
- 132
- Failed
- 0
- Both errored
- 0
- Max rel. error
- 0.0
- Tolerance
- 1e-09 rel.
- Seeds
- 16
Blocked by
| Unported unit | Deferred cases |
|---|---|
curve.curve_p2 green | 68 |
query.brep claimed | 32 |
topology.brep_p1 claimed | 32 |
Report JSON (per-case results)
Dependencies
Depends on: geom.extent1d green geom.solution_array partial geom.vector3d green
Soft dependencies: geom.object partial geom.tol green
Dependents: none
Soft dependents: query.api_queries partial topology.brep_p7 claimed topology.trimming_tools partial
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
SmTools::FindFirstVertexWithinTolToPnt | SmTools.cpp:39 | 61 | [find_first_vertex_within_tol_to_pnt] |
SmTools::FindCoincidentEdge | SmTools.cpp:122 | 118 | [find_coincident_edge] |
SmTools::FindFirstPointWithinTolToPnt | SmTools.cpp:262 | 72 | [find_first_point_within_tol_to_pnt] |
SmTools::FindEdge | SmTools.cpp:345 | 50 | [find_edge] |
SmTools::FindFace | SmTools.cpp:405 | 25 | [find_face] |
Module file-header table (9 rows)
| Rust | Upstream |
|---|---|
[find_first_point_within_tol_to_pnt] | SmTools::FindFirstPointWithinTolToPnt |
[find_first_vertex_within_tol_to_pnt] | SmTools::FindFirstVertexWithinTolToPnt |
[find_coincident_edge] | SmTools::FindCoincidentEdge |
[find_edge] | SmTools::FindEdge |
[find_face] | SmTools::FindFace |
[PointMatch] | the out-params of FindFirstPointWithinTolToPnt |
[VertexMatch] | the out-params of FindFirstVertexWithinTolToPnt |
[CoincidentEdgeQuery], [CoincidentEdge] | the in- and out-params of FindCoincidentEdge |
[EdgePick] | the out-params of FindEdge |
Upstream tests reaching this unit
SM_API_test:TestSmOrderCurves, SM_API_test:TestSmCurves, prog_test:my_test_tsurf_cyl_creation_2d, prog_test:my_test_tsurf_cyl_creation_3d, prog_test:my_test_tsurf_cyl_creation_fast, prog_test:my_test_tsurf_creation