Table of Contents

Method GetClosestPointOnBoundary

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetClosestPointOnBoundary(GeoPoint2)

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

public GeoPoint2 GetClosestPointOnBoundary(GeoPoint2 point)

Parameters

point GeoPoint2

Returns

GeoPoint2

Remarks

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