closest_line_to_point
- compas.geometry.closest_line_to_point(point, lines)[source]
Compute closest line to a point from a list of lines.
- Parameters:
- point[float, float, float] |
compas.geometry.Point
XYZ coordinates of point.
- linessequence[[point, point] |
compas.geometry.Line
]. The lines to be checked for distance.
- point[float, float, float] |
- Returns:
- tuple[point, point]
The closest line.