Table of Contents

Method ProjectToArc

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

ProjectToArc(GeoArc2, GeoPoint2)

Gets the point of an arc closest to a point, using the default tolerance.

public static GeoPoint2 ProjectToArc(GeoArc2 arc, GeoPoint2 point)

Parameters

arc GeoArc2
point GeoPoint2

Returns

GeoPoint2

ProjectToArc(GeoArc2, GeoPoint2, Tolerance)

Gets the point of an arc closest to a point, within a tolerance.

public static GeoPoint2 ProjectToArc(GeoArc2 arc, GeoPoint2 point, Tolerance tolerance)

Parameters

arc GeoArc2

The arc.

point GeoPoint2

The point; it does not have to lie on the arc.

tolerance Tolerance

The tolerance.

Returns

GeoPoint2

The point of the arc closest to the given point, which is one of its ends when the point falls beyond them.