Units / geom
geom.geom_utility_p1 green
- Layer
- 4
- Upstream lines
- 2,178
- Functions
- 45
- Rust module
geom::geom_utility::p1
Source: crates/solidcore/src/geom/geom_utility/p1.rs
Upstream: source/SMLib/src/SmGeomUtility.cpp
Notes
GREEN: difftest 4185 cases (185 fixture + 4000 generated), all bit-identical, 0 deferred; wired UNPORTED(geom.geom_utility_p1) in geom.axis2_placement (now green) and geom.geom_utility_p2 (now green); 45 fns; largest: smgu_LineCoPlanarCircleIntersect, smgu_BestFitLineToPoints, smgu_CircleCoPlanarCircleIntersect, smgu_TransformPointToStartPlane; unit-SCC #22 (220 units); 317 upstream test entry points reach this unit
Difftest
- Cases
- 4,185
- Passed
- 4,185
- 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.axis2_placement green geom.extent1d green geom.matrix green geom.tol green geom.vector2d green geom.vector3d green
Soft dependencies: geom.polynomial green
Dependents: curve.composite_curve_p1 green curve.curve_p2 green curve.curve_p5 partial curve.curve_p7 green curve.curve_p9 green curve.ellipse_p2 green geom.pseudo_box green intersect.ray_tracer partial intersect.surface_drop_lib_p2 green nurbs.b_spline_curve_p3 partial primitive.primitive_creation_p1 claimed primitive.primitive_creation_p3 todo surface.cone_p2 claimed surface.cone_p3 partial surface.plane_p1 partial surface.sphere green surface.surf_of_extrusion_p1 green surface.surf_of_revolution_p1 green surface.surface_p2 partial surface.surface_p4 green
Soft dependents: blend.fillet_corner_p1 todo blend.fillet_corner_p2 todo blend.fillet_geom_p1 claimed blend.fillet_geom_p3 todo blend.fillet_geom_p6 todo blend.fillet_intersector claimed blend.fillet_solver_p4 claimed blend.fillet_standard_solver_p2 todo curve.composite_curve_p2 green curve.curve_cache green curve.curve_p1 partial curve.curve_p3 green curve.curve_p4 partial curve.ellipse_p1 green curve.hermite_curve green curve.hyperbola green curve.line green curve.parabola green geom.global_solver partial geom.point_set green intersect.adv_surface_intersector partial intersect.curve_class_p3 partial intersect.surface_drop_curve partial intersect.surface_drop_lib_p1 partial intersect.surface_intersector_p3 partial intersect.surface_silhouette green intersect.surface_tracer partial intersect.topology_solver_p1 partial nurbs.b_spline_curve_p1 green nurbs.b_spline_curve_p2 green nurbs.b_spline_surface_p1 green nurbs.b_spline_surface_p2 partial nurbs.nurbs_srf green offset.offset_executive_p1 claimed offset.offset_geometry_creation claimed query.loop green query.poly partial surface.cone_p1 green surface.surf_of_revolution_p2 partial surface.surf_of_revolution_p3 partial surface.surface_p1 partial surface.surface_p11 partial surface.surface_p3 green surface.surface_p8 partial surface.surface_point_solve_p1 green surface.surface_point_solve_p2 green surface.torus green surface.unbend_volume green surface.volume_p1 green sweep.rotational_sweep_geometry partial topology.brep_p10 claimed topology.edgeuse_p3 claimed topology.face_p1 partial
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
sm_AddPoint | SmGeomUtility.cpp:151 | 27 | [add_point] |
sm_AddClosestPoint | SmGeomUtility.cpp:185 | 65 | [ClosestPoints], [ClosestPoints::add] |
smgu_PolygonArea | SmGeomUtility.cpp:265 | 39 | [polygon_area] |
smgu_TriangleAreaSquared | SmGeomUtility.cpp:310 | 24 | [triangle_area_squared] |
smgu_TriangleDecomposition | SmGeomUtility.cpp:350 | 38 | [triangle_decomposition] |
smgu_ParallelogramCrossVectors | SmGeomUtility.cpp:509 | 24 | [parallelogram_cross_vectors] |
smgu_LinePointDistance | SmGeomUtility.cpp:574 | 29 | [line_point_distance] |
smgu_LineLineClosestPoint | SmGeomUtility.cpp:628 | 49 | [line_line_closest_point] |
smgu_LinePlaneIntersect | SmGeomUtility.cpp:685 | 27 | [line_plane_intersect] |
smgu_LinePlaneIntersect | SmGeomUtility.cpp:720 | 41 | [line_plane_intersect] |
smgu_LineClosestPoint | SmGeomUtility.cpp:881 | 25 | [line_closest_point] |
smgu_SegmentPointDistance | SmGeomUtility.cpp:920 | 30 | [segment_point_distance] |
smgu_SegmentPointAngleDegToPerp | SmGeomUtility.cpp:1613 | 41 | [segment_point_angle_deg_to_perp] |
smgu_CircleCenterFrom3Points | SmGeomUtility.cpp:1883 | 101 | [circle_center_from_3_points] |
smgu_CircleFrom3Points | SmGeomUtility.cpp:2007 | 102 | [circle_from_3_points], [Circle3Points] |
smgu_CircleFindSilhouettePoints | SmGeomUtility.cpp:2185 | 57 | [circle_find_silhouette_points] |
smgu_ConesAreDisjointPerpen | SmGeomUtility.cpp:2250 | 18 | [cones_are_disjoint_perpen] |
smgu_LineCoPlanarCircleIntersect | SmGeomUtility.cpp:2328 | 251 | [line_coplanar_circle_intersect] |
smgu_CircleCoPlanarCircleIntersect | SmGeomUtility.cpp:2731 | 140 | [circle_coplanar_circle_intersect], [CircleCircle] |
smgu_LineIntersectSphere | SmGeomUtility.cpp:2877 | 80 | [line_intersect_sphere], [LineSphere] |
smgu_IntersectThreePlanes | SmGeomUtility.cpp:3293 | 46 | [intersect_three_planes] |
smgu_PlaneEvaluatePoint | SmGeomUtility.cpp:3792 | 12 | [plane_evaluate_point] |
smgu_PlaneDropPoint | SmGeomUtility.cpp:3810 | 13 | [plane_drop_point] |
smgu_PlanePointDistance | SmGeomUtility.cpp:3829 | 17 | [plane_point_distance] |
smgu_PointProjectToPlane | SmGeomUtility.cpp:3853 | 22 | [point_project_to_plane] |
smgu_VectorProjectToPlane | SmGeomUtility.cpp:3882 | 12 | [vector_project_to_plane] |
smgu_TransformPointToStartPlane | SmGeomUtility.cpp:3902 | 134 | [transform_point_to_start_plane], [StartPlanePoint] |
smgu_PointPerspectiveToPlane | SmGeomUtility.cpp:4043 | 17 | [point_perspective_to_plane] |
smgu_VecLinCombTwoVectors | SmGeomUtility.cpp:4099 | 54 | [vec_lin_comb_two_vectors] |
smgu_BestFitPointToPoints | SmGeomUtility.cpp:4163 | 50 | [best_fit_point_to_points], [BestFitPoint] |
smgu_BestFitLineToPoints | SmGeomUtility.cpp:4223 | 143 | [best_fit_line_to_points], [BestFitLine] |
smgu_VecTripleProduct | SmGeomUtility.cpp:4958 | 12 | [vec_triple_product] |
smgu_3x3Copy | SmGeomUtility.cpp:4976 | 13 | [copy_3x3] |
smgu_3x3Determinate | SmGeomUtility.cpp:5049 | 12 | [determinate_3x3] |
smgu_Determinant3Vectors | SmGeomUtility.cpp:5067 | 13 | [determinant_3_vectors] |
smgu_3x3Inverse | SmGeomUtility.cpp:5200 | 72 | [inverse_3x3] |
smgu_4x4Copy | SmGeomUtility.cpp:5278 | 30 | [copy_4x4] |
smgu_4x4Determinate | SmGeomUtility.cpp:5352 | 22 | [determinate_4x4] |
smgu_SolveQuadraticEqn | SmGeomUtility.cpp:6089 | 14 | [solve_quadratic_eqn] |
smgu_DirectionalDerivs | SmGeomUtility.cpp:6166 | 63 | [directional_derivs] |
smgu_VolDirectionalDerivs | SmGeomUtility.cpp:6328 | 98 | [vol_directional_derivs] |
smgu_IsDogLeg | SmGeomUtility.cpp:6471 | 33 | [is_dog_leg] |
smgu_AddSorted | SmGeomUtility.cpp:6737 | 32 | [add_sorted] |
smgu_ShellSort_double_array | SmGeomUtility.cpp:6775 | 29 | [shell_sort_double_array] |
smgu_DoubleLessThan | SmGeomUtility.cpp:7052 | 7 | [double_less_than] |
Module file-header table (46 rows)
| Rust | Upstream |
|---|---|
[add_point] | sm_AddPoint (static) |
[ClosestPoints], [ClosestPoints::add] | sm_AddClosestPoint (static) and its arrays |
[polygon_area] | smgu_PolygonArea |
[triangle_area_squared] | smgu_TriangleAreaSquared |
[triangle_decomposition] | smgu_TriangleDecomposition |
[parallelogram_cross_vectors] | smgu_ParallelogramCrossVectors |
[line_point_distance] | smgu_LinePointDistance (3d) |
[line_line_closest_point] | smgu_LineLineClosestPoint |
[line_plane_intersect] | smgu_LinePlaneIntersect (point + normal) |
[line_plane_intersect_uv] | smgu_LinePlaneIntersect (point + two tangents) |
[line_closest_point] | smgu_LineClosestPoint |
[segment_point_distance] | smgu_SegmentPointDistance |
[segment_point_angle_deg_to_perp] | smgu_SegmentPointAngleDegToPerp |
[circle_center_from_3_points] | smgu_CircleCenterFrom3Points |
[circle_from_3_points], [Circle3Points] | smgu_CircleFrom3Points |
[circle_find_silhouette_points] | smgu_CircleFindSilhouettePoints |
[cones_are_disjoint_perpen] | smgu_ConesAreDisjointPerpen |
[line_coplanar_circle_intersect] | smgu_LineCoPlanarCircleIntersect |
[circle_coplanar_circle_intersect], [CircleCircle] | smgu_CircleCoPlanarCircleIntersect |
[line_intersect_sphere], [LineSphere] | smgu_LineIntersectSphere |
[intersect_three_planes] | smgu_IntersectThreePlanes |
[plane_evaluate_point] | smgu_PlaneEvaluatePoint |
[plane_drop_point] | smgu_PlaneDropPoint |
[plane_point_distance] | smgu_PlanePointDistance |
[point_project_to_plane] | smgu_PointProjectToPlane |
[vector_project_to_plane] | smgu_VectorProjectToPlane |
[transform_point_to_start_plane], [StartPlanePoint] | smgu_TransformPointToStartPlane |
[point_perspective_to_plane] | smgu_PointPerspectiveToPlane |
[vec_lin_comb_two_vectors] | smgu_VecLinCombTwoVectors |
[PointSetType] | SmPointSetType |
[best_fit_point_to_points], [BestFitPoint] | smgu_BestFitPointToPoints |
[best_fit_line_to_points], [BestFitLine] | smgu_BestFitLineToPoints |
[vec_triple_product] | smgu_VecTripleProduct |
[copy_3x3] | smgu_3x3Copy |
[determinate_3x3] | smgu_3x3Determinate (nine coefficients) |
[determinant_3_vectors] | smgu_Determinant3Vectors |
[inverse_3x3] | smgu_3x3Inverse |
[copy_4x4] | smgu_4x4Copy |
[determinate_4x4] | smgu_4x4Determinate |
[solve_quadratic_eqn] | smgu_SolveQuadraticEqn |
[directional_derivs] | smgu_DirectionalDerivs |
[vol_directional_derivs] | smgu_VolDirectionalDerivs |
[is_dog_leg] | smgu_IsDogLeg (SmVector2d points) |
[add_sorted] | smgu_AddSorted |
[shell_sort_double_array] | smgu_ShellSort_double_array |
[double_less_than] | smgu_DoubleLessThan |
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