Table of Contents

Method IsPointOn

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

IsPointOn(GeoEllipse2, GeoPoint2)

Checks whether a point lies on the rim of an ellipse, using the default tolerance.

public static bool IsPointOn(GeoEllipse2 ellipse, GeoPoint2 point)

Parameters

ellipse GeoEllipse2
point GeoPoint2

Returns

bool

IsPointOn(GeoEllipse2, GeoPoint2, Tolerance)

Checks whether a point lies on the rim of an ellipse, within a tolerance.

public static bool IsPointOn(GeoEllipse2 ellipse, GeoPoint2 point, Tolerance tolerance)

Parameters

ellipse GeoEllipse2

The ellipse.

point GeoPoint2

The point.

tolerance Tolerance

The tolerance: how far from the rim, in drawing units, a point still lies on it.

Returns

bool

true if the nearest point of the rim is no further than the point tolerance; otherwise, false.