solidcore

Units / geom

geom.axis2_placement green

Layer
3
Upstream lines
479
Functions
30
Rust module
geom::axis2_placement

Status history

Oct 12Nov 25
  1. todo 479 lines
  2. green 479 lines

Source: crates/solidcore/src/geom/axis2_placement.rs

Upstream: source/SMLib/inc/SmAxis2Placement.h, source/SMLib/src/SmAxis2Placement.cpp

Port-plan notes

These notes preserve historical port measurements and limitations, not current CI results.

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

Goldens

This is committed inventory, not a runtime result or a correctness proof. A golden records what solidcore produced when blessed. Current results require the canonical CI gate, not these counts.

Golden records
4,051
Stored error outcomes
0
Stored deferrals
0
Stored harness rejections
0
Known-failure entries
0

Metadata counts describe fields in the stored records; they are not passes or live failures.

Source at f9704ee3b: golden JSONL · known-failure list.

Dependencies

Depends on: geom.vector3d green

Soft dependencies: geom.tol green

Dependents: blend.fillet_corner_p1 green blend.fillet_custom_solver green blend.fillet_solver_p2 green blend.fillet_standard_solver_p1 green blend.hcr green blend.identify_fillet green 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 green nurbs.b_spline_surface_p1 green nurbs.b_spline_surface_p2 green nurbs.nurbs_crv green offset.offset_executive_p1 partial offset.offset_geometry_creation partial primitive.primitive_creation_p1 green primitive.primitive_creation_p2 green primitive.primitive_creation_p3 green query.poly green surface.cone_p1 green surface.cone_p2 green surface.cone_p3 green surface.plane_p1 partial surface.plane_p2 green surface.sphere green surface.surf_of_extrusion_p1 green surface.surf_of_extrusion_p2 green surface.surf_of_revolution_p1 green surface.surf_of_revolution_p2 green surface.surf_of_revolution_p3 green surface.surface_p6 green surface.torus partial sweep.rotational_sweep_geometry green sweep.topology_sweep green sweep.trans_sweep_geometry green topology.brep_mirror green topology.proto_topology_p1 green

Soft dependents: blend.fillet_geom_p4 partial blend.fillet_solver_p4 green boolean.merge_p1 green curve.crv_in_volume green curve.crv_on_surf green curve.curve_p2 green curve.curve_p5 partial curve.curve_p7 green curve.line green primitive.api_curves green primitive.api_primitives green surface.offset_surface green surface.srf_in_volume green surface.surface_p2 partial surface.surface_p7 green surface.volume_p1 green topology.brep_p5 green topology.brep_p9 green topology.edgeuse_p3 green topology.face_p1 green

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], [Axis2Placement::set_origin]
SmAxis2Placement::GetXAxisRefSmAxis2Placement.h:1571[Axis2Placement::x_axis]
SmAxis2Placement::GetYAxisRefSmAxis2Placement.h:1581[Axis2Placement::y_axis]
SmAxis2Placement::GetOriginSmAxis2Placement.h:1591[Axis2Placement::origin], [Axis2Placement::set_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 (30 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], [Axis2Placement::set_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
[Axis2Placement::mirror_point]MirrorPoint
[Axis2Placement::mirror_vector]MirrorVector
(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==
axes_are_orthonormalnone (analytic curve and surface definitions)
[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