is_point_on_polyline_xy
- compas.geometry.is_point_on_polyline_xy(point, polyline, tol=1e-06)[source]
Determine if a point is on a polyline on the XY-plane.
- Parameters
point (sequence of float) – XY(Z) coordinates.
polyline (sequence of sequence of float) – XY(Z) coordinates of the points of the polyline.
tol (float, optional) – The tolerance for membership verification. Default is
1e-6
.
- Returns
bool –
True
if the point is on the polyline.False
otherwise.