is_point_on_polyline
- compas.geometry.is_point_on_polyline(point, polyline, tol=1e-06)[source]
Determine if a point is on a polyline.
- Parameters
point ([float, float, float] |
compas.geometry.Point
) – A point.polyline (sequence[point] |
compas.geometry.Polyline
) – A polyline.tol (float, optional) – The tolerance for membership verification.
- Returns
bool – True if the point is on the polyline. False otherwise.