Method GetDistanceAtPoint
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
GetDistanceAtPoint(GeoPoint3)
Gets how far along the spline the point nearest a point lies, using the default tolerance.
public double GetDistanceAtPoint(GeoPoint3 point)
Parameters
pointGeoPoint3The 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(GeoPoint3, Tolerance)
Gets how far along the spline the point nearest a point lies, within a tolerance.
public double GetDistanceAtPoint(GeoPoint3 point, Tolerance tolerance)
Parameters
pointGeoPoint3The 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.