is_point_on_line

compas.geometry.is_point_on_line(point, line, tol=1e-06)[source]

Determine if a point lies on a line.

Parameters
Returns

bool – True if the point is in on the line. False otherwise.