Home
last modified time | relevance | path

Searched refs:dpar (Results 1 – 25 of 58) sorted by relevance

123

/third_party/boost/boost/geometry/srs/projections/
Desri.hpp26 inline srs::dpar::parameters<> esri_to_parameters(int code) in esri_to_parameters()
28 using namespace srs::dpar; in esri_to_parameters()
31 {37001, srs::dpar::parameters<>(proj_longlat)(ellps_wgs66)(no_defs)}, in esri_to_parameters()
32 {37002, srs::dpar::parameters<>(proj_longlat)(a,6378166)(b,6356784.283607107)(no_defs)}, in esri_to_parameters()
33 {37003, srs::dpar::parameters<>(proj_longlat)(a,6378150)(b,6356768.337244385)(no_defs)}, in esri_to_parameters()
34 {37004, srs::dpar::parameters<>(proj_longlat)(ellps_fschr60m)(no_defs)}, in esri_to_parameters()
35 {37005, srs::dpar::parameters<>(proj_longlat)(a,6378270)(b,6356794.343434343)(no_defs)}, in esri_to_parameters()
36 … {37006, srs::dpar::parameters<>(proj_longlat)(a,6377295.664)(b,6356094.667915204)(no_defs)}, in esri_to_parameters()
37 {37007, srs::dpar::parameters<>(proj_longlat)(a,6376896)(b,6355834.846687363)(no_defs)}, in esri_to_parameters()
38 {37008, srs::dpar::parameters<>(proj_longlat)(r,6370997)(no_defs)}, in esri_to_parameters()
[all …]
Depsg.hpp29 inline srs::dpar::parameters<> epsg_to_parameters(int code) in epsg_to_parameters()
31 using namespace srs::dpar; in epsg_to_parameters()
34 …{2000, srs::dpar::parameters<>(proj_tmerc)(lat_0,0)(lon_0,-62)(k,0.9995000000000001)(x_0,400000)(y… in epsg_to_parameters()
35 …{2001, srs::dpar::parameters<>(proj_tmerc)(lat_0,0)(lon_0,-62)(k,0.9995000000000001)(x_0,400000)(y… in epsg_to_parameters()
36 …{2002, srs::dpar::parameters<>(proj_tmerc)(lat_0,0)(lon_0,-62)(k,0.9995000000000001)(x_0,400000)(y… in epsg_to_parameters()
37 …{2003, srs::dpar::parameters<>(proj_tmerc)(lat_0,0)(lon_0,-62)(k,0.9995000000000001)(x_0,400000)(y… in epsg_to_parameters()
38 …{2004, srs::dpar::parameters<>(proj_tmerc)(lat_0,0)(lon_0,-62)(k,0.9995000000000001)(x_0,400000)(y… in epsg_to_parameters()
39 …{2005, srs::dpar::parameters<>(proj_tmerc)(lat_0,0)(lon_0,-62)(k,0.9995000000000001)(x_0,400000)(y… in epsg_to_parameters()
40 …{2006, srs::dpar::parameters<>(proj_tmerc)(lat_0,0)(lon_0,-62)(k,0.9995000000000001)(x_0,400000)(y… in epsg_to_parameters()
41 …{2007, srs::dpar::parameters<>(proj_tmerc)(lat_0,0)(lon_0,-62)(k,0.9995000000000001)(x_0,400000)(y… in epsg_to_parameters()
[all …]
Diau2000.hpp26 inline srs::dpar::parameters<> iau2000_to_parameters(int code) in iau2000_to_parameters()
28 using namespace srs::dpar; in iau2000_to_parameters()
31 {19900, srs::dpar::parameters<>(proj_longlat)(r,2439700)(no_defs)}, in iau2000_to_parameters()
32 {19901, srs::dpar::parameters<>(proj_longlat)(r,2439700)(no_defs)}, in iau2000_to_parameters()
37 … {19914, srs::dpar::parameters<>(proj_sinu)(lon_0,0)(x_0,0)(y_0,0)(r,2439700)(units_m)(no_defs)}, in iau2000_to_parameters()
38 … {19915, srs::dpar::parameters<>(proj_sinu)(lon_0,0)(x_0,0)(y_0,0)(r,2439700)(units_m)(no_defs)}, in iau2000_to_parameters()
39 … {19916, srs::dpar::parameters<>(proj_sinu)(lon_0,0)(x_0,0)(y_0,0)(r,2439700)(units_m)(no_defs)}, in iau2000_to_parameters()
40 … {19917, srs::dpar::parameters<>(proj_sinu)(lon_0,0)(x_0,0)(y_0,0)(r,2439700)(units_m)(no_defs)}, in iau2000_to_parameters()
41 …{19918, srs::dpar::parameters<>(proj_stere)(lat_0,90)(lon_0,0)(k,1)(x_0,0)(y_0,0)(r,2439700)(units… in iau2000_to_parameters()
42 …{19919, srs::dpar::parameters<>(proj_stere)(lat_0,90)(lon_0,0)(k,1)(x_0,0)(y_0,0)(r,2439700)(units… in iau2000_to_parameters()
[all …]
Dfactory.hpp144 static const char* get(const char* name, srs::dpar::value_proj id) in get()
151 struct factory_key<srs::dpar::parameters<T> >
153 typedef srs::dpar::value_proj type;
159 static srs::dpar::value_proj get(const char* name, srs::dpar::value_proj id) in get()
289 void add_to_factory(const char* name, srs::dpar::value_proj id, entry_base* entry) in add_to_factory()
320 create_new(srs::dpar::parameters<T> const& params, in create_new()
323 static factory<srs::dpar::parameters<T>, T, projections::parameters<T> > const fac; in create_new()
/third_party/boost/boost/geometry/srs/projections/impl/
Dpj_param.hpp71 inline bool pj_param_pred(srs::dpar::parameter<T> const& p, Id const& id, in pj_param_pred()
168 inline void set_value(T & val, srs::dpar::parameter<T2> const& p) in set_value()
180 inline void set_value_r(T & val, srs::dpar::parameter<T> const& p) in set_value_r()
189 || boost::is_same<Name, srs::dpar::name_i>::value in check_name()
190 || boost::is_same<Name, srs::dpar::name_f>::value in check_name()
191 || boost::is_same<Name, srs::dpar::name_r>::value; in check_name()
259 inline bool _pj_get_param_b(srs::dpar::parameters<T> const& pl, srs::dpar::name_be const& name) in _pj_get_param_b()
262 typename srs::dpar::parameters<T>::const_iterator it = pj_param_find(pl, name); in _pj_get_param_b()
444 inline bool pj_param_exists(srs::dpar::parameters<T> const& pl, in pj_param_exists()
451 inline bool pj_param_exists(srs::dpar::parameters<T> const& pl, in pj_param_exists()
[all …]
Dpj_datums.hpp62 srs::dpar::value_ellps ellps;
93 srs::dpar::ellps_wgs84}, in pj_get_datums()
99 srs::dpar::ellps_grs80}, in pj_get_datums()
105 srs::dpar::ellps_grs80}, in pj_get_datums()
111 srs::dpar::ellps_clrk66}, in pj_get_datums()
117 srs::dpar::ellps_bessel}, in pj_get_datums()
123 srs::dpar::ellps_clrk80ign}, in pj_get_datums()
129 srs::dpar::ellps_bessel}, in pj_get_datums()
135 srs::dpar::ellps_mod_airy}, in pj_get_datums()
141 srs::dpar::ellps_intl}, in pj_get_datums()
[all …]
Dpj_init.hpp86 inline void pj_init_proj(srs::dpar::parameters<T> const& params, in pj_init_proj()
89 typename srs::dpar::parameters<T>::const_iterator it = pj_param_find(params, srs::dpar::proj); in pj_init_proj()
92 par.id = static_cast<srs::dpar::value_proj>(it->template get_value<int>()); in pj_init_proj()
182 inline void pj_init_units(srs::dpar::parameters<T> const& params, in pj_init_units()
188 typename srs::dpar::parameters<T>::const_iterator in pj_init_units()
189 it = pj_param_find(params, Vertical ? srs::dpar::vunits : srs::dpar::units); in pj_init_units()
212 it = pj_param_find(params, Vertical ? srs::dpar::vto_meter : srs::dpar::to_meter); in pj_init_units()
362 inline void pj_init_pm(srs::dpar::parameters<T> const& params, T& val) in pj_init_pm()
364 typename srs::dpar::parameters<T>::const_iterator it = pj_param_find(params, srs::dpar::pm); in pj_init_pm()
482 pin.geoc = (pin.es && pj_get_param_b<srs::spar::geoc>(params, "geoc", srs::dpar::geoc)); in pj_init()
[all …]
Dpj_ell_set.hpp118 inline bool pj_ell_init_ellps(srs::dpar::parameters<T> const& params, T &a, T &b) in pj_ell_init_ellps()
121 typename srs::dpar::parameters<T>::const_iterator in pj_ell_init_ellps()
122 it = pj_param_find(params, srs::dpar::ellps); in pj_ell_init_ellps()
225 if (pj_param_f<srs::spar::r>(params, "R", srs::dpar::r, a)) { in pj_ell_init()
230 a = pj_get_param_f<T, srs::spar::a>(params, "a", srs::dpar::a); in pj_ell_init()
236 if (pj_param_f<srs::spar::es>(params, "es", srs::dpar::es, es)) {/* eccentricity squared */ in pj_ell_init()
239 } else if (pj_param_f<srs::spar::e>(params, "e", srs::dpar::e, es)) { /* eccentricity */ in pj_ell_init()
242 … } else if (pj_param_f<srs::spar::rf>(params, "rf", srs::dpar::rf, es)) { /* recip flattening */ in pj_ell_init()
249 } else if (pj_param_f<srs::spar::f>(params, "f", srs::dpar::f, es)) { /* flattening */ in pj_ell_init()
252 } else if (pj_param_f<srs::spar::b>(params, "b", srs::dpar::b, b)) { /* minor axis */ in pj_ell_init()
[all …]
Dprojects.hpp170 : id(srs::dpar::proj_unknown) in proj_id()
173 proj_id(srs::dpar::value_proj i) in proj_id()
178 : id(srs::dpar::proj_unknown) in proj_id()
184 return id == srs::dpar::proj_unknown && name.empty(); in is_unknown()
188 srs::dpar::value_proj id; // id of projection
Dpj_datum_set.hpp102 inline const pj_datums_type<T>* pj_datum_find_datum(srs::dpar::parameters<T> const& params) in pj_datum_find_datum()
104 typename srs::dpar::parameters<T>::const_iterator in pj_datum_find_datum()
105 it = pj_param_find(params, srs::dpar::datum); in pj_datum_find_datum()
201 inline bool pj_datum_find_nadgrids(srs::dpar::parameters<T> const& params, in pj_datum_find_nadgrids()
204 typename srs::dpar::parameters<T>::const_iterator in pj_datum_find_nadgrids()
205 it = pj_param_find(params, srs::dpar::nadgrids); in pj_datum_find_nadgrids()
282 inline bool pj_datum_find_towgs84(srs::dpar::parameters<T> const& params, in pj_datum_find_towgs84()
285 typename srs::dpar::parameters<T>::const_iterator in pj_datum_find_towgs84()
286 it = pj_param_find(params, srs::dpar::towgs84); in pj_datum_find_towgs84()
/third_party/boost/boost/geometry/srs/projections/proj/
Dchamb.hpp180 inline T chamb_init_lat(srs::dpar::parameters<T> const& params, int i) in chamb_init_lat()
182 … static const srs::dpar::name_r lat[3] = {srs::dpar::lat_1, srs::dpar::lat_2, srs::dpar::lat_3}; in chamb_init_lat()
193 inline T chamb_init_lon(srs::dpar::parameters<T> const& params, int i) in chamb_init_lon()
195 … static const srs::dpar::name_r lon[3] = {srs::dpar::lon_1, srs::dpar::lon_2, srs::dpar::lon_3}; in chamb_init_lon()
Dob_tran.hpp69 create_new(srs::dpar::parameters<T> const& params,
104 inline Parameters o_proj_parameters(srs::dpar::parameters<T> const& params, in o_proj_parameters()
111 typename srs::dpar::parameters<T>::const_iterator in o_proj_parameters()
112 it = pj_param_find(params, srs::dpar::o_proj); in o_proj_parameters()
114 pj.id = static_cast<srs::dpar::value_proj>(it->template get_value<int>()); in o_proj_parameters()
119 if( pj.id.id == srs::dpar::proj_ob_tran) in o_proj_parameters()
311 if (pj_param_r<srs::spar::o_alpha>(params, "o_alpha", srs::dpar::o_alpha, alpha)) { in setup_ob_tran()
314 … lamc = pj_get_param_r<T, srs::spar::o_lon_c>(params, "o_lon_c", srs::dpar::o_lon_c); in setup_ob_tran()
315 … phic = pj_get_param_r<T, srs::spar::o_lon_c>(params, "o_lat_c", srs::dpar::o_lat_c); in setup_ob_tran()
323 …} else if (pj_param_r<srs::spar::o_lat_p>(params, "o_lat_p", srs::dpar::o_lat_p, phip)) { /* speci… in setup_ob_tran()
[all …]
Docea.hpp124 if ( pj_param_r<srs::spar::alpha>(params, "alpha", srs::dpar::alpha, alpha)) { in setup_ocea()
127 lonz = pj_get_param_r<T, srs::spar::lonc>(params, "lonc", srs::dpar::lonc); in setup_ocea()
135 phi_1 = pj_get_param_r<T, srs::spar::lat_1>(params, "lat_1", srs::dpar::lat_1); in setup_ocea()
136 phi_2 = pj_get_param_r<T, srs::spar::lat_2>(params, "lat_2", srs::dpar::lat_2); in setup_ocea()
137 lam_1 = pj_get_param_r<T, srs::spar::lon_1>(params, "lon_1", srs::dpar::lon_1); in setup_ocea()
138 lam_2 = pj_get_param_r<T, srs::spar::lon_2>(params, "lon_2", srs::dpar::lon_2); in setup_ocea()
Disea.hpp1163 inline void isea_orient_init(srs::dpar::parameters<T> const& params, in isea_orient_init()
1166 typename srs::dpar::parameters<T>::const_iterator in isea_orient_init()
1167 it = pj_param_find(params, srs::dpar::orient); in isea_orient_init()
1169 … srs::dpar::value_orient o = static_cast<srs::dpar::value_orient>(it->template get_value<int>()); in isea_orient_init()
1170 if (o == srs::dpar::orient_isea) { in isea_orient_init()
1172 } else if (o == srs::dpar::orient_pole) { in isea_orient_init()
1201 inline void isea_mode_init(srs::dpar::parameters<T> const& params, in isea_mode_init()
1204 typename srs::dpar::parameters<T>::const_iterator in isea_mode_init()
1205 it = pj_param_find(params, srs::dpar::mode); in isea_mode_init()
1207 … srs::dpar::value_mode m = static_cast<srs::dpar::value_mode>(it->template get_value<int>()); in isea_mode_init()
[all …]
Dgeos.hpp253 inline bool geos_flip_axis(srs::dpar::parameters<T> const& params) in geos_flip_axis()
255 typename srs::dpar::parameters<T>::const_iterator in geos_flip_axis()
256 it = pj_param_find(params, srs::dpar::sweep); in geos_flip_axis()
260 … srs::dpar::value_sweep s = static_cast<srs::dpar::value_sweep>(it->template get_value<int>()); in geos_flip_axis()
261 return s == srs::dpar::sweep_x; in geos_flip_axis()
271 … if ((proj_parm.h = pj_get_param_f<T, srs::spar::h>(params, "h", srs::dpar::h)) <= 0.) in setup_geos()
Domerc.hpp171 … proj_parm.no_rot = pj_get_param_b<srs::spar::no_rot>(params, "no_rot", srs::dpar::no_rot); in setup_omerc()
172 alp = pj_param_r<srs::spar::alpha>(params, "alpha", srs::dpar::alpha, alpha_c); in setup_omerc()
173 gam = pj_param_r<srs::spar::gamma>(params, "gamma", srs::dpar::gamma, gamma); in setup_omerc()
175 lamc = pj_get_param_r<T, srs::spar::lonc>(params, "lonc", srs::dpar::lonc); in setup_omerc()
189 lam1 = pj_get_param_r<T, srs::spar::lon_1>(params, "lon_1", srs::dpar::lon_1); in setup_omerc()
190 phi1 = pj_get_param_r<T, srs::spar::lat_1>(params, "lat_1", srs::dpar::lat_1); in setup_omerc()
191 lam2 = pj_get_param_r<T, srs::spar::lon_2>(params, "lon_2", srs::dpar::lon_2); in setup_omerc()
192 phi2 = pj_get_param_r<T, srs::spar::lat_2>(params, "lat_2", srs::dpar::lat_2); in setup_omerc()
Durm5.hpp94 if (pj_param_f<srs::spar::n>(params, "n", srs::dpar::n, proj_parm.n)) { in setup_urm5()
100 proj_parm.q3 = pj_get_param_f<T, srs::spar::q>(params, "q", srs::dpar::q) / 3.; in setup_urm5()
101 alpha = pj_get_param_r<T, srs::spar::alpha>(params, "alpha", srs::dpar::alpha); in setup_urm5()
Dlagrng.hpp111 bool is_w_set = pj_param_f<srs::spar::w>(params, "W", srs::dpar::w, proj_parm.rw); in setup_lagrng()
115 …l const use_defaults = ! pj_get_param_b<srs::spar::no_defs>(params, "no_defs", srs::dpar::no_defs); in setup_lagrng()
126 phi1 = pj_get_param_r<T, srs::spar::lat_1>(params, "lat_1", srs::dpar::lat_1); in setup_lagrng()
Daea.hpp227 …bool is_phi1_set = pj_param_r<srs::spar::lat_1>(params, "lat_1", srs::dpar::lat_1, proj_parm.phi1); in setup_aea()
228 …bool is_phi2_set = pj_param_r<srs::spar::lat_2>(params, "lat_2", srs::dpar::lat_2, proj_parm.phi2); in setup_aea()
232 …l const use_defaults = ! pj_get_param_b<srs::spar::no_defs>(params, "no_defs", srs::dpar::no_defs); in setup_aea()
250 … proj_parm.phi2 = pj_get_param_r<T, srs::spar::lat_1>(params, "lat_1", srs::dpar::lat_1); in setup_leac()
251 …proj_parm.phi1 = pj_get_param_b<srs::spar::south>(params, "south", srs::dpar::south) ? -half_pi : … in setup_leac()
Dtpeqd.hpp128 phi_1 = pj_get_param_r<T, srs::spar::lat_1>(params, "lat_1", srs::dpar::lat_1); in setup_tpeqd()
129 lam_1 = pj_get_param_r<T, srs::spar::lon_1>(params, "lon_1", srs::dpar::lon_1); in setup_tpeqd()
130 phi_2 = pj_get_param_r<T, srs::spar::lat_2>(params, "lat_2", srs::dpar::lat_2); in setup_tpeqd()
131 lam_2 = pj_get_param_r<T, srs::spar::lon_2>(params, "lon_2", srs::dpar::lon_2); in setup_tpeqd()
Dlcc.hpp158 …bool is_phi1_set = pj_param_r<srs::spar::lat_1>(params, "lat_1", srs::dpar::lat_1, proj_parm.phi1); in setup_lcc()
159 …bool is_phi2_set = pj_param_r<srs::spar::lat_2>(params, "lat_2", srs::dpar::lat_2, proj_parm.phi2); in setup_lcc()
163 …l const use_defaults = ! pj_get_param_b<srs::spar::no_defs>(params, "no_defs", srs::dpar::no_defs); in setup_lcc()
178 if (! pj_param_exists<srs::spar::lat_0>(params, "lat_0", srs::dpar::lat_0)) in setup_lcc()
Dkrovak.hpp197 if (!pj_param_exists<srs::spar::lat_0>(params, "lat_0", srs::dpar::lat_0)) in setup_krovak()
203 if (!pj_param_exists<srs::spar::lon_0>(params, "lon_0", srs::dpar::lon_0)) in setup_krovak()
207 if (!pj_param_exists<srs::spar::k>(params, "k", srs::dpar::k)) in setup_krovak()
211 if( !pj_param_exists<srs::spar::czech>(params, "czech", srs::dpar::czech) ) in setup_krovak()
Doea.hpp121 … if (((proj_parm.n = pj_get_param_f<T, srs::spar::n>(params, "n", srs::dpar::n)) <= 0.) || in setup_oea()
122 … ((proj_parm.m = pj_get_param_f<T, srs::spar::m>(params, "m", srs::dpar::m)) <= 0.)) { in setup_oea()
125 … proj_parm.theta = pj_get_param_r<T, srs::spar::theta>(params, "theta", srs::dpar::theta); in setup_oea()
Dhammer.hpp112 if (pj_param_f<srs::spar::w>(params, "W", srs::dpar::w, tmp)) { in setup_hammer()
117 if (pj_param_f<srs::spar::m>(params, "M", srs::dpar::m, tmp)) { in setup_hammer()
Dnsper.hpp207 proj_parm.height = pj_get_param_f<T, srs::spar::h>(params, "h", srs::dpar::h); in setup()
242 T const omega = pj_get_param_r<T, srs::spar::tilt>(params, "tilt", srs::dpar::tilt); in setup_tpers()
243 T const gamma = pj_get_param_r<T, srs::spar::azi>(params, "azi", srs::dpar::azi); in setup_tpers()

123