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
pointGeoPoint2The 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
pointGeoPoint2The point; it does not have to lie on the spline.
toleranceToleranceThe tolerance; not read, since the nearest point takes none.
Returns
- double
The length from the start of the spline to its nearest point.