get_closest_pt
- compas_slicer.utilities.get_closest_pt(pt, pts)[source]
Finds the closest point of ‘pt’ in the point cloud ‘pts’.
- Parameters:
pt (:class: ‘compas.geometry.Point’)
pts (list, :class: ‘compas.geometry.Point3d’)
- Returns:
compas.geometry.Point3d – The closest point