Units / geom
geom.polar_box green
- Layer
- 4
- Upstream lines
- 979
- Functions
- 19
- Rust module
geom::polar_box
Source: crates/solidcore/src/geom/polar_box.rs
Upstream: source/SMLib/inc/SmPolarBox.h, source/SMLib/src/SmPolarBox.cpp
Notes
green: 3030 difftest cases (30 fixture programs + 3000 generated), bit-identical, 0 deferred; 19 fns; largest: SmPolarBox::AddVector3d, SmPolarBox::AreDisjoint, SmPolarBox::ComputePolarCoord, SmPolarBox::EvaluateNormalized; unit-SCC #22 (220 units); 317 upstream test entry points reach this unit
Difftest
- Cases
- 3,030
- Passed
- 3,030
- 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.extent2d green geom.vector2d green geom.vector3d green
Soft dependencies: geom.tol green
Dependents: curve.composite_curve_p1 green curve.curve_p6 green intersect.surface_silhouette green nurbs.b_spline_surface_p1 green surface.offset_surface green surface.surface_p11 partial surface.surface_p7 partial surface.surface_p8 partial
Soft dependents: curve.curve_p4 partial curve.hermite_curve green curve.line green intersect.adv_surface_intersector partial intersect.ray_tracer partial nurbs.b_spline_curve_p2 green query.edge partial surface.surface_cache_p1 green surface.surface_p1 partial surface.surface_p10 partial surface.surface_p2 partial
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
SmPolarBox::SmPolarBox | SmPolarBox.h:203 | 1 | [PolarBox] |
SmPolarBox::~SmPolarBox | SmPolarBox.h:206 | 1 | Drop (implicit) |
SmPolarBox::ReSet | SmPolarBox.h:215 | 1 | [PolarBox::reset] |
SmPolarBox::GetDomain | SmPolarBox.h:218 | 1 | [PolarBox::domain] |
SmPolarBox::GetPolarBoxState | SmPolarBox.h:219 | 1 | [PolarBox::state] |
SmPolarBox::GetBasis | SmPolarBox.h:222 | 3 | [PolarBox::basis] |
SmPolarBox::operator= | SmPolarBox.cpp:49 | 20 | [PolarBox::assign] |
SmPolarBox::ComputePolarCoord | SmPolarBox.cpp:87 | 102 | [PolarBox::compute_polar_coord] |
SmPolarBox::GetPolarArea | SmPolarBox.cpp:223 | 58 | [PolarBox::polar_area] |
SmPolarBox::IsPerpendicularDisjointWithCone | SmPolarBox.cpp:288 | 19 | [PolarBox::is_perpendicular_disjoint_with_cone] |
SmPolarBox::IsDisjointWithCone | SmPolarBox.cpp:314 | 45 | [PolarBox::is_disjoint_with_cone] |
SmPolarBox::AreDisjoint | SmPolarBox.cpp:367 | 135 | [PolarBox::are_disjoint] |
SmPolarBox::Cross | SmPolarBox.cpp:514 | 69 | [PolarBox::cross] |
SmPolarBox::EvaluateNormalized | SmPolarBox.cpp:595 | 91 | [PolarBox::evaluate_normalized] |
SmPolarBox::AddVector3d | SmPolarBox.cpp:696 | 227 | [PolarBox::add_vector] |
SmPolarBox::GetBoundaryVectors | SmPolarBox.cpp:930 | 32 | [PolarBox::boundary_vectors] |
SmPolarBox::HasPerpendicularToVector | SmPolarBox.cpp:971 | 51 | [PolarBox::has_perpendicular_to_vector] |
SmPolarBox::Union | SmPolarBox.cpp:1031 | 85 | [PolarBox::union], [PolarBox::union_assign] |
SmPolarBox::ExpandAbsolute | SmPolarBox.cpp:1627 | 37 | [PolarBox::expand_absolute] |
Module file-header table (22 rows)
| Rust | Upstream |
|---|---|
[PolarBoxState] | SmPolarBoxState |
[PolarBox] | SmPolarBox |
[PolarBox::new], Default | SmPolarBox() |
[PolarBox::from_vector] | SmPolarBox(const SmVector3d&) |
[PolarBox::assign] | operator= |
Drop (implicit) | ~SmPolarBox |
[PolarBox::reset] | ReSet |
[PolarBox::domain] | GetDomain |
[PolarBox::state] | GetPolarBoxState |
[PolarBox::basis] | GetBasis |
[PolarBox::compute_polar_coord] | ComputePolarCoord |
[PolarBox::polar_area] | GetPolarArea |
[PolarBox::is_perpendicular_disjoint_with_cone] | IsPerpendicularDisjointWithCone |
[PolarBox::is_disjoint_with_cone] | IsDisjointWithCone |
[PolarBox::are_disjoint] | AreDisjoint |
[PolarBox::cross] | Cross |
[PolarBox::evaluate_normalized] | EvaluateNormalized |
[PolarBox::add_vector] | AddVector3d |
[PolarBox::boundary_vectors] | GetBoundaryVectors |
[PolarBox::has_perpendicular_to_vector] | HasPerpendicularToVector |
[PolarBox::union], [PolarBox::union_assign] | Union (union_assign: result aliases this) |
[PolarBox::expand_absolute] | ExpandAbsolute |
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