Table of Contents

Method GetClosestPointOnBoundary

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetClosestPointOnBoundary(GeoPoint2)

Gets the closest point on this ray to a target point, clamped to the origin.

public GeoPoint2 GetClosestPointOnBoundary(GeoPoint2 point)

Parameters

point GeoPoint2

Returns

GeoPoint2

Remarks

From the ray leaving the origin along X, the point (50, 40) lands at (50, 0) and the point (-30, 40) at the origin.