Units / geom
geom.axis2_placement green
- Layer
- 3
- Upstream lines
- 479
- Functions
- 30
- Rust module
geom::axis2_placement
Source: crates/solidcore/src/geom/axis2_placement.rs
Upstream: source/SMLib/inc/SmAxis2Placement.h, source/SMLib/src/SmAxis2Placement.cpp
Notes
GREEN: difftest 4048 cases, all bit-identical, 0 deferred (AreCoaxial wired to geom.geom_utility_p1); 30 fns; largest: SmAxis2Placement::RotateAboutAxis, SmAxis2Placement::AreCoaxial, SmAxis2Placement::GetMatrix, SmAxis2Placement::GetMirrorMatrix; cycle back-edges (call into later units; stub or co-port): geom.geom_utility_p1(1); unit-SCC #22 (220 units); 317 upstream test entry points reach this unit
Difftest
- Cases
- 4,048
- Passed
- 4,048
- 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.vector3d green
Soft dependencies: geom.tol green
Dependents: blend.fillet_corner_p1 todo blend.fillet_custom_solver partial blend.fillet_solver_p2 todo blend.fillet_standard_solver_p1 claimed blend.hcr claimed curve.composite_curve_p1 green curve.ellipse_p1 green curve.ellipse_p2 green curve.hyperbola green curve.parabola green curve.projected_curve green geom.geom_utility_p1 green nurbs.b_spline_curve_n_lib green nurbs.b_spline_curve_p1 green nurbs.b_spline_curve_p2 green nurbs.b_spline_curve_p3 partial nurbs.b_spline_surface_p1 green nurbs.b_spline_surface_p2 partial nurbs.nurbs_crv green offset.offset_executive_p1 claimed offset.offset_geometry_creation claimed primitive.primitive_creation_p1 claimed primitive.primitive_creation_p2 todo primitive.primitive_creation_p3 todo query.poly partial surface.cone_p1 green surface.cone_p2 claimed surface.cone_p3 partial surface.plane_p1 partial surface.plane_p2 partial surface.sphere green surface.surf_of_extrusion_p1 green surface.surf_of_extrusion_p2 partial surface.surf_of_revolution_p1 green surface.surf_of_revolution_p2 partial surface.surf_of_revolution_p3 partial surface.surface_p6 green surface.torus green sweep.rotational_sweep_geometry partial sweep.topology_sweep claimed sweep.trans_sweep_geometry partial topology.proto_topology_p1 partial
Soft dependents: blend.fillet_geom_p4 todo blend.fillet_solver_p4 claimed boolean.merge_p1 partial curve.crv_in_volume partial curve.crv_on_surf partial curve.curve_p2 green curve.curve_p5 partial curve.curve_p7 green curve.line green primitive.api_curves green primitive.api_primitives claimed surface.offset_surface green surface.srf_in_volume partial surface.surface_p2 partial surface.surface_p7 partial surface.volume_p1 green topology.brep_p5 claimed topology.brep_p9 claimed topology.edgeuse_p3 claimed topology.face_p1 partial
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
SmAxis2Placement::SmAxis2Placement | SmAxis2Placement.h:118 | 1 | [Axis2Placement] |
SmAxis2Placement::SmAxis2Placement | SmAxis2Placement.h:121 | 4 | [Axis2Placement] |
SmAxis2Placement::SmAxis2Placement | SmAxis2Placement.h:127 | 3 | [Axis2Placement] |
SmAxis2Placement::SmAxis2Placement | SmAxis2Placement.h:144 | 10 | [Axis2Placement] |
SmAxis2Placement::GetOriginRef | SmAxis2Placement.h:156 | 1 | [Axis2Placement::origin] |
SmAxis2Placement::GetXAxisRef | SmAxis2Placement.h:157 | 1 | [Axis2Placement::x_axis] |
SmAxis2Placement::GetYAxisRef | SmAxis2Placement.h:158 | 1 | [Axis2Placement::y_axis] |
SmAxis2Placement::GetOrigin | SmAxis2Placement.h:159 | 1 | [Axis2Placement::origin] |
SmAxis2Placement::GetXAxis | SmAxis2Placement.h:160 | 1 | [Axis2Placement::x_axis] |
SmAxis2Placement::GetYAxis | SmAxis2Placement.h:161 | 1 | [Axis2Placement::y_axis] |
SmAxis2Placement::GetZAxis | SmAxis2Placement.h:162 | 4 | [Axis2Placement::z_axis] |
SmAxis2Placement::Init | SmAxis2Placement.h:200 | 1 | [Axis2Placement::IDENTITY], Default, [Axis2Placement::init] |
SmAxis2Placement::SmAxis2Placement | SmAxis2Placement.cpp:23 | 25 | [Axis2Placement] |
SmAxis2Placement::SetCanonical | SmAxis2Placement.cpp:64 | 35 | [Axis2Placement::set_canonical] |
SmAxis2Placement::SetSTEPCanonical | SmAxis2Placement.cpp:106 | 13 | [Axis2Placement::set_step_canonical] |
SmAxis2Placement::GetCanonical | SmAxis2Placement.cpp:125 | 7 | [Axis2Placement::canonical] |
sm_CopyMatrix | SmAxis2Placement.cpp:136 | 11 | (array copy) |
sm_MultMatrix | SmAxis2Placement.cpp:153 | 16 | mult_matrix (private) |
SmAxis2Placement::GetMirrorMatrix | SmAxis2Placement.cpp:175 | 35 | [Axis2Placement::mirror_matrix] |
SmAxis2Placement::GetMatrix | SmAxis2Placement.cpp:216 | 35 | [Axis2Placement::matrix] |
SmAxis2Placement::Translate | SmAxis2Placement.cpp:313 | 8 | [Axis2Placement::translate] |
SmAxis2Placement::RotateAboutAxis | SmAxis2Placement.cpp:329 | 60 | [Axis2Placement::rotate_about_axis] |
SmAxis2Placement::RotateAboutAxisAtPoint | SmAxis2Placement.cpp:398 | 19 | [Axis2Placement::rotate_about_axis_at_point] |
SmAxis2Placement::TransformPoint | SmAxis2Placement.cpp:432 | 14 | [Axis2Placement::transform_point] |
SmAxis2Placement::TransformVector | SmAxis2Placement.cpp:461 | 13 | [Axis2Placement::transform_vector] |
SmAxis2Placement::TransformAxis2Placement | SmAxis2Placement.cpp:543 | 30 | [Axis2Placement::transform_axis2_placement] |
SmAxis2Placement::Invert | SmAxis2Placement.cpp:582 | 32 | [Axis2Placement::invert] |
SmAxis2Placement::operator== | SmAxis2Placement.cpp:794 | 22 | [Axis2Placement::approx_eq] |
SmAxis2Placement::IsIdentity | SmAxis2Placement.cpp:822 | 31 | [Axis2Placement::is_identity] |
SmAxis2Placement::AreCoaxial | SmAxis2Placement.cpp:862 | 44 | [Axis2Placement::are_coaxial] |
Module file-header table (27 rows)
| Rust | Upstream |
|---|---|
[Axis2Placement] | SmAxis2Placement |
[Axis2Placement::IDENTITY], Default, [Axis2Placement::init] | SmAxis2Placement(), Init |
Copy / Clone | copy constructor |
[Axis2Placement::new] | SmAxis2Placement(Origin, XAxis, YAxis) (orient) |
[Axis2Placement::from_plane] | SmAxis2Placement(const SmVector3d&, double) (plane) |
[Axis2Placement::from_to] | SmAxis2Placement(FromO, FromX, FromY, ToO, ToX, ToY) (takes the two built systems) |
[Axis2Placement::origin] | GetOrigin, GetOriginRef |
[Axis2Placement::x_axis] | GetXAxis, GetXAxisRef |
[Axis2Placement::y_axis] | GetYAxis, GetYAxisRef |
[Axis2Placement::z_axis] | GetZAxis |
[Axis2Placement::canonical] | GetCanonical |
[Axis2Placement::set_canonical] | SetCanonical |
[Axis2Placement::set_step_canonical] | SetSTEPCanonical |
[Axis2Placement::matrix] | GetMatrix |
[Axis2Placement::mirror_matrix] | GetMirrorMatrix |
mult_matrix (private) | sm_MultMatrix |
| (array copy) | sm_CopyMatrix |
[Axis2Placement::translate] | Translate |
[Axis2Placement::rotate_about_axis] | RotateAboutAxis |
[Axis2Placement::rotate_about_axis_at_point] | RotateAboutAxisAtPoint |
[Axis2Placement::transform_point] | TransformPoint |
[Axis2Placement::transform_vector] | TransformVector |
[Axis2Placement::transform_axis2_placement] | TransformAxis2Placement |
[Axis2Placement::invert] | Invert |
[Axis2Placement::approx_eq] | operator== |
[Axis2Placement::is_identity] | IsIdentity |
[Axis2Placement::are_coaxial] | AreCoaxial |
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