find_closest_points#
- static GeometryOperators.find_closest_points(points_list, reference_point, tol=1e-06)#
Given a list of points, finds the closest points to a reference point. It returns a list of points because more than one can be found. It works with 2D or 3D points. The tolerance used to evaluate the distance to the reference point can be specified.
- Parameters:
- points_list
List
of
List
List of points. The points can be defined in 2D or 3D space.
- reference_point
List
The reference point. The point can be defined in 2D or 3D space (same as points_list).
- tol
float
,optional
The tolerance used to evaluate the distance. Default is
1e-6
.
- points_list
- Returns:
List
of
List