gtsam
3rdparty
GeographicLib
java
inverse
src
main
java
Inverse.java
Go to the documentation of this file.
1
5
import
java.util.*;
6
import
net
.
sf
.
geographiclib
.*;
13
public
class
Inverse
{
14
public
static
void
main
(String[]
args
) {
15
try
{
16
Scanner in =
new
Scanner(System.in);
17
double
lat1, lon1, lat2, lon2;
18
while
(
true
) {
19
lat1 = in.nextDouble(); lon1 = in.nextDouble();
20
lat2 = in.nextDouble(); lon2 = in.nextDouble();
21
GeodesicData
g
=
Geodesic
.
WGS84
.
Inverse
(lat1, lon1, lat2, lon2);
22
System.out.println(
g
.azi1 +
" "
+
g
.azi2 +
" "
+
g
.s12);
23
}
24
}
25
catch
(Exception
e
) {}
26
}
27
}
e
Array< double, 1, 3 > e(1./3., 0.5, 2.)
net.sf.geographiclib.Geodesic
Definition:
Geodesic.java:202
net.sf.geographiclib.Geodesic.Inverse
GeodesicData Inverse(double lat1, double lon1, double lat2, double lon2)
Definition:
Geodesic.java:615
net.sf
net.sf.geographiclib.Geodesic.WGS84
static final Geodesic WGS84
Definition:
Geodesic.java:1207
net
Inverse.main
static void main(String[] args)
Definition:
Inverse.java:14
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
Inverse
Definition:
Inverse.java:13
gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:11:43