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 }
net.sf.geographiclib.Geodesic.Direct
GeodesicData Direct(double lat1, double lon1, double azi1, double s12)
Definition: Geodesic.java:313
e
Array< double, 1, 3 > e(1./3., 0.5, 2.)
net.sf.geographiclib.Geodesic
Definition: Geodesic.java:202
Direct
Definition: Direct.java:7
net.sf
Direct.main
static void main(String[] args)
Definition: Direct.java:14
net.sf.geographiclib.Geodesic.WGS84
static final Geodesic WGS84
Definition: Geodesic.java:1207
net
net.sf.geographiclib
Definition: Accumulator.java:8
net.sf.geographiclib.GeodesicData
Definition: GeodesicData.java:21
g
void g(const string &key, int i)
Definition: testBTree.cpp:41
args
Definition: pytypes.h:2210


gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:11:28