Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
a
c
d
e
f
g
i
k
l
m
n
p
q
r
s
t
u
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Classes
Class List
Class Hierarchy
Class Members
All
!
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
!
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
f
k
l
m
n
o
p
r
s
t
v
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
:
a
b
c
d
e
g
h
i
l
m
n
o
p
r
s
t
u
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
x
z
Enumerations
Enumerator
b
c
e
f
g
i
l
m
n
o
p
r
s
t
u
v
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
gtsam
3rdparty
GeographicLib
java
planimeter
src
main
java
Planimeter.java
Go to the documentation of this file.
1
5
import
java.util.*;
6
import
net
.
sf
.
geographiclib
.*;
14
public
class
Planimeter
{
15
public
static
void
main
(String[]
args
) {
16
PolygonArea
p
=
new
PolygonArea
(
Geodesic
.
WGS84
,
false
);
17
try
{
18
Scanner in =
new
Scanner(System.in);
19
while
(
true
) {
20
double
lat
= in.nextDouble(),
lon
= in.nextDouble();
21
p
.AddPoint(
lat
,
lon
);
22
}
23
}
24
catch
(Exception
e
) {}
25
PolygonResult
r =
p
.Compute();
26
System.out.println(r.
num
+
" "
+ r.
perimeter
+
" "
+ r.
area
);
27
}
28
}
Planimeter.main
static void main(String[] args)
Definition:
Planimeter.java:15
e
Array< double, 1, 3 > e(1./3., 0.5, 2.)
net.sf.geographiclib.Geodesic
Definition:
Geodesic.java:202
net.sf
net.sf.geographiclib.PolygonResult.area
double area
Definition:
PolygonResult.java:25
net.sf.geographiclib.PolygonArea
Definition:
PolygonArea.java:60
net.sf.geographiclib.Geodesic.WGS84
static final Geodesic WGS84
Definition:
Geodesic.java:1207
net
Planimeter
Definition:
Planimeter.java:14
net.sf.geographiclib.PolygonResult.num
int num
Definition:
PolygonResult.java:17
net.sf.geographiclib
Definition:
Accumulator.java:8
net.sf.geographiclib.PolygonResult
Definition:
PolygonResult.java:13
args
Definition:
pytypes.h:2212
p
float * p
Definition:
Tutorial_Map_using.cpp:9
lon
static const double lon
Definition:
testGeographicLib.cpp:34
net.sf.geographiclib.PolygonResult.perimeter
double perimeter
Definition:
PolygonResult.java:21
lat
static const double lat
Definition:
testGeographicLib.cpp:34
gtsam
Author(s):
autogenerated on Fri Mar 28 2025 03:02:53