Home
last modified time | relevance | path

Searched refs:lat0 (Results 1 – 25 of 307) sorted by relevance

12345678910>>...13

/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/cmd/map/libmap/
H A Dsimpleconic.c20 struct coord lat0; in simpleconic() local
22 deg2rad(par0,&lat0); in simpleconic()
24 if(fabs(lat0.l+lat1.l)<.01) in simpleconic()
26 if(fabs(lat0.l-lat1.l)<.01) { in simpleconic()
27 a = lat0.s/lat0.l; in simpleconic()
28 r0 = lat0.c/lat0.s + lat0.l; in simpleconic()
30 a = (lat1.c-lat0.c)/(lat0.l-lat1.l); in simpleconic()
31 r0 = ((lat0.c+lat1.c)/a + lat1.l + lat0.l)/2; in simpleconic()
/dports/astro/opencpn/OpenCPN-5.2.4/include/
H A Dgeoref.h106 extern "C" void toTM(float lat, float lon, float lat0, float lon0, double *x, double *y);
107 extern "C" void fromTM(double x, double y, double lat0, double lon0, double *lat, double *lon);
109 extern "C" void toSM(double lat, double lon, double lat0, double lon0, double *x, double *y);
110 extern "C" double toSMcache_y30(double lat0);
112 extern "C" void fromSM(double x, double y, double lat0, double lon0, double *lat, double *lon);
115 extern "C" void toSM_ECC(double lat, double lon, double lat0, double lon0, double *x, double *y);
118 extern "C" void toPOLY(double lat, double lon, double lat0, double lon0, double *x, double *y);
119 extern "C" void fromPOLY(double x, double y, double lat0, double lon0, double *lat, double *lon);
121 extern "C" void cache_phi0(double lat0, double *sin_phi0, double *cos_phi0);
126 extern "C" double toPOLARcache_e(double lat0);
[all …]
/dports/misc/py-kartograph/kartograph.py-0.6.8/kartograph/proj/
H A Dcylindrical.py126 def __init__(self, lon0=0.0, lat0=0.0, flip=0): argument
127 self.lat0 = lat0
128 self.phi0 = rad(lat0 * -1)
141 self.lat0 = lat0
143 self.phi0 = rad(lat0 * -1)
170 def __init__(self, lat0=0.0, lon0=0.0, flip=0): argument
175 def __init__(self, lat0=0.0, lon0=0.0, flip=0): argument
176 CEA.__init__(self, lon0=lon0, lat0=lat0, lat1=37.5, flip=flip)
180 def __init__(self, lat0=0.0, lon0=0.0, flip=0): argument
181 CEA.__init__(self, lat1=30, lat0=lat0, lon0=lon0, flip=flip)
[all …]
/dports/graphics/gmt/gmt-6.3.0/doc/rst/source/
H A Dproj-codes.rst_3 .. |lat0| replace:: lat\ :sub:`0`
25 - |lon0|/|lat0|\ [/\ *horizon*]/\ *scale*\|\ *width*
29 - |lon0|/|lat0|/|lat1|/|lat2|/\ *scale*\|\ *width*
33 - |lon0|/|lat0|/\ *scale*\|\ *width*
37 - [|lon0|\ [/|lat0|]/]\ *scale*\|\ *width*
41 - |lon0|/|lat0|/|lat1|/|lat2|/\ *scale*\|\ *width*
85 - [|lon0|\ [/|lat0|/]]\ *scale*\|\ *width*
110 - [|lon0|\ [/|lat0|/]]\ *scale*\|\ *width*
114 - [|lon0|\ [/|lat0|/]]\ *scale*\|\ *width*
126 - [|lon0|\ [/|lat0|/]]\ *scale*\|\ *width*
[all …]
/dports/graphics/gmt/gmt-6.3.0/test/genper/
H A Dgridlines.sh5 lat0=80.7167845195
6 gmt psbasemap -Rg -JG$lon0/$lat0/1900/0/0/0/170/180/3i -Bxa30f10g10 -Bya5f5g5 -BWSne -P -K > $ps
8 lat0=78.8472134393
9 gmt psbasemap -Rg -JG$lon0/$lat0/1900/0/0/0/170/180/3i -Bxa30f10g10 -Bya5f5g5 -BWSne -O -K -X3.5i >…
11 lat0=82.2203558311
12 gmt psbasemap -Rg -JG$lon0/$lat0/1900/0/0/0/170/180/3i -Bxa30f10g10 -Bya5f5g5 -BWSne -O -K -X-3.5i …
14 lat0=58.7193421224
15 gmt psbasemap -Rg -JG$lon0/$lat0/2513/0/0/0/200/180/3i -Bxa30f10g10 -Bya5f5g5 -BWSne -O -X3.5i >> $…
/dports/lang/perl5.30/perl-5.30.3/cpan/Math-Complex/lib/Math/
H A DTrig.pm156 my $lat0 = pip2 - $phi0;
161 sin( $lat0 ) * sin( $lat1 ) );
167 my $lat0 = pip2 - $phi0;
172 cos($lat0) * sin($lat1) -
173 sin($lat0) * cos($lat1) * cos($theta0-$theta1)));
194 my $lat0 = pip2 - $phi0;
199 my $z = $A * sin($lat0) + $B * sin($lat1);
214 my $lat0 = pip2 - $phi0;
216 my $phi1 = asin_real(sin($lat0)*cos($dst) +
217 cos($lat0)*sin($dst)*cos($dir0));
[all …]
/dports/lang/perl5.34/perl-5.34.0/cpan/Math-Complex/lib/Math/
H A DTrig.pm156 my $lat0 = pip2 - $phi0;
161 sin( $lat0 ) * sin( $lat1 ) );
167 my $lat0 = pip2 - $phi0;
172 cos($lat0) * sin($lat1) -
173 sin($lat0) * cos($lat1) * cos($theta0-$theta1)));
194 my $lat0 = pip2 - $phi0;
199 my $z = $A * sin($lat0) + $B * sin($lat1);
214 my $lat0 = pip2 - $phi0;
216 my $phi1 = asin_real(sin($lat0)*cos($dst) +
217 cos($lat0)*sin($dst)*cos($dir0));
[all …]
/dports/lang/perl5.32/perl-5.32.1/cpan/Math-Complex/lib/Math/
H A DTrig.pm156 my $lat0 = pip2 - $phi0;
161 sin( $lat0 ) * sin( $lat1 ) );
167 my $lat0 = pip2 - $phi0;
172 cos($lat0) * sin($lat1) -
173 sin($lat0) * cos($lat1) * cos($theta0-$theta1)));
194 my $lat0 = pip2 - $phi0;
199 my $z = $A * sin($lat0) + $B * sin($lat1);
214 my $lat0 = pip2 - $phi0;
216 my $phi1 = asin_real(sin($lat0)*cos($dst) +
217 cos($lat0)*sin($dst)*cos($dir0));
[all …]
/dports/math/p5-Math-Complex/Math-Complex-1.59/lib/Math/
H A DTrig.pm156 my $lat0 = pip2 - $phi0;
161 sin( $lat0 ) * sin( $lat1 ) );
167 my $lat0 = pip2 - $phi0;
172 cos($lat0) * sin($lat1) -
173 sin($lat0) * cos($lat1) * cos($theta0-$theta1)));
194 my $lat0 = pip2 - $phi0;
199 my $z = $A * sin($lat0) + $B * sin($lat1);
214 my $lat0 = pip2 - $phi0;
216 my $phi1 = asin_real(sin($lat0)*cos($dst) +
217 cos($lat0)*sin($dst)*cos($dir0));
[all …]
/dports/lang/perl5-devel/perl5-5.35.4-102-ge43d289c7c/cpan/Math-Complex/lib/Math/
H A DTrig.pm156 my $lat0 = pip2 - $phi0;
161 sin( $lat0 ) * sin( $lat1 ) );
167 my $lat0 = pip2 - $phi0;
172 cos($lat0) * sin($lat1) -
173 sin($lat0) * cos($lat1) * cos($theta0-$theta1)));
194 my $lat0 = pip2 - $phi0;
199 my $z = $A * sin($lat0) + $B * sin($lat1);
214 my $lat0 = pip2 - $phi0;
216 my $phi1 = asin_real(sin($lat0)*cos($dst) +
217 cos($lat0)*sin($dst)*cos($dir0));
[all …]
/dports/science/py-pygeodesy/PyGeodesy-21.9.16/pygeodesy/
H A Dazimuthal.py91 def __init__(self, lat0, lon0, datum=None, name=NN): argument
110 if lat0 or lon0: # often both 0
111 self.reset(lat0, lon0)
163 def lat0(self): member in _AzimuthalBase
202 return self.datum.ellipsoid.rocMean(self.lat0)
204 def reset(self, lat0, lon0): argument
213 self._latlon0 = LatLon2Tuple(Lat_(lat0=lat0, Error=AzimuthalError),
215 self._sc0 = sincos2d(self.lat0)
259 d = euclid(t.lat - self.lat0, t.lon - self.lon0)
473 r = self.geodesic.Inverse(self.lat0, self.lon0,
[all …]
/dports/astro/tclgeomap/tclgeomap-2.11.6/library/
H A Dtclgeomap_procs.tcl198 for {set lat0 [expr {- $s * int(90.0 / $s)}]} {$lat0 < 90.0} \
199 {set lat0 [expr {$lat0 + $s}]} {
200 set lat1 [expr {$lat0 + $s}]
201 for {set lat $lat0} {$lat <= $lat1} {set lat [expr {$lat + $dl}]} {
230 for {set lat0 [expr {- $s * int(90.0 / $s)}]} {$lat0 < 90.0} \
231 {set lat0 [expr {$lat0 + $s}]} {
234 set lat1 [expr {$lat0 + $s}]
248 for {set lat $lat1;set lon $lon0} {$lat >= $lat0} \
252 lappend ocean [list $lat0 $lon0]
/dports/math/octave-forge-octproj/octproj-2.0.1/src/
H A Dgeodgeoc.c87 double distXY=0.0,nu=0.0,lat0=0.0,h0=0.0,difLat=0.0,difH=0.0,aux=0.0; in octproj_geoc2geod() local
101 lat0 = atan(w[pos]/((1.0-e2)*distXY)); in octproj_geoc2geod()
103 nu = octproj_rpm(lat0,a,e2); in octproj_geoc2geod()
105 less = fabs(lat0)<(M_PI/4.0); in octproj_geoc2geod()
107 h0 = less ? distXY/cos(lat0)-nu : w[pos]/sin(lat0)-(1.0-e2)*nu; in octproj_geoc2geod()
112 v[pos] = lat0; in octproj_geoc2geod()
131 difLat = fabs(lat-lat0); in octproj_geoc2geod()
134 lat0 = lat; in octproj_geoc2geod()
/dports/devel/py-ioflo/ioflo-2.0.0/ioflo/aid/
H A Dnavigating.py319 dlat = (lat1 - lat0)
322 avlat = (lat1 + lat0)/2.0
345 lat1 = lat0 + dlat
346 avlat = (lat1 + lat0)/2.0
355 avlat = (lat1 + lat0)/2.0
375 lat1 = lat0 + dlat
376 avlat = (lat1 + lat0)/2.0
385 avlat = (lat1 + lat0)/2.0
400 dlat = (lat1 - lat0)
403 avlat = (lat1 + lat0)/2.0
[all …]
/dports/astro/wcslib/wcslib-7.7/C/test/
H A Dtsphdpa.c36 double dist, lat, lat0, lng, lng0, pa; in main() local
40 if (scanf("%lf%*[ , ]%lf", &lng0, &lat0) != 2) { in main()
68 sphdpa(1, lng0, lat0, &lng, &lat, &dist, &pa); in main()
71 lng0, lat0, lng, lat, dist, pa); in main()
73 sphpad(1, lng0, lat0, &dist, &pa, &lng, &lat); in main()
76 lng0, lat0, dist, pa, lng, lat); in main()
/dports/astro/geographiclib/GeographicLib-1.52/dotnet/NETGeographicLib/
H A DAzimuthalEquidistant.cpp60 void AzimuthalEquidistant::Forward(double lat0, double lon0, double lat, double lon,
64 m_pAzimuthalEquidistant->Forward( lat0, lon0, lat, lon,
73 void AzimuthalEquidistant::Reverse(double lat0, double lon0, double x, double y,
77 m_pAzimuthalEquidistant->Reverse(lat0, lon0, x, y,
85 void AzimuthalEquidistant::Forward(double lat0, double lon0, double lat, double lon,
89 m_pAzimuthalEquidistant->Forward(lat0, lon0, lat, lon, lx, ly, azi, rk);
95 void AzimuthalEquidistant::Reverse(double lat0, double lon0, double x, double y,
99 m_pAzimuthalEquidistant->Reverse(lat0, lon0, x, y, llat, llon, azi, rk);
H A DGnomonic.cpp61 void Gnomonic::Forward(double lat0, double lon0, double lat, double lon,
68 m_pGnomonic->Forward( lat0, lon0, lat, lon, lx, ly, lazi, lrk );
76 void Gnomonic::Reverse(double lat0, double lon0, double x, double y,
83 m_pGnomonic->Reverse( lat0, lon0, x, y, llat, llon, lazi, lrk );
91 void Gnomonic::Forward(double lat0, double lon0, double lat, double lon,
96 m_pGnomonic->Forward( lat0, lon0, lat, lon, lx, ly );
102 void Gnomonic::Reverse(double lat0, double lon0, double x, double y,
107 m_pGnomonic->Reverse( lat0, lon0, x, y, llat, llon );
/dports/astro/geographiclib/GeographicLib-1.52/matlab/geographiclib/
H A Dloccart_fwd.m1 function [x, y, z, M] = loccart_fwd(lat0, lon0, h0, lat, lon, h, ellipsoid)
4 % [x, y, z] = LOCCART_FWD(lat0, lon0, h0, lat, lon)
5 % [x, y, z] = LOCCART_FWD(lat0, lon0, h0, lat, lon, h)
6 % [x, y, z, M] = LOCCART_FWD(lat0, lon0, h0, lat, lon, h, ellipsoid)
9 % coordinates, x, y, z, centered at lat0, lon0, h0. Latitudes and
11 % lat, lon, h can be scalars or arrays of equal size. lat0, lon0, h0
20 % transforms the vector to local cartesian coordinates at (lat0, lon0,
35 if ~(isscalar(lat0) && isscalar(lon0) && isscalar(h0))
36 error('lat0, lon0, h0 must be scalar')
46 [X0, Y0, Z0, M0] = geocent_fwd(lat0, lon0, h0, ellipsoid);
H A Dloccart_inv.m1 function [lat, lon, h, M] = loccart_inv(lat0, lon0, h0, x, y, z, ellipsoid)
4 % [lat, lon, h] = LOCCART_INV(lat0, lon0, h0, x, y, z)
5 % [lat, lon, h, M] = LOCCART_INV(lat0, lon0, h0, x, y, z, ellipsoid)
7 % converts from local cartesian coordinates, x, y, z, centered at lat0,
10 % be scalars or arrays of equal size. lat0, lon0, h0 must be scalars.
18 % unit vector in local cartesian coordinates at (lat0, lon0, h0) by the
33 if ~(isscalar(lat0) && isscalar(lon0) && isscalar(h0))
34 error('lat0, lon0, h0 must be scalar')
44 [X0, Y0, Z0, M0] = geocent_fwd(lat0, lon0, h0, ellipsoid);
H A Dcassini_inv.m1 function [lat, lon, azi, rk] = cassini_inv(lat0, lon0, x, y, ellipsoid)
4 % [lat, lon] = CASSINI_INV(lat0, lon0, x, y)
5 % [lat, lon, azi, rk] = CASSINI_INV(lat0, lon0, x, y, ellipsoid)
8 % (lat,lon) using (lat0,lon0) as the center of projection. These input
20 % lat0, lon0, lat, lon, azi are in degrees. The projected coordinates x,
31 [~] = lat0 + lon0 + x + y;
33 error('lat0, lon0, x, y have incompatible sizes')
36 [lat1, lon1, azi0] = geodreckon(lat0, lon0, y, 0, ellipsoid);
/dports/math/octave-forge-mapping/mapping-1.4.1/inst/
H A Denu2uvw.m25 …} {@var{u}, @var{v}, @var{w} =} enu2uvw (@var{east}, @var{north}, @var{up}, @var{lat0}, @var{lon0})
26 …{u}, @var{v}, @var{w} =} enu2uvw (@var{east}, @var{north}, @var{up}, @var{lat0}, @var{lon0}, @var{…
34 ## @var{lat0}, @var{lon0}: geodetic coordinates of observer/reference point(s)
50 function [u, v, w] = enu2uvw (east, n, up, lat0, lon0, angleUnit = "degrees")
59 ! isnumeric (lat0) || ! isreal (lat0) || ...
66 if (! (isscalar (lat0) && isscalar (lon0)))
68 if (! all (size (lat0) == size (east)) || ...
78 lat0 = deg2rad (lat0); variable
84 t = cos (lat0) .* up - sin (lat0) .* n;
85 w = sin (lat0) .* up + cos (lat0) .* n;
/dports/misc/py-kartograph/kartograph.py-0.6.8/kartograph/proj/azimuthal/
H A Dlaea.py31 def __init__(self, lon0=0.0, lat0=0.0): argument
33 Azimuthal.__init__(self, lat0, lon0)
59 def __init__(self, lon0=0, lat0=0): argument
64 def __init__(self, lon0=0, lat0=0): argument
71 def __init__(self, lon0=0.0, lat0=0.0): argument
106 def __init__(self, lon0=0.0, lat0=0.0): argument
108 self.proj = pyproj.Proj(proj='laea', lat_0=lat0, lon_0=lon0)
109 Azimuthal.__init__(self, lat0, lon0)
/dports/astro/geographiclib/GeographicLib-1.52/java/src/main/java/net/sf/geographiclib/
H A DGnomonicData.java28 public double lat0; field in GnomonicData
62 lat0 = lon0 = lat = lon = x = y = azi = rk = Double.NaN; in GnomonicData()
87 public GnomonicData(double lat0, double lon0, double lat, double lon, in GnomonicData() argument
89 this.lat0 = lat0; in GnomonicData()
/dports/astro/geographiclib/GeographicLib-1.52/include/GeographicLib/
H A DAzimuthalEquidistant.hpp75 void Forward(real lat0, real lon0, real lat, real lon,
98 void Reverse(real lat0, real lon0, real x, real y,
104 void Forward(real lat0, real lon0, real lat, real lon, in Forward() argument
107 Forward(lat0, lon0, lat, lon, x, y, azi, rk); in Forward()
113 void Reverse(real lat0, real lon0, real x, real y, in Reverse() argument
116 Reverse(lat0, lon0, x, y, lat, lon, azi, rk); in Reverse()
H A DGnomonic.hpp148 void Forward(real lat0, real lon0, real lat, real lon,
174 void Reverse(real lat0, real lon0, real x, real y,
180 void Forward(real lat0, real lon0, real lat, real lon, in Forward() argument
183 Forward(lat0, lon0, lat, lon, x, y, azi, rk); in Forward()
189 void Reverse(real lat0, real lon0, real x, real y, in Reverse() argument
192 Reverse(lat0, lon0, x, y, lat, lon, azi, rk); in Reverse()

12345678910>>...13