Interface ISimpleCoordinate
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
A simple coordinate on the earth surface. X is longitude and Y is latitude.
public interface ISimpleCoordinate
Properties
X
Gets the X or longitude.
double X { get; }
Property Value
Y
Gets the Y or latitude.
double Y { get; }
Property Value
Methods
DistanceFrom(ISimpleCoordinate)
Returns the distance between this point and the supplied point in meters.
double DistanceFrom(ISimpleCoordinate coordinate)
Parameters
coordinate
ISimpleCoordinateThe ISimpleCoordinate being checked for distance.
Returns
- double
The distance.