Method GetDistanceSquaredTo
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
GetDistanceSquaredTo(GeoPoint2, GeoPoint2)
Calculates the squared Euclidean distance between two points.
public static double GetDistanceSquaredTo(GeoPoint2 p1, GeoPoint2 p2)
Parameters
Returns
- double
The squared Euclidean distance between the two points.