is_point_on_line
- compas.geometry.is_point_on_line(point, line, tol=None)[source]
Determine if a point lies on a line.
- Parameters:
- point[float, float, float] |
compas.geometry.Point
A point.
- line[point, point] |
compas.geometry.Line
A line.
- tolfloat, optional
Tolerance for comparing the distance between the point and the line to zero. Default is
TOL.absolute
.
- point[float, float, float] |
- Returns:
- bool
True if the point is in on the line. False otherwise.