solidcore

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 functionDefined atLinesRust (from the file header)
smgu_TrianglePointDistanceSmGeomUtility.cpp:40498[triangle_point_distance]
smgu_LineLineAtDistanceSmGeomUtility.cpp:82450[line_line_at_distance]
smgu_IsPointOnSegmentSmGeomUtility.cpp:95916[is_point_on_segment]
smgu_SegmentSegmentProjectedIntersectSmGeomUtility.cpp:987124[segment_segment_projected_intersect]
smgu_SegmentSegmentPerpspectiveIntersectSmGeomUtility.cpp:1121125[PerspectivePlane]
smgu_SegmentSegmentIntersectSmGeomUtility.cpp:1371139[segment_segment_intersect]
smgu_SegmentSegmentClosestPointSmGeomUtility.cpp:151777[segment_segment_closest_point]
smgu_CirclePlaneIntersectSmGeomUtility.cpp:211960[circle_plane_intersect]
smgu_LineCoPlanarEllipseIntersectSmGeomUtility.cpp:2597115[CoplanarEllipse]
smgu_SphereCircleSphereCircleIntersectSmGeomUtility.cpp:2977249[sphere_circle_sphere_circle_intersect]
smgu_IntersectTwoPlanesSmGeomUtility.cpp:323552[intersect_two_planes]
smgu_BestFitPlaneToPointsSmGeomUtility.cpp:4478100[best_fit_plane_to_points]
smgu_4x4MultSmGeomUtility.cpp:531432[mult_4x4]
smgu_4x4InverseSmGeomUtility.cpp:5393100[inverse_4x4]
smgu_FrenetFromDerivativesSmGeomUtility.cpp:559961[frenet_from_derivatives]
smgu_EvaluateCurveContinuitySmGeomUtility.cpp:5697219[CurveEval]
Module file-header table (21 rows)
RustUpstream
[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