Table of Contents

Method ProjectToCircle

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

ProjectToCircle(GeoCircle2, GeoPoint2)

Projects a point onto the circumference of a circle using default tolerance.

public static GeoPoint2 ProjectToCircle(GeoCircle2 circle, GeoPoint2 point)

Parameters

circle GeoCircle2

The circle.

point GeoPoint2

The target point.

Returns

GeoPoint2

The closest point on the circle boundary.

ProjectToCircle(GeoCircle2, GeoPoint2, Tolerance)

Projects a point onto the circumference of a circle within tolerance. The result always lies on the circumference, including for points inside the circle.

public static GeoPoint2 ProjectToCircle(GeoCircle2 circle, GeoPoint2 point, Tolerance tolerance)

Parameters

circle GeoCircle2

The circle.

point GeoPoint2

The target point.

tolerance Tolerance

The tolerance.

Returns

GeoPoint2

The closest point on the circle boundary.