solidcore

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 functionDefined atLinesRust (from the file header)
SmAxis2Placement::SmAxis2PlacementSmAxis2Placement.h:1181[Axis2Placement]
SmAxis2Placement::SmAxis2PlacementSmAxis2Placement.h:1214[Axis2Placement]
SmAxis2Placement::SmAxis2PlacementSmAxis2Placement.h:1273[Axis2Placement]
SmAxis2Placement::SmAxis2PlacementSmAxis2Placement.h:14410[Axis2Placement]
SmAxis2Placement::GetOriginRefSmAxis2Placement.h:1561[Axis2Placement::origin]
SmAxis2Placement::GetXAxisRefSmAxis2Placement.h:1571[Axis2Placement::x_axis]
SmAxis2Placement::GetYAxisRefSmAxis2Placement.h:1581[Axis2Placement::y_axis]
SmAxis2Placement::GetOriginSmAxis2Placement.h:1591[Axis2Placement::origin]
SmAxis2Placement::GetXAxisSmAxis2Placement.h:1601[Axis2Placement::x_axis]
SmAxis2Placement::GetYAxisSmAxis2Placement.h:1611[Axis2Placement::y_axis]
SmAxis2Placement::GetZAxisSmAxis2Placement.h:1624[Axis2Placement::z_axis]
SmAxis2Placement::InitSmAxis2Placement.h:2001[Axis2Placement::IDENTITY], Default, [Axis2Placement::init]
SmAxis2Placement::SmAxis2PlacementSmAxis2Placement.cpp:2325[Axis2Placement]
SmAxis2Placement::SetCanonicalSmAxis2Placement.cpp:6435[Axis2Placement::set_canonical]
SmAxis2Placement::SetSTEPCanonicalSmAxis2Placement.cpp:10613[Axis2Placement::set_step_canonical]
SmAxis2Placement::GetCanonicalSmAxis2Placement.cpp:1257[Axis2Placement::canonical]
sm_CopyMatrixSmAxis2Placement.cpp:13611(array copy)
sm_MultMatrixSmAxis2Placement.cpp:15316mult_matrix (private)
SmAxis2Placement::GetMirrorMatrixSmAxis2Placement.cpp:17535[Axis2Placement::mirror_matrix]
SmAxis2Placement::GetMatrixSmAxis2Placement.cpp:21635[Axis2Placement::matrix]
SmAxis2Placement::TranslateSmAxis2Placement.cpp:3138[Axis2Placement::translate]
SmAxis2Placement::RotateAboutAxisSmAxis2Placement.cpp:32960[Axis2Placement::rotate_about_axis]
SmAxis2Placement::RotateAboutAxisAtPointSmAxis2Placement.cpp:39819[Axis2Placement::rotate_about_axis_at_point]
SmAxis2Placement::TransformPointSmAxis2Placement.cpp:43214[Axis2Placement::transform_point]
SmAxis2Placement::TransformVectorSmAxis2Placement.cpp:46113[Axis2Placement::transform_vector]
SmAxis2Placement::TransformAxis2PlacementSmAxis2Placement.cpp:54330[Axis2Placement::transform_axis2_placement]
SmAxis2Placement::InvertSmAxis2Placement.cpp:58232[Axis2Placement::invert]
SmAxis2Placement::operator==SmAxis2Placement.cpp:79422[Axis2Placement::approx_eq]
SmAxis2Placement::IsIdentitySmAxis2Placement.cpp:82231[Axis2Placement::is_identity]
SmAxis2Placement::AreCoaxialSmAxis2Placement.cpp:86244[Axis2Placement::are_coaxial]
Module file-header table (27 rows)
RustUpstream
[Axis2Placement]SmAxis2Placement
[Axis2Placement::IDENTITY], Default, [Axis2Placement::init]SmAxis2Placement(), Init
Copy / Clonecopy 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