solidcore

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 functionDefined atLinesRust (from the file header)
sm_AddPointSmGeomUtility.cpp:15127[add_point]
sm_AddClosestPointSmGeomUtility.cpp:18565[ClosestPoints], [ClosestPoints::add]
smgu_PolygonAreaSmGeomUtility.cpp:26539[polygon_area]
smgu_TriangleAreaSquaredSmGeomUtility.cpp:31024[triangle_area_squared]
smgu_TriangleDecompositionSmGeomUtility.cpp:35038[triangle_decomposition]
smgu_ParallelogramCrossVectorsSmGeomUtility.cpp:50924[parallelogram_cross_vectors]
smgu_LinePointDistanceSmGeomUtility.cpp:57429[line_point_distance]
smgu_LineLineClosestPointSmGeomUtility.cpp:62849[line_line_closest_point]
smgu_LinePlaneIntersectSmGeomUtility.cpp:68527[line_plane_intersect]
smgu_LinePlaneIntersectSmGeomUtility.cpp:72041[line_plane_intersect]
smgu_LineClosestPointSmGeomUtility.cpp:88125[line_closest_point]
smgu_SegmentPointDistanceSmGeomUtility.cpp:92030[segment_point_distance]
smgu_SegmentPointAngleDegToPerpSmGeomUtility.cpp:161341[segment_point_angle_deg_to_perp]
smgu_CircleCenterFrom3PointsSmGeomUtility.cpp:1883101[circle_center_from_3_points]
smgu_CircleFrom3PointsSmGeomUtility.cpp:2007102[circle_from_3_points], [Circle3Points]
smgu_CircleFindSilhouettePointsSmGeomUtility.cpp:218557[circle_find_silhouette_points]
smgu_ConesAreDisjointPerpenSmGeomUtility.cpp:225018[cones_are_disjoint_perpen]
smgu_LineCoPlanarCircleIntersectSmGeomUtility.cpp:2328251[line_coplanar_circle_intersect]
smgu_CircleCoPlanarCircleIntersectSmGeomUtility.cpp:2731140[circle_coplanar_circle_intersect], [CircleCircle]
smgu_LineIntersectSphereSmGeomUtility.cpp:287780[line_intersect_sphere], [LineSphere]
smgu_IntersectThreePlanesSmGeomUtility.cpp:329346[intersect_three_planes]
smgu_PlaneEvaluatePointSmGeomUtility.cpp:379212[plane_evaluate_point]
smgu_PlaneDropPointSmGeomUtility.cpp:381013[plane_drop_point]
smgu_PlanePointDistanceSmGeomUtility.cpp:382917[plane_point_distance]
smgu_PointProjectToPlaneSmGeomUtility.cpp:385322[point_project_to_plane]
smgu_VectorProjectToPlaneSmGeomUtility.cpp:388212[vector_project_to_plane]
smgu_TransformPointToStartPlaneSmGeomUtility.cpp:3902134[transform_point_to_start_plane], [StartPlanePoint]
smgu_PointPerspectiveToPlaneSmGeomUtility.cpp:404317[point_perspective_to_plane]
smgu_VecLinCombTwoVectorsSmGeomUtility.cpp:409954[vec_lin_comb_two_vectors]
smgu_BestFitPointToPointsSmGeomUtility.cpp:416350[best_fit_point_to_points], [BestFitPoint]
smgu_BestFitLineToPointsSmGeomUtility.cpp:4223143[best_fit_line_to_points], [BestFitLine]
smgu_VecTripleProductSmGeomUtility.cpp:495812[vec_triple_product]
smgu_3x3CopySmGeomUtility.cpp:497613[copy_3x3]
smgu_3x3DeterminateSmGeomUtility.cpp:504912[determinate_3x3]
smgu_Determinant3VectorsSmGeomUtility.cpp:506713[determinant_3_vectors]
smgu_3x3InverseSmGeomUtility.cpp:520072[inverse_3x3]
smgu_4x4CopySmGeomUtility.cpp:527830[copy_4x4]
smgu_4x4DeterminateSmGeomUtility.cpp:535222[determinate_4x4]
smgu_SolveQuadraticEqnSmGeomUtility.cpp:608914[solve_quadratic_eqn]
smgu_DirectionalDerivsSmGeomUtility.cpp:616663[directional_derivs]
smgu_VolDirectionalDerivsSmGeomUtility.cpp:632898[vol_directional_derivs]
smgu_IsDogLegSmGeomUtility.cpp:647133[is_dog_leg]
smgu_AddSortedSmGeomUtility.cpp:673732[add_sorted]
smgu_ShellSort_double_arraySmGeomUtility.cpp:677529[shell_sort_double_array]
smgu_DoubleLessThanSmGeomUtility.cpp:70527[double_less_than]
Module file-header table (46 rows)
RustUpstream
[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