Home
last modified time | relevance | path

Searched refs:cos_lon (Results 1 – 25 of 37) sorted by path

12

/dports/astro/oskar/OSKAR-2.8.0/oskar/convert/
H A Ddefine_convert_lon_lat_to_relative_directions.h9 FP sin_lon, cos_lon, sin_lat, cos_lat;\
11 SINCOS(lon, sin_lon, cos_lon);\
14 m[i] = cos_lat0 * sin_lat - sin_lat0 * cos_lat * cos_lon;\
15 if (IS_3D) n[i] = sin_lat0 * sin_lat + cos_lat0 * cos_lat * cos_lon;\
/dports/astro/oskar/OSKAR-2.8.0/oskar/convert/src/
H A Doskar_convert_cirs_relative_directions_to_enu_directions.c49 const double cos_lon = cos(lon_rad); in OSKAR_CONVERT_CIRS_REL_DIR_TO_ENU_DIR() local
52 const double local_pm_x = pm_x_rad * cos_lon - pm_y_rad * sin_lon; in OSKAR_CONVERT_CIRS_REL_DIR_TO_ENU_DIR()
53 const double local_pm_y = pm_x_rad * sin_lon + pm_y_rad * cos_lon; in OSKAR_CONVERT_CIRS_REL_DIR_TO_ENU_DIR()
H A Doskar_convert_ecef_to_enu.c20 double sin_lon = 0.0, cos_lon = 0.0, sin_lat = 0.0, cos_lat = 0.0; in oskar_convert_ecef_to_enu() local
28 cos_lon = cos(lon_rad); in oskar_convert_ecef_to_enu()
31 a = -sin_lat * cos_lon; in oskar_convert_ecef_to_enu()
33 c = cos_lat * cos_lon; in oskar_convert_ecef_to_enu()
46 x[i] = -sin_lon * dx + cos_lon * dy; in oskar_convert_ecef_to_enu()
H A Doskar_convert_enu_directions_to_cirs_relative_directions.c47 const double cos_lon = cos(lon_rad); in OSKAR_CONVERT_ENU_DIR_TO_CIRS_REL_DIR() local
50 const double local_pm_x = pm_x_rad * cos_lon - pm_y_rad * sin_lon; in OSKAR_CONVERT_ENU_DIR_TO_CIRS_REL_DIR()
51 const double local_pm_y = pm_x_rad * sin_lon + pm_y_rad * cos_lon; in OSKAR_CONVERT_ENU_DIR_TO_CIRS_REL_DIR()
H A Doskar_convert_enu_to_offset_ecef.c22 const double cos_lon = cos(lon_rad); in oskar_convert_enu_to_offset_ecef_d() local
37 xt = -xi * sin_lon - yi * sin_lat * cos_lon + zi * cos_lat * cos_lon; in oskar_convert_enu_to_offset_ecef_d()
38 yt = xi * cos_lon - yi * sin_lat * sin_lon + zi * cos_lat * sin_lon; in oskar_convert_enu_to_offset_ecef_d()
57 const double cos_lon = cos((double)lon_rad); in oskar_convert_enu_to_offset_ecef_f() local
72 xt = -xi * sin_lon - yi * sin_lat * cos_lon + zi * cos_lat * cos_lon; in oskar_convert_enu_to_offset_ecef_f()
73 yt = xi * cos_lon - yi * sin_lat * sin_lon + zi * cos_lat * sin_lon; in oskar_convert_enu_to_offset_ecef_f()
H A Doskar_convert_geodetic_spherical_to_ecef.c29 const double cos_lon = cos(lon_); in oskar_convert_geodetic_spherical_to_ecef() local
31 x[i] = (n_phi + alt_) * cos_lat * cos_lon; in oskar_convert_geodetic_spherical_to_ecef()
H A Doskar_convert_lon_lat_to_xyz.c19 const float cos_lon = cosf(lon_rad[i]); in oskar_convert_lon_lat_to_xyz_f() local
23 x[i] = cos_lat * cos_lon; in oskar_convert_lon_lat_to_xyz_f()
35 const double cos_lon = cos(lon_rad[i]); in oskar_convert_lon_lat_to_xyz_d() local
39 x[i] = cos_lat * cos_lon; in oskar_convert_lon_lat_to_xyz_d()
/dports/astro/oskar/OSKAR-2.8.0/oskar/math/src/
H A Doskar_rotate.c17 const float cos_lon = cosf(lon); in oskar_rotate_sph_f() local
26 x[i] = x_ * cos_lon * cos_lat - y_ * sin_lon - z_ * cos_lon * sin_lat; in oskar_rotate_sph_f()
27 y[i] = x_ * cos_lat * sin_lon + y_ * cos_lon - z_ * sin_lon * sin_lat; in oskar_rotate_sph_f()
36 const double cos_lon = cos(lon); in oskar_rotate_sph_d() local
45 x[i] = x_ * cos_lon * cos_lat - y_ * sin_lon - z_ * cos_lon * sin_lat; in oskar_rotate_sph_d()
46 y[i] = x_ * cos_lat * sin_lon + y_ * cos_lon - z_ * sin_lon * sin_lat; in oskar_rotate_sph_d()
/dports/astro/tclgeomap/tclgeomap-2.11.6/generic/
H A Dgeography.c767 double cos_lat, cos_lon, sin_lon, sin_lat; local
780 cos_lon = cos(lon);
783 x = cos_dist * cos_lon * cos_lat - sin_dir * sin_dist * sin_lon
784 - cos_lon * cos_dir * sin_dist * sin_lat;
785 y = sin_dir * cos_lon * sin_dist + cos_dist * cos_lat * sin_lon
/dports/astro/xearth/xearth-1.2/
H A Dscan.c273 vpi->cos_lon = cos(view_lon * (M_PI/180)); in scan_map()
H A Dxearth.h140 _c_ = vpi.cos_lon; \
206 double cos_lon, sin_lon; /* cos/sin of view_lon */ member
/dports/astro/xplanet/xplanet-1.3.1/src/
H A DMap.cpp970 double cos_lon = cosLonArray_[(ulx + lrx)/2]; in CreateMap() local
973 point[0] = cos_lat * cos_lon; in CreateMap()
/dports/databases/percona-toolkit/percona-toolkit-3.3.0/t/lib/samples/
H A D00_geodb_coordinates.sql7 `cos_lon` double default NULL,
20 KEY `coord_clon_idx` (`cos_lon`),
/dports/devel/R-cran-BH/BH/inst/include/boost/geometry/formulas/
H A Dgeographic.hpp73 calc_t const cos_lon = cos(lon); in geo_to_cart3d() local
81 set<0>(result, N_cos_lat * cos_lon); in geo_to_cart3d()
86 set<1>(east, cos_lon); in geo_to_cart3d()
89 set<0>(north, -sin_lat * cos_lon); in geo_to_cart3d()
H A Dsjoberg_intersection.hpp162 CT const cos_lon = cos(lon); in apply() local
166 CT const sin_dlon_1 = sin_lon * cos_lon1 - cos_lon * sin_lon1; in apply()
167 CT const cos_dlon_1 = cos_lon * cos_lon1 + sin_lon * sin_lon1; in apply()
174 CT const sin_dlon_2 = sin_lon * cos_lon2 - cos_lon * sin_lon2; in apply()
175 CT const cos_dlon_2 = cos_lon * cos_lon2 + sin_lon * sin_lon2; in apply()
/dports/devel/boost-docs/boost_1_72_0/boost/geometry/formulas/
H A Dgeographic.hpp73 calc_t const cos_lon = cos(lon); in geo_to_cart3d() local
81 set<0>(result, N_cos_lat * cos_lon); in geo_to_cart3d()
86 set<1>(east, cos_lon); in geo_to_cart3d()
89 set<0>(north, -sin_lat * cos_lon); in geo_to_cart3d()
H A Dsjoberg_intersection.hpp162 CT const cos_lon = cos(lon); in apply() local
166 CT const sin_dlon_1 = sin_lon * cos_lon1 - cos_lon * sin_lon1; in apply()
167 CT const cos_dlon_1 = cos_lon * cos_lon1 + sin_lon * sin_lon1; in apply()
174 CT const sin_dlon_2 = sin_lon * cos_lon2 - cos_lon * sin_lon2; in apply()
175 CT const cos_dlon_2 = cos_lon * cos_lon2 + sin_lon * sin_lon2; in apply()
/dports/devel/boost-libs/boost_1_72_0/boost/geometry/formulas/
H A Dgeographic.hpp73 calc_t const cos_lon = cos(lon); in geo_to_cart3d() local
81 set<0>(result, N_cos_lat * cos_lon); in geo_to_cart3d()
86 set<1>(east, cos_lon); in geo_to_cart3d()
89 set<0>(north, -sin_lat * cos_lon); in geo_to_cart3d()
H A Dsjoberg_intersection.hpp162 CT const cos_lon = cos(lon); in apply() local
166 CT const sin_dlon_1 = sin_lon * cos_lon1 - cos_lon * sin_lon1; in apply()
167 CT const cos_dlon_1 = cos_lon * cos_lon1 + sin_lon * sin_lon1; in apply()
174 CT const sin_dlon_2 = sin_lon * cos_lon2 - cos_lon * sin_lon2; in apply()
175 CT const cos_dlon_2 = cos_lon * cos_lon2 + sin_lon * sin_lon2; in apply()
/dports/devel/boost-python-libs/boost_1_72_0/boost/geometry/formulas/
H A Dgeographic.hpp73 calc_t const cos_lon = cos(lon); in geo_to_cart3d() local
81 set<0>(result, N_cos_lat * cos_lon); in geo_to_cart3d()
86 set<1>(east, cos_lon); in geo_to_cart3d()
89 set<0>(north, -sin_lat * cos_lon); in geo_to_cart3d()
H A Dsjoberg_intersection.hpp162 CT const cos_lon = cos(lon); in apply() local
166 CT const sin_dlon_1 = sin_lon * cos_lon1 - cos_lon * sin_lon1; in apply()
167 CT const cos_dlon_1 = cos_lon * cos_lon1 + sin_lon * sin_lon1; in apply()
174 CT const sin_dlon_2 = sin_lon * cos_lon2 - cos_lon * sin_lon2; in apply()
175 CT const cos_dlon_2 = cos_lon * cos_lon2 + sin_lon * sin_lon2; in apply()
/dports/devel/hyperscan/boost_1_75_0/boost/geometry/formulas/
H A Dgeographic.hpp73 calc_t const cos_lon = cos(lon); in geo_to_cart3d() local
81 set<0>(result, N_cos_lat * cos_lon); in geo_to_cart3d()
86 set<1>(east, cos_lon); in geo_to_cart3d()
89 set<0>(north, -sin_lat * cos_lon); in geo_to_cart3d()
H A Dsjoberg_intersection.hpp162 CT const cos_lon = cos(lon); in apply() local
166 CT const sin_dlon_1 = sin_lon * cos_lon1 - cos_lon * sin_lon1; in apply()
167 CT const cos_dlon_1 = cos_lon * cos_lon1 + sin_lon * sin_lon1; in apply()
174 CT const sin_dlon_2 = sin_lon * cos_lon2 - cos_lon * sin_lon2; in apply()
175 CT const cos_dlon_2 = cos_lon * cos_lon2 + sin_lon * sin_lon2; in apply()
/dports/graphics/colmap/colmap-3.6/src/base/
H A Dgps.cc72 const double cos_lon = cos(lon); in EllToXYZ() local
77 xyz[i](0) = (N + alt) * cos_lat * cos_lon; in EllToXYZ()
/dports/graphics/gmt/gmt-6.3.0/src/
H A Dgmt_map.c3312 double sin_lat, cos_lat, cos_lon, sin_lon, cc; in gmtmap_pole_rotate_forward() local
3315 sincosd (lon - GMT->current.proj.o_pole_lon, &sin_lon, &cos_lon); in gmtmap_pole_rotate_forward()
3316 cc = cos_lat * cos_lon; in gmtmap_pole_rotate_forward()
9053 double sin_lon, cos_lon, sin_lat, cos_lat, sin_lat2, M, N, h, tmp_1, tmp_2, tmp_3; in gmt_conv_datum() local
9057 sincosd (in[GMT_X], &sin_lon, &cos_lon); in gmt_conv_datum()
9064 …tmp_1 = -GMT->current.proj.datum.dxyz[GMT_X] * sin_lat * cos_lon - GMT->current.proj.datum.dxyz[GM… in gmt_conv_datum()
9069 …proj.datum.dxyz[GMT_X] * sin_lon + GMT->current.proj.datum.dxyz[GMT_Y] * cos_lon) / ((N + h) * cos… in gmt_conv_datum()
9071 …tmp_1 = GMT->current.proj.datum.dxyz[GMT_X] * cos_lat * cos_lon + GMT->current.proj.datum.dxyz[GMT… in gmt_conv_datum()
9086 double sin_lon, cos_lon, sin_lat, cos_lat, N, tmp; in gmt_ECEF_forward() local
9088 sincosd (in[GMT_X], &sin_lon, &cos_lon); in gmt_ECEF_forward()
[all …]

12