Table of Contents

Method ProjectToPolygonArc

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

ProjectToPolygonArc(GeoPolygonArc2, GeoPoint2)

Gets the point of a loop that may curve nearest a point.

public static GeoPoint2 ProjectToPolygonArc(GeoPolygonArc2 loop, GeoPoint2 point)

Parameters

loop GeoPolygonArc2
point GeoPoint2

Returns

GeoPoint2

Exceptions

ArgumentNullException

Thrown when the loop is null.

ProjectToPolygonArc(GeoPolygonArc2, GeoPoint2, Tolerance)

Gets the point of a loop that may curve nearest a point, within a tolerance.

public static GeoPoint2 ProjectToPolygonArc(GeoPolygonArc2 loop, GeoPoint2 point, Tolerance tolerance)

Parameters

loop GeoPolygonArc2
point GeoPoint2
tolerance Tolerance

Returns

GeoPoint2

Remarks

The answer lies on the arcs themselves, not on the chords that stand in for them elsewhere.

Exceptions

ArgumentNullException

Thrown when the loop is null.