project_point_line

compas.geometry.project_point_line(point, line)[source]

Project a point onto a line.

Parameters
• point (list of float) – XYZ coordinates of the point.

• line (tuple) – Two points defining the projection line.

Returns

list – XYZ coordinates of the projected point.

Notes