예제 #1
0
        /// <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);
        }
예제 #2
0
 /// <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));
 }
예제 #3
0
 public GeoCoordinateLine(Point origin, Point ending)
     : this(GeoLocation.FromPoint(origin), GeoLocation.FromPoint(ending))
 {
 }