Table of Contents

Method GetDistanceAtPoint

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetDistanceAtPoint(GeoPoint2)

Gets how far along the spline the point nearest a point lies, using the default tolerance.

public double GetDistanceAtPoint(GeoPoint2 point)

Parameters

point GeoPoint2

The point; it does not have to lie on the spline.

Returns

double

The length from the start of the spline to its nearest point.

GetDistanceAtPoint(GeoPoint2, Tolerance)

Gets how far along the spline the point nearest a point lies, within a tolerance.

public double GetDistanceAtPoint(GeoPoint2 point, Tolerance tolerance)

Parameters

point GeoPoint2

The point; it does not have to lie on the spline.

tolerance Tolerance

The tolerance; not read, since the nearest point takes none.

Returns

double

The length from the start of the spline to its nearest point.