Table of Contents

Method GetDistanceAtPoint

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetDistanceAtPoint(GeoPoint2)

Gets how far round the loop the point nearest a point lies.

public double GetDistanceAtPoint(GeoPoint2 point)

Parameters

point GeoPoint2

Returns

double

GetDistanceAtPoint(GeoPoint2, Tolerance)

Gets how far round the loop the point nearest a point lies, within a tolerance.

public double GetDistanceAtPoint(GeoPoint2 point, Tolerance tolerance)

Parameters

point GeoPoint2
tolerance Tolerance

Returns

double

Remarks

A straight side is the side it is however short: at a hundredth, the loop (0, 0), (10, 0), (10, 0.006), (0, 10) puts (10.03, 0.003) 10.003 round, beside the middle of its side 0.006 long, where it put it 10 round, at that side's start.