Beispiel #1
0
 public static double KmPerDegreeAtLatitude(Degree latitude)
 {
     double cos = Math.Cos(latitude * Math.PI / 180.0);
     //double kmPerDegree = RadiusAtLatitude(latitude) * Math.PI / 180;
     double retVal = KmPerDegree * cos;
     return retVal;
 }
Beispiel #2
0
 public void SetLongitudeMaximum(double value)
 {
     _LongitudeMaximum = new Degree(value, Direction.Longitude);
 }
Beispiel #3
0
 public void SetLatitudeMinimum(double value)
 {
     _LatitudeMinimum = new Degree(value, Direction.Latitude);
 }
Beispiel #4
0
 public void SetLongitudeMinimum(decimal value)
 {
     _LongitudeMinimum = new Degree((double)value, Direction.Longitude);
 }
Beispiel #5
0
 public void SetLatitudeMaximum(decimal value)
 {
     _LatitudeMaximum = new Degree((double)value, Direction.Latitude);
 }