Lines Matching full:dg
385 double dg; in greatcircle() local
390 dg = EARTHRADIUS * acos( in greatcircle()
396 lat1, long1, lat2, long2, dg); in greatcircle()
397 return dg; in greatcircle()
407 double dg, in waveangle() argument
415 theta = dg / (EARTHRADIUS * (double)(2 * n)); in waveangle()
419 dg, h, n, delta / RADPERDEG); in waveangle()
429 double dg, in propdelay() argument
438 theta = dg / (EARTHRADIUS * (double)(2 * n)); in propdelay()
440 td = dg / (LIGHTSPEED * sin(phi)); in propdelay()
443 dg, h, n, td); in propdelay()
461 double dg; /* great circle distance */ in finddelay() local
465 dg = greatcircle(lat1, long1, lat2, long2); in finddelay()
467 printf("great circle distance %g km %g miles\n", dg, dg/MILE); in finddelay()
470 while ((delta = waveangle(dg, h, n)) < 0.0) { in finddelay()
479 *delay = propdelay(dg, h, n); in finddelay()
518 double dg; /* great circle distance */ in satfinddelay() local
520 dg = greatcircle(lat1, long1, lat2, long2); in satfinddelay()
522 *delay = satpropdelay(dg); in satfinddelay()
531 double dg in satpropdelay() argument
538 theta = dg / (EARTHRADIUS); in satpropdelay()
546 printf("propdelay dist %g height %g time %g\n", dg, dist, td); in satpropdelay()