Pointcloud.closest_points

Pointcloud.closest_points(point, k=1)[source]

Compute the closest point on the pointcloud to a given point.

Parameters:
pointPoint

The point.

kint, optional

The number of closest points to find.

Returns:
list of Point

The closest points on the pointcloud.