Method GetClosestPointOnBoundary
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
GetClosestPointOnBoundary(GeoPoint3)
Gets the point of the surface closest to a target point: where the line from the centre through it leaves the ball.
public GeoPoint3 GetClosestPointOnBoundary(GeoPoint3 point)
Parameters
pointGeoPoint3
Returns
Remarks
From the ball of radius 50 about the origin, the point (0, 0, 200) gets (0, 0, 50), and so does (0, 0, 10). The centre is as near every point of the surface, and gets the first axis one radius from it, (50, 0, 0), so that the answer is the same each time.