Method GetDistanceAtPoint
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
GetDistanceAtPoint(GeoPoint2)
Gets the signed distance from the origin to the foot of a point on the line: positive ahead of the origin and negative behind it.
public double GetDistanceAtPoint(GeoPoint2 point)
Parameters
pointGeoPoint2
Returns
Remarks
From the line through the origin along X, the point (50, 40) is at 50 and the point (-30, 40) at -30.