Method GetClosestPointOnBoundary
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
GetClosestPointOnBoundary(GeoPoint3)
Gets the point of this arc closest to a point.
public GeoPoint3 GetClosestPointOnBoundary(GeoPoint3 point)
Parameters
pointGeoPoint3
Returns
GetClosestPointOnBoundary(GeoPoint3, Tolerance)
Gets the point of this arc closest to a point, within a tolerance.
public GeoPoint3 GetClosestPointOnBoundary(GeoPoint3 point, Tolerance tolerance)
Parameters
Returns
Remarks
A point whose foot in the arc's plane falls within the tolerance of the centre is read as at the centre, which has no direction, and is carried to the arc's start; the distance to the point is the exact one, so the line can be longer than it, by at most twice the foot's offset from the centre. At a tolerance of a thousandth, the point (0, -0.0009, 0) and the arc of radius 50 about the origin from (-50, 0, 0) through (0, -50, 0) to (50, 0, 0): the closest point is (-50, 0, 0), 50.00000001 away, where the distance is 49.9991.