Direct.java
Go to the documentation of this file.
1 
5 import java.util.*;
6 import net.sf.geographiclib.*;
7 public class Direct {
14  public static void main(String[] args) {
15  try {
16  Scanner in = new Scanner(System.in);
17  double lat1, lon1, azi1, s12;
18  while (true) {
19  lat1 = in.nextDouble(); lon1 = in.nextDouble();
20  azi1 = in.nextDouble(); s12 = in.nextDouble();
21  GeodesicData g = Geodesic.WGS84.Direct(lat1, lon1, azi1, s12);
22  System.out.println(g.lat2 + " " + g.lon2 + " " + g.azi2);
23  }
24  }
25  catch (Exception e) {}
26  }
27 }
static final Geodesic WGS84
Definition: Geodesic.java:1207
Definition: pytypes.h:2012
void g(const string &key, int i)
Definition: testBTree.cpp:41
GeodesicData Direct(double lat1, double lon1, double azi1, double s12)
Definition: Geodesic.java:313
Array< double, 1, 3 > e(1./3., 0.5, 2.)
static void main(String[] args)
Definition: Direct.java:14


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:34:10