Table of Contents

Method GetClosestPointOnBoundary

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetClosestPointOnBoundary(GeoPoint3)

Gets the closest point on this line to a target point: the foot of the perpendicular.

public GeoPoint3 GetClosestPointOnBoundary(GeoPoint3 point)

Parameters

point GeoPoint3

Returns

GeoPoint3

Remarks

From the line through the origin along X, the points (50, 40, 30) and (-30, 40, 30) land at (50, 0, 0) and (-30, 0, 0): unlike a ray, a line has no start to stop at.