Units / geom
geom.geom_utility_p2 green
- Layer
- 3
- Upstream lines
- 1,617
- Functions
- 16
- Rust module
geom::geom_utility::p2
Source: crates/solidcore/src/geom/geom_utility/p2.rs
Upstream: source/SMLib/src/SmGeomUtility.cpp
Notes
16 fns; largest: smgu_SphereCircleSphereCircleIntersect, smgu_EvaluateCurveContinuity, smgu_SegmentSegmentIntersect, smgu_SegmentSegmentPerpspectiveIntersect; cycle back-edges (call into later units; stub or co-port): geom.geom_utility_p1(28); unit-SCC #22 (220 units); 317 upstream test entry points reach this unit; GREEN: difftest 3270 cases (70 fixture + 3200 generated), all bit-identical, 0 deferred (p1 back-edges wired by geom.geom_utility_p1)
Difftest
- Cases
- 3,270
- Passed
- 3,270
- Deferred
- 0
- Failed
- 0
- Both errored
- 171
- 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.tol green geom.vector3d green
Soft dependencies: geom.matrix green geom.vector2d green
Dependents: curve.curve_p9 green
Soft dependents: blend.fillet_custom_solver partial curve.curve_p2 green curve.ellipse_p2 green curve.line green geom.point_set green geom.pseudo_box green offset.offset_geometry_creation claimed query.poly partial surface.cone_p2 claimed surface.cone_p3 partial surface.plane_p2 partial surface.sphere green surface.surf_of_revolution_p1 green surface.surface_p7 partial surface.surface_point_solve_p1 green
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
smgu_TrianglePointDistance | SmGeomUtility.cpp:404 | 98 | [triangle_point_distance] |
smgu_LineLineAtDistance | SmGeomUtility.cpp:824 | 50 | [line_line_at_distance] |
smgu_IsPointOnSegment | SmGeomUtility.cpp:959 | 16 | [is_point_on_segment] |
smgu_SegmentSegmentProjectedIntersect | SmGeomUtility.cpp:987 | 124 | [segment_segment_projected_intersect] |
smgu_SegmentSegmentPerpspectiveIntersect | SmGeomUtility.cpp:1121 | 125 | [PerspectivePlane] |
smgu_SegmentSegmentIntersect | SmGeomUtility.cpp:1371 | 139 | [segment_segment_intersect] |
smgu_SegmentSegmentClosestPoint | SmGeomUtility.cpp:1517 | 77 | [segment_segment_closest_point] |
smgu_CirclePlaneIntersect | SmGeomUtility.cpp:2119 | 60 | [circle_plane_intersect] |
smgu_LineCoPlanarEllipseIntersect | SmGeomUtility.cpp:2597 | 115 | [CoplanarEllipse] |
smgu_SphereCircleSphereCircleIntersect | SmGeomUtility.cpp:2977 | 249 | [sphere_circle_sphere_circle_intersect] |
smgu_IntersectTwoPlanes | SmGeomUtility.cpp:3235 | 52 | [intersect_two_planes] |
smgu_BestFitPlaneToPoints | SmGeomUtility.cpp:4478 | 100 | [best_fit_plane_to_points] |
smgu_4x4Mult | SmGeomUtility.cpp:5314 | 32 | [mult_4x4] |
smgu_4x4Inverse | SmGeomUtility.cpp:5393 | 100 | [inverse_4x4] |
smgu_FrenetFromDerivatives | SmGeomUtility.cpp:5599 | 61 | [frenet_from_derivatives] |
smgu_EvaluateCurveContinuity | SmGeomUtility.cpp:5697 | 219 | [CurveEval] |
Module file-header table (21 rows)
| Rust | Upstream |
|---|---|
[PointSetType] | SmPointSetType |
[ContinuityType] | SmContinuityType |
[CurveEval] | (inputs of smgu_EvaluateCurveContinuity) |
[PerspectivePlane] | (inputs of smgu_SegmentSegmentPerpspectiveIntersect) |
[CoplanarEllipse] | (inputs of smgu_LineCoPlanarEllipseIntersect) |
[triangle_point_distance] | smgu_TrianglePointDistance |
[line_line_at_distance] | smgu_LineLineAtDistance |
[is_point_on_segment] | smgu_IsPointOnSegment |
[segment_segment_projected_intersect] | smgu_SegmentSegmentProjectedIntersect |
[segment_segment_perspective_intersect] | smgu_SegmentSegmentPerpspectiveIntersect |
[segment_segment_intersect] | smgu_SegmentSegmentIntersect |
[segment_segment_closest_point] | smgu_SegmentSegmentClosestPoint |
[circle_plane_intersect] | smgu_CirclePlaneIntersect |
[line_coplanar_ellipse_intersect] | smgu_LineCoPlanarEllipseIntersect |
[sphere_circle_sphere_circle_intersect] | smgu_SphereCircleSphereCircleIntersect |
[intersect_two_planes] | smgu_IntersectTwoPlanes |
[best_fit_plane_to_points] | smgu_BestFitPlaneToPoints |
[mult_4x4] | smgu_4x4Mult |
[inverse_4x4] | smgu_4x4Inverse |
[frenet_from_derivatives] | smgu_FrenetFromDerivatives |
[evaluate_curve_continuity] | smgu_EvaluateCurveContinuity |
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