solidcore

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 functionDefined atLinesRust (from the file header)
SmPolarBox::SmPolarBoxSmPolarBox.h:2031[PolarBox]
SmPolarBox::~SmPolarBoxSmPolarBox.h:2061Drop (implicit)
SmPolarBox::ReSetSmPolarBox.h:2151[PolarBox::reset]
SmPolarBox::GetDomainSmPolarBox.h:2181[PolarBox::domain]
SmPolarBox::GetPolarBoxStateSmPolarBox.h:2191[PolarBox::state]
SmPolarBox::GetBasisSmPolarBox.h:2223[PolarBox::basis]
SmPolarBox::operator=SmPolarBox.cpp:4920[PolarBox::assign]
SmPolarBox::ComputePolarCoordSmPolarBox.cpp:87102[PolarBox::compute_polar_coord]
SmPolarBox::GetPolarAreaSmPolarBox.cpp:22358[PolarBox::polar_area]
SmPolarBox::IsPerpendicularDisjointWithConeSmPolarBox.cpp:28819[PolarBox::is_perpendicular_disjoint_with_cone]
SmPolarBox::IsDisjointWithConeSmPolarBox.cpp:31445[PolarBox::is_disjoint_with_cone]
SmPolarBox::AreDisjointSmPolarBox.cpp:367135[PolarBox::are_disjoint]
SmPolarBox::CrossSmPolarBox.cpp:51469[PolarBox::cross]
SmPolarBox::EvaluateNormalizedSmPolarBox.cpp:59591[PolarBox::evaluate_normalized]
SmPolarBox::AddVector3dSmPolarBox.cpp:696227[PolarBox::add_vector]
SmPolarBox::GetBoundaryVectorsSmPolarBox.cpp:93032[PolarBox::boundary_vectors]
SmPolarBox::HasPerpendicularToVectorSmPolarBox.cpp:97151[PolarBox::has_perpendicular_to_vector]
SmPolarBox::UnionSmPolarBox.cpp:103185[PolarBox::union], [PolarBox::union_assign]
SmPolarBox::ExpandAbsoluteSmPolarBox.cpp:162737[PolarBox::expand_absolute]
Module file-header table (22 rows)
RustUpstream
[PolarBoxState]SmPolarBoxState
[PolarBox]SmPolarBox
[PolarBox::new], DefaultSmPolarBox()
[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