/// <summary> /// Calculates maximum geographic location from two geographic location /// </summary> public static GeoLocation Max(GeoLocation location1, GeoLocation location2) { var location = location1.Max(location2); return(location); }
/// <summary>Compares the location has the same Longitude and Latitude values with specified location </summary> public bool IsSameLocation(GeoLocation location) { return((this.Longitude == location.Longitude) && (this.Latitude == location.Latitude)); }
public GeoCoordinateLine(Point origin, Point ending) : this(GeoLocation.FromPoint(origin), GeoLocation.FromPoint(ending)) { }