/dports/astro/xplanet/xplanet-1.3.1/src/libephemeris/libmoons/ |
H A D | mars.cpp | 38 I = 1.1029 * deg_to_rad; in marsat() 40 P = (278.96 + 0.435258 * td) * deg_to_rad; in marsat() 41 K = (327.90 - 0.435330 * td) * deg_to_rad; in marsat() 42 N = (47.386 - 0.00140 * ty) * deg_to_rad; in marsat() 43 J = (37.271 + 0.00080 * ty) * deg_to_rad; in marsat() 49 I = 1.7901 * deg_to_rad; in marsat() 50 P = (111.7 + 0.017985 * td) * deg_to_rad; in marsat() 52 K = (240.38 - 0.018008 * td) * deg_to_rad; in marsat() 53 N = (46.367 - 0.00138 * ty) * deg_to_rad; in marsat() 54 J = (36.623 + 0.00079 * ty) * deg_to_rad; in marsat() [all …]
|
H A D | neptune.cpp | 43 L = (49.85334766 + 61.25726751 * td) * deg_to_rad; in nepsat() 45 i = 157.6852321 * deg_to_rad; in nepsat() 46 o = (151.7973992 + 0.5430763965 * ty) * deg_to_rad; in nepsat() 48 w = (236.7318362 + 0.5295275852 * ty) * deg_to_rad; in nepsat() 56 J = (90 - 42.51071244) * deg_to_rad; in nepsat() 57 N = (90 + 298.3065940) * deg_to_rad; in nepsat() 67 i = 6.748231850 * deg_to_rad; in nepsat() 68 o = (315.9958928 - 3.650272562 * tc) * deg_to_rad; in nepsat() 70 w = (251.7242240 + 0.8696048083 * tc) * deg_to_rad; in nepsat() 78 J = 22.313 * deg_to_rad; in nepsat() [all …]
|
H A D | jupiter.cpp | 32 psi = (316.518203 - 2.08362E-06 * t) * deg_to_rad; in computeArguments() 38 G = (30.237557 + 0.08309257010 * t) * deg_to_rad; in computeArguments() 74 const double PIj = 13.469942 * deg_to_rad; in jupsat() 77 const double phi1 = 188.374346 * deg_to_rad; in jupsat() 78 const double phi2 = 52.224824 * deg_to_rad; in jupsat() 79 const double phi3 = 257.184000 * deg_to_rad; in jupsat() 80 const double phi4 = 149.152605 * deg_to_rad; in jupsat() 678 const double I = 3.10401 * deg_to_rad; in jupsat() 683 const double OM = 99.95326 * deg_to_rad; in jupsat() 687 const double J = 1.30691 * deg_to_rad; in jupsat() [all …]
|
H A D | pluto.cpp | 22 const double E = (78.6 + n * td) * deg_to_rad; // eccentric anomaly in plusat() 23 const double i = 94.3 * deg_to_rad; // inclination of orbit in plusat() 24 const double o = 223.7 * deg_to_rad; // longitude of ascending node in plusat()
|
H A D | uranus.cpp | 94 const double alpha0 = 76.6067 * deg_to_rad; in UranicentricToGeocentricEquatorial() 95 const double delta0 = 15.0322 * deg_to_rad; in UranicentricToGeocentricEquatorial() 124 const double E1 = (20.082 * deg_to_rad * tcen + 0.611392); in urasat() 125 const double E2 = ( 6.217 * deg_to_rad * tcen + 2.408974); in urasat() 126 const double E3 = ( 2.865 * deg_to_rad * tcen + 2.067774); in urasat() 127 const double E4 = ( 2.078 * deg_to_rad * tcen + 0.735131); in urasat() 128 const double E5 = ( 0.386 * deg_to_rad * tcen + 0.426767); in urasat() 130 const double I1 = (-20.309 * deg_to_rad * tcen + 5.702313); in urasat() 131 const double I2 = ( -6.288 * deg_to_rad * tcen + 0.395757); in urasat() 132 const double I3 = ( -2.836 * deg_to_rad * tcen + 0.589326); in urasat() [all …]
|
H A D | saturn.cpp | 147 const double lambda = (277.872 - 0.6541068 * t) * deg_to_rad; in satsat() 149 const double lp = (280.165 - 0.19586 * T) * deg_to_rad; in satsat() 150 const double i = (173.949 - 0.020 * T) * deg_to_rad - M_PI; // retrograde orbit in satsat() 151 const double omega = (245.998 - 0.41353 * T) * deg_to_rad; in satsat() 173 const double eps = 23.4457889 * deg_to_rad; in satsat() 271 const double AIA = 28.0512 * deg_to_rad; in satsat() 272 const double OMA = 169.5291 * deg_to_rad; in satsat() 284 const double eps = 23.4392911 * deg_to_rad; in satsat()
|
/dports/astro/xplanet/xplanet-1.3.1/src/libprojection/ |
H A D | ProjectionIcosagnomonic.cpp | 332 { PointLL(+64.700000 * deg_to_rad, 10.536200 * deg_to_rad), // 0 in makeTriangles() 333 PointLL( +2.300882 * deg_to_rad, -5.245390 * deg_to_rad), // 1 in makeTriangles() 334 PointLL(+10.447378 * deg_to_rad, 58.157710 * deg_to_rad), // 2 in makeTriangles() 335 PointLL(+39.100000 * deg_to_rad, 122.300000 * deg_to_rad), // 3 in makeTriangles() 336 PointLL(+50.103201 * deg_to_rad, -143.478490 * deg_to_rad), // 4 in makeTriangles() 337 PointLL(+23.717925 * deg_to_rad, -67.132330 * deg_to_rad), // 5 in makeTriangles() 338 PointLL(-39.100000 * deg_to_rad, -57.700000 * deg_to_rad), // 6 in makeTriangles() 339 PointLL(-50.103200 * deg_to_rad, 36.521500 * deg_to_rad), // 7 in makeTriangles() 340 PointLL(-23.717925 * deg_to_rad, 112.867670 * deg_to_rad), // 8 in makeTriangles() 341 PointLL( -2.300900 * deg_to_rad, 174.754600 * deg_to_rad), // 9 in makeTriangles() [all …]
|
H A D | ProjectionMercator.cpp | 17 double lat1 = 80 * deg_to_rad; in ProjectionMercator() 29 snprintf(buffer, 256, "%.1f", projParams[0]/deg_to_rad); in ProjectionMercator() 34 snprintf(buffer, 256, " Using %.1f degrees.\n", lat1/deg_to_rad); in ProjectionMercator()
|
H A D | ProjectionGnomonic.cpp | 39 double lat1 = 45 * deg_to_rad; in init() 51 snprintf(buffer, 256, "%.1f", projParams[0]/deg_to_rad); in init() 56 snprintf(buffer, 256, " Using %.1f degrees.\n", lat1/deg_to_rad); in init()
|
/dports/astro/xplanet/xplanet-1.3.1/src/libplanet/ |
H A D | Planet.cpp | 330 const double J3 = (283.90 + 4850.7 * T2000_) * deg_to_rad; in Planet() 331 const double J4 = (355.80 + 1191.3 * T2000_) * deg_to_rad; in Planet() 332 const double J5 = (119.90 + 262.1 * T2000_) * deg_to_rad; in Planet() 333 const double J6 = (229.80 + 64.3 * T2000_) * deg_to_rad; in Planet() 334 const double J7 = (352.25 + 2382.6 * T2000_) * deg_to_rad; in Planet() 335 const double J8 = (113.35 + 6070.0 * T2000_) * deg_to_rad; in Planet() 617 const double U13 = (304.01 - 51.94 * T2000_) * deg_to_rad; in Planet() 726 double N = (357.85 + 52.316 * T2000_) * deg_to_rad; in Planet() 831 alpha0_ *= deg_to_rad; in Planet() 832 delta0_ *= deg_to_rad; in Planet() [all …]
|
/dports/astro/libosmium/libosmium-2.17.2/include/osmium/geom/ |
H A D | haversine.hpp | 67 double lonh = std::sin(deg_to_rad(c1.x - c2.x) * 0.5); in distance() 69 double lath = std::sin(deg_to_rad(c1.y - c2.y) * 0.5); in distance() 71 const double tmp = std::cos(deg_to_rad(c1.y)) * std::cos(deg_to_rad(c2.y)); in distance()
|
/dports/converters/osm2pgsql/osm2pgsql-1.5.1/contrib/libosmium/include/osmium/geom/ |
H A D | haversine.hpp | 67 double lonh = std::sin(deg_to_rad(c1.x - c2.x) * 0.5); in distance() 69 double lath = std::sin(deg_to_rad(c1.y - c2.y) * 0.5); in distance() 71 const double tmp = std::cos(deg_to_rad(c1.y)) * std::cos(deg_to_rad(c2.y)); in distance()
|
/dports/www/osrm-backend/osrm-backend-5.26.0/third_party/libosmium/include/osmium/geom/ |
H A D | haversine.hpp | 67 double lonh = std::sin(deg_to_rad(c1.x - c2.x) * 0.5); in distance() 69 double lath = std::sin(deg_to_rad(c1.y - c2.y) * 0.5); in distance() 71 const double tmp = std::cos(deg_to_rad(c1.y)) * std::cos(deg_to_rad(c2.y)); in distance()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bpro/core/vpgl_pro/processes/ |
H A D | vpgl_persp_cam_from_photo_overlay_process.cxx | 61 double deg_to_rad = vnl_math::pi/180.0; in vpgl_persp_cam_from_photo_overlay_process() local 70 double fov_hor = pro.get_input<float>(7)*deg_to_rad; // TODO - unused! in vpgl_persp_cam_from_photo_overlay_process() 71 double fov_ver = pro.get_input<float>(8)*deg_to_rad; // TODO - unused! in vpgl_persp_cam_from_photo_overlay_process() 88 vnl_quaternion<double> q_h(0.0, 0.0, -heading*deg_to_rad); in vpgl_persp_cam_from_photo_overlay_process() 99 vnl_quaternion<double> q_t(x_vector_fixed, tilt*deg_to_rad); in vpgl_persp_cam_from_photo_overlay_process()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bsta/ |
H A D | bsta_spherical_histogram.hxx | 110 az_start = deg_to_rad(az_start); in azimuth_start() 118 return deg_to_rad(azimuth_range_); in azimuth_range() 130 el_start = deg_to_rad(el_start); in elevation_start() 138 return deg_to_rad(elevation_range_); in elevation_range() 154 return deg_to_rad(middle); in azimuth_center() 168 return deg_to_rad(middle); in elevation_center() 189 az = deg_to_rad(az); in convert_to_cartesian() 190 el = deg_to_rad(el); in convert_to_cartesian() 219 elevation = deg_to_rad(elevation); in convert_to_spherical() 229 elevation = deg_to_rad(elevation); in convert_to_spherical() [all …]
|
/dports/x11/3ddesktop/3ddesktop-0.2.9/ |
H A D | util.h | 73 inline float deg_to_rad(float deg) in deg_to_rad() function 85 return (r * cos (deg_to_rad(theta))); in polar_to_x() 91 return (r * sin (deg_to_rad(theta))); in polar_to_y()
|
/dports/comms/wwl/wwl+db-1.3/ |
H A D | wwl.c | 57 static double deg_to_rad(double degrees); 164 loc.latitude = deg_to_rad(loc.latitude); in convert_locator() 168 loc.longitude = deg_to_rad(loc.longitude); in convert_locator() 195 deg_to_rad(double degrees) in deg_to_rad() function
|
/dports/astro/xplanet/xplanet-1.3.1/src/ |
H A D | readOriginFile.cpp | 76 lat *= deg_to_rad; in readOriginFile() 77 lon *= deg_to_rad; in readOriginFile() 108 lat *= deg_to_rad; in readDynamicOrigin() 109 lon *= deg_to_rad; in readDynamicOrigin()
|
/dports/science/nwchem/nwchem-7b21660b82ebd85ef659f6fba7e1e73433b0bd0a/contrib/marat/amber-helper/ |
H A D | amber_params.fh | 10 double precision deg_to_rad 11 parameter(deg_to_rad=0.0174532925d0)
|
/dports/science/nwchem-data/nwchem-7.0.2-release/contrib/marat/amber-helper/ |
H A D | amber_params.fh | 10 double precision deg_to_rad 11 parameter(deg_to_rad=0.0174532925d0)
|
/dports/astro/xplanet/xplanet-1.3.1/src/libephemeris/ |
H A D | EphemerisLow.cpp | 212 const double eps = 23.4392911 * deg_to_rad; in GetHeliocentricXYZ() 318 double dl = (3600*dlm[0] + t*dlm[1] + t2*dlm[2]) * deg_to_rad / 3600; in calcHeliocentricXYZ() 320 double dp = (3600*pi[0] + t*pi[1] + t2*pi[2]) * deg_to_rad / 3600; in calcHeliocentricXYZ() 322 * deg_to_rad / 3600); in calcHeliocentricXYZ() 324 * deg_to_rad / 3600); in calcHeliocentricXYZ()
|
/dports/deskutils/gnome-clocks/gnome-clocks-40.0/src/ |
H A D | geocoding.vala | 79 private double deg_to_rad (double deg) { 86 double lat1 = deg_to_rad (latitude1); 87 double lat2 = deg_to_rad (latitude2); 88 double lon1 = deg_to_rad (longitude1); 89 double lon2 = deg_to_rad (longitude2);
|
/dports/astro/libosmium/libosmium-2.17.2/test/t/geom/ |
H A D | test_crs.cpp | 9 const osmium::geom::Coordinates c{osmium::geom::deg_to_rad(1.2), osmium::geom::deg_to_rad(3.4)};
|
/dports/www/osrm-backend/osrm-backend-5.26.0/third_party/libosmium/test/t/geom/ |
H A D | test_crs.cpp | 9 const osmium::geom::Coordinates c{osmium::geom::deg_to_rad(1.2), osmium::geom::deg_to_rad(3.4)};
|
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/foundation/meta/tests/ |
H A D | test_scalar.cpp | 46 EXPECT_FEQ(0.0, deg_to_rad(0.0)); in TEST_SUITE() 47 EXPECT_FEQ(Pi<double>() / 4.0, deg_to_rad(45.0)); in TEST_SUITE() 48 EXPECT_FEQ(Pi<double>(), deg_to_rad(180.0)); in TEST_SUITE() 49 EXPECT_FEQ(2.0 * Pi<double>(), deg_to_rad(360.0)); in TEST_SUITE() 51 EXPECT_FEQ(static_cast<float>(Pi<double>() / 4.0), deg_to_rad(45.0f)); in TEST_SUITE() 52 EXPECT_FEQ_EPS(static_cast<long double>(Pi<double>() / 4.0), deg_to_rad(45.0L), 1.0e-14L); in TEST_SUITE()
|