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.lines (sequence[[point, point] |
compas.geometry.Line
].) – The lines to be checked for distance.
- Returns
tuple[point, point] – The closest line.