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