gtsam
3rdparty
GeographicLib
java
direct
src
main
java
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.WGS84
static final Geodesic WGS84
Definition:
Geodesic.java:1207
args
Definition:
pytypes.h:2012
Direct
Definition:
Direct.java:7
g
void g(const string &key, int i)
Definition:
testBTree.cpp:41
net.sf.geographiclib.GeodesicData.lon2
double lon2
Definition:
GeodesicData.java:41
net.sf.geographiclib.Geodesic.Direct
GeodesicData Direct(double lat1, double lon1, double azi1, double s12)
Definition:
Geodesic.java:313
net
net.sf.geographiclib.Geodesic
Definition:
Geodesic.java:202
e
Array< double, 1, 3 > e(1./3., 0.5, 2.)
net.sf.geographiclib.GeodesicData.lat2
double lat2
Definition:
GeodesicData.java:37
System
net.sf
net.sf.geographiclib.GeodesicData
Definition:
GeodesicData.java:21
net.sf.geographiclib
Definition:
Accumulator.java:8
Direct.main
static void main(String[] args)
Definition:
Direct.java:14
net.sf.geographiclib.GeodesicData.azi2
double azi2
Definition:
GeodesicData.java:45
gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:34:10