Point.on_curve

Point.on_curve(curve, tol=None)[source]

Determine if the point lies on the given curve.

Parameters:
curvecompas.geometry.Curve

The curve.

tolfloat, optional

A tolerance value for the distance between the point and the curve.

Returns:
bool

True, if the point lies on the curve. False, otherwise.