2016-04-11
1.0.0
Miguel Ribeiro
9.1.0.20
All
.NET
Components, Libraries
[Overview]
Extension containing a simple method which receives a list of coordinates and a reference origin, sorting the list from the closest to the farthest coordinate.
[Detail]
The component has one method CoordinateSort which receives:
. Coordinate Record List (Coordinate has a latitude and longitude, both decimal values)
. Coordinate Record (Reference coordinate)
The result is the following:
. Coordinate Record List (Sorted list of coordinates, where the first one of the list is the closest to the reference coordinate, and the last one is the farthest)