Table of Contents

Method GetDistanceAtPoint

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetDistanceAtPoint(GeoPoint2)

Gets how far along the chain the point nearest a point lies.

public double GetDistanceAtPoint(GeoPoint2 point)

Parameters

point GeoPoint2

Returns

double

GetDistanceAtPoint(GeoPoint2, Tolerance)

Gets how far along the chain 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 edge is the edge it is however short: at a hundredth, the hairpin from (0, 0) to (10, 0), on to (10, 0.006) and back to (0, 0.006) puts (10.03, 0.003) 10.003 along, beside the middle of its edge 0.006 long, where it put it 10 along, at that edge's start.