Table of Contents

Method IsPointOn

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

IsPointOn(GeoPoint2)

Checks whether a point lies on this line using the default tolerance.

public bool IsPointOn(GeoPoint2 point)

Parameters

point GeoPoint2

Returns

bool

IsPointOn(GeoPoint2, Tolerance)

Checks whether a point lies on this line within a tolerance.

public bool IsPointOn(GeoPoint2 point, Tolerance tolerance)

Parameters

point GeoPoint2
tolerance Tolerance

Returns

bool

Remarks

Of the line through the origin along X, the points (100, 0) and (-1, 0) are on it, and the point (5, 0.002) is not at a tolerance of a thousandth.