Units / geom
geom.point_set green
- Layer
- 6
- Upstream lines
- 694
- Functions
- 16
- Rust module
geom::point_set
Source: crates/solidcore/src/geom/point_set.rs
Upstream: source/SMLib/inc/SmPointSet.h, source/SMLib/src/SmPointSet.cpp
Notes
16 fns; largest: SmPointSet3d::SetUpTightPseudoBox, SmPointSet3d::SetUpAxes, SmPointSequence::PointContainment, SmPointSet3d::SetUpBBoxes; unit-SCC #22 (220 units); 317 upstream test entry points reach this unit; difftest: 2029 cases (29 fixtures + 2000 generated), 0 deferred, bit-identical
Difftest
- Cases
- 2,029
- Passed
- 2,029
- Deferred
- 0
- Failed
- 0
- Both errored
- 0
- Max rel. error
- 0.0
- Tolerance
- 1e-09 rel.
- Seeds
- 16
Blocked by
Nothing: no deferred cases.
Report JSON (per-case results)
Dependencies
Depends on: geom.extent3d green geom.pseudo_box green geom.tol green geom.vector3d green
Soft dependencies: geom.geom_utility_p1 green geom.geom_utility_p2 green
Dependents: query.poly partial topology.trimming_tools partial
Soft dependents: none
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
SmPointSet3d::ClearCache | SmPointSet.h:154 | 9 | [PointSet3d::clear_cache] |
SmPointSet3d::GetPoints | SmPointSet.h:165 | 1 | [PointSet3d::points] |
SmPointSet3d::GetCentroid | SmPointSet.h:171 | 1 | [PointSet3d::centroid] |
SmPointSet3d::GetNormal | SmPointSet.h:177 | 1 | [PointSet3d::normal] |
SmPointSet3d::GetBBox | SmPointSet.h:179 | 1 | [PointSet3d::bbox] |
SmPointSet3d::GetTightPBox | SmPointSet.h:181 | 1 | [PointSet3d::tight_pbox] |
SmPointSequence::GetArea | SmPointSet.h:358 | 2 | [PointSequence::area] |
SmPointSet3d::SmPointSet3d | SmPointSet.cpp:42 | 45 | [PointSet3d] |
SmPointSet3d::SetUpAxes | SmPointSet.cpp:289 | 114 | set_up_axes (private) |
SmPointSet3d::SetUpCentroid | SmPointSet.cpp:410 | 39 | set_up_centroid (private) |
SmPointSet3d::SetUpBBoxes | SmPointSet.cpp:561 | 61 | set_up_bboxes (private) |
SmPointSet3d::SetUpTightPseudoBox | SmPointSet.cpp:631 | 279 | set_up_tight_pseudo_box (private) |
SmPointSequence::SmPointSequence | SmPointSet.cpp:1393 | 18 | [PointSequence] |
SmPointSequence::SetUpArea | SmPointSet.cpp:1492 | 24 | set_up_area (private) |
SmPointSequence::CalcQuadNum | SmPointSet.cpp:1640 | 10 | calc_quad_num (private) |
SmPointSequence::PointContainment | SmPointSet.cpp:1658 | 88 | [PointSequence::point_containment] |
Module file-header table (20 rows)
| Rust | Upstream |
|---|---|
[PointSet3d] | SmPointSet3d |
[PointSet3d::new] | SmPointSet3d(SmTArray<SmPoint3d>&, dTol3d, bPlanar, pOptNormal, bCopyData) |
[PointSet3d::clear_cache] | SmPointSet3d::ClearCache |
[PointSet3d::points] | SmPointSet3d::GetPoints |
[PointSet3d::centroid] | SmPointSet3d::GetCentroid |
[PointSet3d::normal] | SmPointSet3d::GetNormal() |
[PointSet3d::bbox] | SmPointSet3d::GetBBox |
[PointSet3d::tight_pbox] | SmPointSet3d::GetTightPBox |
set_up_axes (private) | SmPointSet3d::SetUpAxes |
set_up_centroid (private) | SmPointSet3d::SetUpCentroid |
set_up_bboxes (private) | SmPointSet3d::SetUpBBoxes |
set_up_tight_pseudo_box (private) | SmPointSet3d::SetUpTightPseudoBox |
[DataRequest] | SmPointSetDataType (the two box requests) |
[PointSequence] | SmPointSequence |
[PointSequence::new] | SmPointSequence(SmTArray<SmPoint3d>&, dTol3d, bClosed, bPlanar, pOptNormal, bCopyData) |
[PointSequence::area] | SmPointSequence::GetArea |
set_up_area (private) | SmPointSequence::SetUpArea |
calc_quad_num (private) | SmPointSequence::CalcQuadNum |
[PointSequence::point_containment] | SmPointSequence::PointContainment |
[PointContainment] | SmPointObjectContainmentType (SmTypes.h) |
Upstream tests reaching this unit
prog_test:my_test_surface_closest_point, prog_test:my_test_drop_point, prog_test:my_test_matrix, prog_test:my_test_reversed_line_join, SM_API_test:TestSmCreateRectangle, SM_API_test:TestSmCreateRegularPolygon