/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/sql/gis/ |
H A D | rtree_support.cc | 90 gis::Geographic_point(srs->to_radians(a->xmin), in mbr_contain_cmp() 277 gis::Geographic_point(srs->to_radians(a[0]), srs->to_radians(a[2])), in mbr_join() 278 gis::Geographic_point(srs->to_radians(a[1]), srs->to_radians(a[3]))); in mbr_join() 280 gis::Geographic_point(srs->to_radians(b[0]), srs->to_radians(b[2])), in mbr_join() 281 gis::Geographic_point(srs->to_radians(b[1]), srs->to_radians(b[3]))); in mbr_join() 309 gis::Geographic_point(srs->to_radians(a[0]), srs->to_radians(a[2])), in mbr_join_area() 310 gis::Geographic_point(srs->to_radians(a[1]), srs->to_radians(a[3]))); in mbr_join_area() 312 gis::Geographic_point(srs->to_radians(b[0]), srs->to_radians(b[2])), in mbr_join_area() 313 gis::Geographic_point(srs->to_radians(b[1]), srs->to_radians(b[3]))); in mbr_join_area() 340 gis::Geographic_point(srs->to_radians(a[0]), srs->to_radians(a[2])), in compute_area() [all …]
|
/dports/arabic/libitl/ITL-f8f41cc/new_method/src/ |
H A D | prayer.c | 13 static double to_radians(const double x); 72 static double to_radians(const double x) in to_radians() function 171 L = q + 1.915 * sin(to_radians(g)) + \ in get_approx_sun_coord() 172 0.020 * sin(to_radians(2.0*g)); in get_approx_sun_coord() 174 0.00014 * cos(to_radians(2.0*g)); in get_approx_sun_coord() 176 RA = to_degrees(atan2(cos(to_radians(e)) * sin(to_radians(L)), \ in get_approx_sun_coord() 178 D = to_degrees(asin(sin(to_radians(e)) * sin(to_radians(L)))); in get_approx_sun_coord() 202 double p2 = cos(to_radians(latitude)) * cos(to_radians(D)); in T() 203 double p3 = sin(to_radians(latitude)) * sin(to_radians(D)); in T() 220 double p2 = cos(to_radians(latitude)) * cos(to_radians(D)); in A() [all …]
|
/dports/graphics/epix/epix-1.2.19/ |
H A D | functions.cc | 51 return std::cos(the_angle_style().to_radians(t)); in Cos() 56 return std::sin(the_angle_style().to_radians(t)); in Sin() 61 return std::tan(the_angle_style().to_radians(t)); in Tan() 66 return 1.0/std::cos(the_angle_style().to_radians(t)); in Sec() 71 return 1.0/std::sin(the_angle_style().to_radians(t)); in Csc() 76 return 1.0/std::tan(the_angle_style().to_radians(t)); in Cot() 82 return std::acos(arg)/the_angle_style().to_radians(1); in Acos() 87 return std::asin(arg)/the_angle_style().to_radians(1); in Asin() 92 return std::atan(arg)/the_angle_style().to_radians(1); in Atan() 97 return std::atan2(y, x)/the_angle_style().to_radians(1); in Atan2() [all …]
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/geo-0.13.0/src/algorithm/ |
H A D | bearing.rs | 33 let (lng_a, lat_a) = (self.x().to_radians(), self.y().to_radians()); in bearing() 34 let (lng_b, lat_b) = (point.x().to_radians(), point.y().to_radians()); in bearing()
|
H A D | haversine_distance.rs | 44 let theta1 = self.y().to_radians(); in haversine_distance() 45 let theta2 = rhs.y().to_radians(); in haversine_distance() 46 let delta_theta = (rhs.y() - self.y()).to_radians(); in haversine_distance() 47 let delta_lambda = (rhs.x() - self.x()).to_radians(); in haversine_distance()
|
/dports/misc/vxl/vxl-3.3.2/core/vpgl/ |
H A D | vpgl_lvcs.cxx | 30 to_radians = 1.0; in get_angle_conversions() 33 to_radians = DEGREES_TO_RADIANS; in get_angle_conversions() 281 wgs84_phi = localCSOriginLat_ * to_radians; in compute_scale() 294 wgs84_phi *= to_radians; in compute_scale() 295 wgs84_lamda *= to_radians; in compute_scale() 305 wgs84_phi *= to_radians; in compute_scale() 306 wgs84_lamda *= to_radians; in compute_scale() 332 wgs84_phi *= to_radians; in compute_scale() 333 wgs84_lamda *= to_radians; in compute_scale() 368 wgs84_phi *= to_radians; in compute_scale() [all …]
|
/dports/devel/interactive_rebase_tool/git-interactive-rebase-tool-1.2.1/cargo-crates/num-traits-0.2.6/src/ |
H A D | float.rs | 720 fn to_radians(self) -> Self; in to_radians() method 789 fn to_radians(self) -> Self { in to_radians() method 814 Self::to_radians(self) -> Self; 862 fn to_radians(self) -> Self { in to_radians() method 887 Self::to_radians(self) -> Self; 1438 fn to_radians(self) -> Self { in to_radians() method 1857 Self::to_radians(self) -> Self; 1989 assert!((FloatCore::to_radians(deg) - rad).abs() < 1e-6); in convert_deg_rad() 1993 assert!((FloatCore::to_radians(deg) - rad).abs() < 1e-5); in convert_deg_rad() 2004 assert!((Float::to_radians(deg) - rad).abs() < 1e-6); in convert_deg_rad_std() [all …]
|
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/num-traits-0.2.8/src/ |
H A D | float.rs | 720 fn to_radians(self) -> Self; in to_radians() method 789 fn to_radians(self) -> Self { in to_radians() method 814 Self::to_radians(self) -> Self; 862 fn to_radians(self) -> Self { in to_radians() method 887 Self::to_radians(self) -> Self; 1438 fn to_radians(self) -> Self { in to_radians() method 1857 Self::to_radians(self) -> Self; 1989 assert!((FloatCore::to_radians(deg) - rad).abs() < 1e-6); in convert_deg_rad() 1993 assert!((FloatCore::to_radians(deg) - rad).abs() < 1e-5); in convert_deg_rad() 2004 assert!((Float::to_radians(deg) - rad).abs() < 1e-6); in convert_deg_rad_std() [all …]
|
/dports/editors/xi-term/xi-term-d264767/cargo-crates/num-traits-0.2.8/src/ |
H A D | float.rs | 720 fn to_radians(self) -> Self; in to_radians() method 789 fn to_radians(self) -> Self { in to_radians() method 814 Self::to_radians(self) -> Self; 862 fn to_radians(self) -> Self { in to_radians() method 887 Self::to_radians(self) -> Self; 1438 fn to_radians(self) -> Self { in to_radians() method 1857 Self::to_radians(self) -> Self; 1989 assert!((FloatCore::to_radians(deg) - rad).abs() < 1e-6); in convert_deg_rad() 1993 assert!((FloatCore::to_radians(deg) - rad).abs() < 1e-5); in convert_deg_rad() 2004 assert!((Float::to_radians(deg) - rad).abs() < 1e-6); in convert_deg_rad_std() [all …]
|
/dports/net/rabbiteer/rabbiteer-rs-c881238/cargo-crates/num-traits-0.2.5/src/ |
H A D | float.rs | 712 fn to_radians(self) -> Self; in to_radians() method 781 fn to_radians(self) -> Self { in to_radians() method 806 Self::to_radians(self) -> Self; 854 fn to_radians(self) -> Self { in to_radians() method 879 Self::to_radians(self) -> Self; 1436 fn to_radians(self) -> Self { in to_radians() method 1856 Self::to_radians(self) -> Self; 1996 assert!((FloatCore::to_radians(deg) - rad).abs() < 1e-6); in convert_deg_rad() 2000 assert!((FloatCore::to_radians(deg) - rad).abs() < 1e-5); in convert_deg_rad() 2011 assert!((Float::to_radians(deg) - rad).abs() < 1e-6); in convert_deg_rad_std() [all …]
|
/dports/editors/xi-core/xi-editor-0.3.0/rust/cargo-crates/num-traits-0.2.8/src/ |
H A D | float.rs | 720 fn to_radians(self) -> Self; in to_radians() method 789 fn to_radians(self) -> Self { in to_radians() method 814 Self::to_radians(self) -> Self; 862 fn to_radians(self) -> Self { in to_radians() method 887 Self::to_radians(self) -> Self; 1438 fn to_radians(self) -> Self { in to_radians() method 1857 Self::to_radians(self) -> Self; 1989 assert!((FloatCore::to_radians(deg) - rad).abs() < 1e-6); in convert_deg_rad() 1993 assert!((FloatCore::to_radians(deg) - rad).abs() < 1e-5); in convert_deg_rad() 2004 assert!((Float::to_radians(deg) - rad).abs() < 1e-6); in convert_deg_rad_std() [all …]
|
/dports/games/dose-response/dose-response-179c326/cargo-crates/num-traits-0.2.6/src/ |
H A D | float.rs | 720 fn to_radians(self) -> Self; in to_radians() method 789 fn to_radians(self) -> Self { in to_radians() method 814 Self::to_radians(self) -> Self; 862 fn to_radians(self) -> Self { in to_radians() method 887 Self::to_radians(self) -> Self; 1438 fn to_radians(self) -> Self { in to_radians() method 1857 Self::to_radians(self) -> Self; 1989 assert!((FloatCore::to_radians(deg) - rad).abs() < 1e-6); in convert_deg_rad() 1993 assert!((FloatCore::to_radians(deg) - rad).abs() < 1e-5); in convert_deg_rad() 2004 assert!((Float::to_radians(deg) - rad).abs() < 1e-6); in convert_deg_rad_std() [all …]
|
/dports/textproc/xsv-rs/xsv-0.13.0/cargo-crates/num-traits-0.2.4/src/ |
H A D | float.rs | 712 fn to_radians(self) -> Self; in to_radians() method 781 fn to_radians(self) -> Self { in to_radians() method 806 Self::to_radians(self) -> Self; 854 fn to_radians(self) -> Self { in to_radians() method 879 Self::to_radians(self) -> Self; 1434 fn to_radians(self) -> Self { in to_radians() method 1854 Self::to_radians(self) -> Self; 1994 assert!((FloatCore::to_radians(deg) - rad).abs() < 1e-6); in convert_deg_rad() 1998 assert!((FloatCore::to_radians(deg) - rad).abs() < 1e-5); in convert_deg_rad() 2009 assert!((Float::to_radians(deg) - rad).abs() < 1e-6); in convert_deg_rad_std() [all …]
|
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/num-traits-0.2.6/src/ |
H A D | float.rs | 720 fn to_radians(self) -> Self; in to_radians() method 789 fn to_radians(self) -> Self { in to_radians() method 814 Self::to_radians(self) -> Self; 862 fn to_radians(self) -> Self { in to_radians() method 887 Self::to_radians(self) -> Self; 1438 fn to_radians(self) -> Self { in to_radians() method 1857 Self::to_radians(self) -> Self; 1989 assert!((FloatCore::to_radians(deg) - rad).abs() < 1e-6); in convert_deg_rad() 1993 assert!((FloatCore::to_radians(deg) - rad).abs() < 1e-5); in convert_deg_rad() 2004 assert!((Float::to_radians(deg) - rad).abs() < 1e-6); in convert_deg_rad_std() [all …]
|
/dports/sysutils/potnet/potnet-0.4.4/cargo-crates/num-traits-0.2.8/src/ |
H A D | float.rs | 720 fn to_radians(self) -> Self; in to_radians() method 789 fn to_radians(self) -> Self { in to_radians() method 814 Self::to_radians(self) -> Self; 862 fn to_radians(self) -> Self { in to_radians() method 887 Self::to_radians(self) -> Self; 1438 fn to_radians(self) -> Self { in to_radians() method 1857 Self::to_radians(self) -> Self; 1989 assert!((FloatCore::to_radians(deg) - rad).abs() < 1e-6); in convert_deg_rad() 1993 assert!((FloatCore::to_radians(deg) - rad).abs() < 1e-5); in convert_deg_rad() 2004 assert!((Float::to_radians(deg) - rad).abs() < 1e-6); in convert_deg_rad_std() [all …]
|
/dports/sysutils/flowgger/flowgger-0.2.10/cargo-crates/num-traits-0.2.8/src/ |
H A D | float.rs | 720 fn to_radians(self) -> Self; in to_radians() method 789 fn to_radians(self) -> Self { in to_radians() method 814 Self::to_radians(self) -> Self; 862 fn to_radians(self) -> Self { in to_radians() method 887 Self::to_radians(self) -> Self; 1438 fn to_radians(self) -> Self { in to_radians() method 1857 Self::to_radians(self) -> Self; 1989 assert!((FloatCore::to_radians(deg) - rad).abs() < 1e-6); in convert_deg_rad() 1993 assert!((FloatCore::to_radians(deg) - rad).abs() < 1e-5); in convert_deg_rad() 2004 assert!((Float::to_radians(deg) - rad).abs() < 1e-6); in convert_deg_rad_std() [all …]
|
/dports/graphics/rx/rx-0.4.0/cargo-crates/num-traits-0.2.8/src/ |
H A D | float.rs | 720 fn to_radians(self) -> Self; in to_radians() method 789 fn to_radians(self) -> Self { in to_radians() method 814 Self::to_radians(self) -> Self; 862 fn to_radians(self) -> Self { in to_radians() method 887 Self::to_radians(self) -> Self; 1438 fn to_radians(self) -> Self { in to_radians() method 1857 Self::to_radians(self) -> Self; 1989 assert!((FloatCore::to_radians(deg) - rad).abs() < 1e-6); in convert_deg_rad() 1993 assert!((FloatCore::to_radians(deg) - rad).abs() < 1e-5); in convert_deg_rad() 2004 assert!((Float::to_radians(deg) - rad).abs() < 1e-6); in convert_deg_rad_std() [all …]
|
/dports/multimedia/tvheadend/tvheadend-4.2.8/src/input/mpegts/linuxdvb/ |
H A D | linuxdvb_rotor.c | 176 double to_radians( double val ) in to_radians() function 208 double sin_site_lat = sin(to_radians(site_lat)); in sat_azimuth_and_elevation() 209 double cos_site_lat = cos(to_radians(site_lat)); in sat_azimuth_and_elevation() 213 double alfa_rx = r_sat*cos(to_radians(sat_lon-site_lon)) - Ra; in sat_azimuth_and_elevation() 214 double alfa_ry = r_sat*sin(to_radians(sat_lon-site_lon)); in sat_azimuth_and_elevation() 231 *elevation = El_geometric+0.01617*(cos(to_radians(fabs(El_geometric)))/ in sat_azimuth_and_elevation() 232 sin(to_radians(fabs(El_geometric)))); in sat_azimuth_and_elevation() 278 double rad_azimuth = to_radians(azimuth); in sat_angle() 279 double rad_elevation = to_radians(elevation); in sat_angle() 280 double rad_site_lat = to_radians(site_lat); in sat_angle()
|
/dports/devel/grpc130/grpc-1.30.2/examples/ruby/route_guide/ |
H A D | route_guide_server.rb | 37 to_radians = proc { |x| x * Math::PI / 180 } 38 lat_a = to_radians.call(point_a.latitude / COORD_FACTOR) 39 lat_b = to_radians.call(point_b.latitude / COORD_FACTOR) 40 lon_a = to_radians.call(point_a.longitude / COORD_FACTOR) 41 lon_b = to_radians.call(point_b.longitude / COORD_FACTOR)
|
/dports/devel/grpc134/grpc-1.34.1/examples/ruby/route_guide/ |
H A D | route_guide_server.rb | 37 to_radians = proc { |x| x * Math::PI / 180 } 38 lat_a = to_radians.call(point_a.latitude / COORD_FACTOR) 39 lat_b = to_radians.call(point_b.latitude / COORD_FACTOR) 40 lon_a = to_radians.call(point_a.longitude / COORD_FACTOR) 41 lon_b = to_radians.call(point_b.longitude / COORD_FACTOR)
|
/dports/devel/grpc/grpc-1.42.0/examples/ruby/route_guide/ |
H A D | route_guide_server.rb | 37 to_radians = proc { |x| x * Math::PI / 180 } 38 lat_a = to_radians.call(point_a.latitude / COORD_FACTOR) 39 lat_b = to_radians.call(point_b.latitude / COORD_FACTOR) 40 lon_a = to_radians.call(point_a.longitude / COORD_FACTOR) 41 lon_b = to_radians.call(point_b.longitude / COORD_FACTOR)
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/grpc/src/examples/ruby/route_guide/ |
H A D | route_guide_server.rb | 37 to_radians = proc { |x| x * Math::PI / 180 } 38 lat_a = to_radians.call(point_a.latitude / COORD_FACTOR) 39 lat_b = to_radians.call(point_b.latitude / COORD_FACTOR) 40 lon_a = to_radians.call(point_a.longitude / COORD_FACTOR) 41 lon_b = to_radians.call(point_b.longitude / COORD_FACTOR)
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/geom/src/ |
H A D | gps.rs | 35 let lon1 = self.x().to_radians(); in gps_dist_meters() 36 let lon2 = other.x().to_radians(); in gps_dist_meters() 37 let lat1 = self.y().to_radians(); in gps_dist_meters() 38 let lat2 = other.y().to_radians(); in gps_dist_meters()
|
/dports/science/molscript/MolScript-280abee/code/ |
H A D | xform.c | 86 matrix3_x_rotation (tmp_xform, to_radians (dstack[0])); in xform_rotation_x() 99 matrix3_y_rotation (tmp_xform, to_radians (dstack[0])); in xform_rotation_y() 112 matrix3_z_rotation (tmp_xform, to_radians (dstack[0])); in xform_rotation_z() 133 quat_initialize_v3 (&q, &v, to_radians (dstack[3])); in xform_rotation_axis()
|
/dports/accessibility/sctd/sctd-0.2.0/cargo-crates/num-traits-0.2.11/src/ |
H A D | float.rs | 723 fn to_radians(self) -> Self; in to_radians() method 794 fn to_radians(self) -> Self { in to_radians() method 819 Self::to_radians(self) -> Self; 869 fn to_radians(self) -> Self { in to_radians() method 894 Self::to_radians(self) -> Self; 1445 fn to_radians(self) -> Self { in to_radians() method 1864 Self::to_radians(self) -> Self; 1931 FloatCore::to_radians(self) -> Self; 2324 assert!((FloatCore::to_radians(deg) - rad).abs() < 1e-6); in convert_deg_rad() 2339 assert!((Float::to_radians(deg) - rad).abs() < 1e-6); in convert_deg_rad_std() [all …]
|