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
ellipseGeoEllipse2pointGeoPoint2
Returns
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
ellipseGeoEllipse2The ellipse.
pointGeoPoint2The point.
toleranceToleranceThe 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.