Table of Contents

Method GetClosestPointOnBoundary

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetClosestPointOnBoundary(GeoPoint2)

Gets the point on the edges of this triangle closest to a point.

public GeoPoint2 GetClosestPointOnBoundary(GeoPoint2 point)

Parameters

point GeoPoint2

Returns

GeoPoint2

Remarks

Each edge is measured as it is however short: the triangle (0, 0), (10, 0), (10, 0.0006) gives (10.03, 0.0003) the foot (10, 0.0003) on its edge 0.0006 long, 0.03 away, where it gave that edge's start, 0.0300015 away.