public double CalculateDistance(
Coordinate c,
Coordinate a,
Coordinate b,
LineMode mode)
Parameters:
c Type: SpatialLite.Core.API.Coordinate The coordinate to compute the distance for.
a Type: SpatialLite.Core.API.Coordinate One point of the line.
b Type: SpatialLite.Core.API.Coordinate Another point of the line.
mode Type: SpatialLite.Core.Algorithms.LineMode LineMode value that specifies whether AB should be treated as infinite line or as line segment.
Return Value The distance from C to line AB in coordinate's units.
I am using the above method from SpatialLite Library. The returned variable is of type double and as described in the documentation it is the distance in coordinate's units. I do not understand what exactly "coordinate's units" are. How can I convert them in to meters?
Source code here .