geom.axis2_placement green
- Layer
- 3
- Upstream lines
- 479
- Functions
- 30
- Rust module
geom::axis2_placement
Status history
- todo 479 lines
- 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 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], [Axis2Placement::set_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], [Axis2Placement::set_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 (30 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], [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_orthonormal | none (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