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
loopGeoPolygonArc2pointGeoPoint2
Returns
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
loopGeoPolygonArc2pointGeoPoint2toleranceTolerance
Returns
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.