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; }
public void SetLongitudeMaximum(double value) { _LongitudeMaximum = new Degree(value, Direction.Longitude); }
public void SetLatitudeMinimum(double value) { _LatitudeMinimum = new Degree(value, Direction.Latitude); }
public void SetLongitudeMinimum(decimal value) { _LongitudeMinimum = new Degree((double)value, Direction.Longitude); }
public void SetLatitudeMaximum(decimal value) { _LatitudeMaximum = new Degree((double)value, Direction.Latitude); }