This file is indexed.

/usr/share/doc/geographiclib/html/classGeographicLib_1_1GeodesicLine.html is in geographiclib-tools 1.8-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>GeographicLib: GeographicLib::GeodesicLine Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath">
    <ul>
      <li><a class="el" href="namespaceGeographicLib.html">GeographicLib</a>      </li>
      <li><a class="el" href="classGeographicLib_1_1GeodesicLine.html">GeographicLib::GeodesicLine</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<h1>GeographicLib::GeodesicLine Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="GeographicLib::GeodesicLine" -->
<p>A geodesic line.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="GeodesicLine_8hpp_source.html">GeographicLib/GeodesicLine.hpp</a>&gt;</code></p>

<p><a href="classGeographicLib_1_1GeodesicLine-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcc">mask</a> { <br/>
&nbsp;&nbsp;<a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca0f2ec05e56540d908a326a872b9aa68f">NONE</a>, 
<a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca34e259b158b7fa5441e91d32eae20c23">LATITUDE</a>, 
<a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbccac41b1e2e1d73c8d323f92b94e57a0cc9">LONGITUDE</a>, 
<a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca654b16d956cdd16a70605a6b54a1228e">AZIMUTH</a>, 
<br/>
&nbsp;&nbsp;<a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca6d8b294c13e0495120b9bfd6a9281184">DISTANCE</a>, 
<a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca7929baa71a65e8399073f67382e4d0bc">DISTANCE_IN</a>, 
<a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbccab6649103de9393f5f18a5d2e44624411">REDUCEDLENGTH</a>, 
<a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca74f896572150d24be4667cf66ed696a6">GEODESICSCALE</a>, 
<br/>
&nbsp;&nbsp;<a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca71c623894b3e6bb0864f3da89d1a1915">AREA</a>, 
<a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbccabf2df1a904dc1c546a122ac0ebe1acd6">ALL</a>
<br/>
 }</td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp559a25fdb98a7d1fd1c3771ac568d5e9"></a> </p>
</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#a5669be85b4a574258f4a136f12d3f1bb">GeodesicLine</a> (const <a class="el" href="classGeographicLib_1_1Geodesic.html">Geodesic</a> &amp;g, real lat1, real lon1, real azi1, unsigned caps=ALL)  throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#ae5ad84103d70f252c66bf61afbda3fa0">GeodesicLine</a> ()  throw ()</td></tr>
<tr><td colspan="2"><div class="groupHeader">Position in terms of distance</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp35daafebfec828271ca485c96971967e"></a> </p>
</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#ac9843cbfff45e8163b78e184a3126d82">Position</a> (real s12, real &amp;lat2, real &amp;lon2, real &amp;azi2, real &amp;m12, real &amp;M12, real &amp;M21, real &amp;S12) const   throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#a50feb9c64d66b6518c640584d25e9507">Position</a> (real s12, real &amp;lat2, real &amp;lon2) const   throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#ac736a0cc3300e443d42bbd2dc901962c">Position</a> (real s12, real &amp;lat2, real &amp;lon2, real &amp;azi2) const   throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#a10b743a14701f620c0f41f1c6e1cee76">Position</a> (real s12, real &amp;lat2, real &amp;lon2, real &amp;azi2, real &amp;m12) const   throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#ada48245beb736fe9ff3d8c491e9a691f">Position</a> (real s12, real &amp;lat2, real &amp;lon2, real &amp;azi2, real &amp;M12, real &amp;M21) const   throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#aa42e5028aa78ef3ce8fbcb01b25eb458">Position</a> (real s12, real &amp;lat2, real &amp;lon2, real &amp;azi2, real &amp;m12, real &amp;M12, real &amp;M21) const   throw ()</td></tr>
<tr><td colspan="2"><div class="groupHeader">Position in terms of arc length</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpe4304763bf9439131760b41b8766bd2f"></a> </p>
</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#a9270eecb58eaac3115a5f08879990482">ArcPosition</a> (real a12, real &amp;lat2, real &amp;lon2, real &amp;azi2, real &amp;s12, real &amp;m12, real &amp;M12, real &amp;M21, real &amp;S12) const   throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#afa377ee7344df5759cb7ea1022ff8288">ArcPosition</a> (real a12, real &amp;lat2, real &amp;lon2) const   throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#a2d147b25bcef6a7258fabc581a2d64a1">ArcPosition</a> (real a12, real &amp;lat2, real &amp;lon2, real &amp;azi2) const   throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#afdedfa0bc105dbe5de4c292115c7b7ae">ArcPosition</a> (real a12, real &amp;lat2, real &amp;lon2, real &amp;azi2, real &amp;s12) const   throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#ad6b2013f9dcde3f4bf867632f6a2d1ff">ArcPosition</a> (real a12, real &amp;lat2, real &amp;lon2, real &amp;azi2, real &amp;s12, real &amp;m12) const   throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#a2e0249a548d2dd9c882cb4a8de17d8eb">ArcPosition</a> (real a12, real &amp;lat2, real &amp;lon2, real &amp;azi2, real &amp;s12, real &amp;M12, real &amp;M21) const   throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#af286d2071bdc59e68046dd2557115f21">ArcPosition</a> (real a12, real &amp;lat2, real &amp;lon2, real &amp;azi2, real &amp;s12, real &amp;m12, real &amp;M12, real &amp;M21) const   throw ()</td></tr>
<tr><td colspan="2"><div class="groupHeader">The general position function.</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp5171ab14b5189cd21645ddff68a4dc42"></a> </p>
</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#ad9522110fe6a5a0c7f912a6b1a23094d">GenPosition</a> (bool arcmode, real s12_a12, unsigned outmask, real &amp;lat2, real &amp;lon2, real &amp;azi2, real &amp;s12, real &amp;m12, real &amp;M12, real &amp;M21, real &amp;S12) const   throw ()</td></tr>
<tr><td colspan="2"><div class="groupHeader">Inspector functions</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp59c92495387f56c5711d0f52918a49b2"></a> </p>
</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#af7e248d7632f56cf7abc6eac4927a587">Init</a> () const   throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#a00a291e94d0c688a168a58623a360659">Latitude</a> () const   throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#ac567ccf20c683319370f4c747f23966a">Longitude</a> () const   throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#a40707b9e989c95418b2559b271cc2699">Azimuth</a> () const   throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#ad117912c4fc4ef29bf4050c9be3267f2">EquatorialAzimuth</a> () const   throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#a308c7fb4f7c562a8c604453bf2ee2ca2">EquatorialArc</a> () const   throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#af8953029b9985a3929fe406f7530143b">MajorRadius</a> () const   throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#ad0d59a47c24d11229ab7ce4363d525ea">InverseFlattening</a> () const   throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#a21d07549d1171ad05c7318533c4c8970">Capabilities</a> () const   throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#a4e12366c2ce02e7a96ee778eedb55bf9">Capabilities</a> (unsigned testcaps) const   throw ()</td></tr>
<tr><td colspan="2"><div class="groupHeader">Deprecated Functions</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp02bca13b54a3469dc5197c87a3e539d9"></a> </p>
</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#ad8d77b7453ecae1567fc318966f7961f">Position</a> (real s12, real &amp;lat2, real &amp;lon2, real &amp;azi2, real &amp;m12, bool arcmode) const   throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#a681434e9e50876320e6a854744fba692">Scale</a> (real a12, real &amp;M12, real &amp;M21) const   throw ()</td></tr>
<tr><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeodesicLine.html#a088c26ef9558197029bbeb317f3104c0">Geodesic</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A geodesic line. </p>
<p><a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a> facilitates the determination of a series of points on a single geodesic. The starting point (<em>lat1</em>, <em>lon1</em>) and the azimuth <em>azi1</em> are specified in the constructor. <a class="el" href="classGeographicLib_1_1GeodesicLine.html#ac9843cbfff45e8163b78e184a3126d82">GeodesicLine.Position</a> returns the location of point 2 a distance <em>s12</em> along the geodesic. Alternatively <a class="el" href="classGeographicLib_1_1GeodesicLine.html#a9270eecb58eaac3115a5f08879990482">GeodesicLine.ArcPosition</a> gives the position of point 2 an arc length <em>a12</em> along the geodesic. An example of use of this class is: </p>
<div class="fragment"><pre class="fragment"><span class="preprocessor">   #include &lt;iostream&gt;</span>
<span class="preprocessor">   #include &lt;iomanip&gt;</span>
<span class="preprocessor">   #include &lt;cmath&gt;</span>
<span class="preprocessor">   #include &quot;<a class="code" href="Geodesic_8hpp.html" title="Header for GeographicLib::Geodesic class.">GeographicLib/Geodesic.hpp</a>&quot;</span>
<span class="preprocessor">   #include &quot;<a class="code" href="GeodesicLine_8hpp.html" title="Header for GeographicLib::GeodesicLine class.">GeographicLib/GeodesicLine.hpp</a>&quot;</span>

   <span class="keywordtype">int</span> <a class="code" href="CartConvert_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97">main</a>() {
     <span class="comment">// Print waypoints between JFK and SIN at</span>
     <span class="comment">// approximately 100km intervals.</span>
     <span class="keywordtype">double</span>
       lat1 = 40.640, lon1 = -73.779, <span class="comment">// JFK</span>
       lat2 = 1.359, lon2 = 177.486;  <span class="comment">// SIN</span>
     <span class="keyword">const</span> <a class="code" href="classGeographicLib_1_1Geodesic.html" title="Geodesic calculations">GeographicLib::Geodesic</a>&amp;
       g = <a class="code" href="classGeographicLib_1_1Geodesic.html#ae918bb7e1555fba38483449cbbac0ca1">GeographicLib::Geodesic::WGS84</a>;
     <span class="keywordtype">double</span> azi1, azi2,
       a12 = g.<a class="code" href="classGeographicLib_1_1Geodesic.html#ad7e59a242125a35a95c96cdb20573081">Inverse</a>(lat1, lon1, lat2, lon2, azi1, azi2);
     <span class="keywordtype">double</span> ds = 100e3;  <span class="comment">// Nominal distance between points = 100 km</span>
     <span class="keywordtype">int</span> num = std::ceil(a12/ (90 * ds / 10e6)); <span class="comment">// 90 deg = 10e6 m</span>
     <span class="keywordtype">double</span> da = a12/num;              <span class="comment">// Arc length between points</span>
     <span class="keyword">const</span> <a class="code" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeographicLib::GeodesicLine</a> l(g, lat1, lon1, azi1);
     std::cout &lt;&lt; std::fixed &lt;&lt; std::setprecision(3);
     <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt;= num; ++i) {
       <span class="keywordtype">double</span> lat, lon;
       l.ArcPosition(i * da, lat, lon);
       std::cout &lt;&lt; lat &lt;&lt; <span class="stringliteral">&quot; &quot;</span> &lt;&lt; lon &lt;&lt; <span class="stringliteral">&quot;\n&quot;</span>;
     }
   }
</pre></div><p> The default copy constructor and assignment operators work with this class, so that, for example, the previous example could start </p>
<div class="fragment"><pre class="fragment">       <a class="code" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeographicLib::GeodesicLine</a> l;
       l = g.<a class="code" href="classGeographicLib_1_1Geodesic.html#a3ac241c18897bb9bec4b839d7e1a7c59">Line</a>(lat1, lon1, azi1);
</pre></div><p> Similarly, a vector can be used to hold <a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a> objects.</p>
<p>The calculations are accurate to better than 15 nm. See Sec. 9 of <a href="http://arxiv.org/abs/1102.1215">arXiv:1102.1215</a> for details.</p>
<p>The algorithms are described in</p>
<ul>
<li>C. F. F. Karney, <a href="http://arxiv.org/abs/1102.1215">Geodesics on an ellipsoid of revolution</a>, Feb. 2011; preprint <a href="http://arxiv.org/abs/1102.1215">arXiv:1102.1215</a>.</li>
</ul>
<p>For more information on geodesics see <a class="el" href="geodesic.html">Geodesics on the Ellipsoid</a>. </p>

<p>Definition at line <a class="el" href="GeodesicLine_8hpp_source.html#l00078">78</a> of file <a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a>.</p>
<hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="adeec76cf92a8c30770e1199bdadacbcc"></a><!-- doxytag: member="GeographicLib::GeodesicLine::mask" ref="adeec76cf92a8c30770e1199bdadacbcc" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcc">GeographicLib::GeodesicLine::mask</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Bit masks for what calculations to do. These masks do double duty. They signify to the <a class="el" href="classGeographicLib_1_1GeodesicLine.html#a5669be85b4a574258f4a136f12d3f1bb">GeodesicLine::GeodesicLine</a> constructor and to <a class="el" href="classGeographicLib_1_1Geodesic.html#a3ac241c18897bb9bec4b839d7e1a7c59">Geodesic::Line</a> what capabilities should be included in the <a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a> object. They also specify which results to return in the general routines <a class="el" href="classGeographicLib_1_1Geodesic.html#acaef3032846a71fc730e1ea26ea32d20">Geodesic::GenDirect</a> and <a class="el" href="classGeographicLib_1_1Geodesic.html#a84a3b9b457dd87b1059045b9d50303fd">Geodesic::GenInverse</a> routines. This is merely a duplication of <a class="el" href="classGeographicLib_1_1Geodesic.html#aab966190e69651b86661fc2628d20828">Geodesic::mask</a>. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="adeec76cf92a8c30770e1199bdadacbcca0f2ec05e56540d908a326a872b9aa68f"></a><!-- doxytag: member="NONE" ref="adeec76cf92a8c30770e1199bdadacbcca0f2ec05e56540d908a326a872b9aa68f" args="" -->NONE</em>&nbsp;</td><td>
<p>No capabilities, no output. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="adeec76cf92a8c30770e1199bdadacbcca34e259b158b7fa5441e91d32eae20c23"></a><!-- doxytag: member="LATITUDE" ref="adeec76cf92a8c30770e1199bdadacbcca34e259b158b7fa5441e91d32eae20c23" args="" -->LATITUDE</em>&nbsp;</td><td>
<p>Calculate latitude <em>lat2</em>. (It's not necessary to include this as a capability to <a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a> because this is included by default.) </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="adeec76cf92a8c30770e1199bdadacbccac41b1e2e1d73c8d323f92b94e57a0cc9"></a><!-- doxytag: member="LONGITUDE" ref="adeec76cf92a8c30770e1199bdadacbccac41b1e2e1d73c8d323f92b94e57a0cc9" args="" -->LONGITUDE</em>&nbsp;</td><td>
<p>Calculate longitude <em>lon2</em>. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="adeec76cf92a8c30770e1199bdadacbcca654b16d956cdd16a70605a6b54a1228e"></a><!-- doxytag: member="AZIMUTH" ref="adeec76cf92a8c30770e1199bdadacbcca654b16d956cdd16a70605a6b54a1228e" args="" -->AZIMUTH</em>&nbsp;</td><td>
<p>Calculate azimuths <em>azi1</em> and <em>azi2</em>. (It's not necessary to include this as a capability to <a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a> because this is included by default.) </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="adeec76cf92a8c30770e1199bdadacbcca6d8b294c13e0495120b9bfd6a9281184"></a><!-- doxytag: member="DISTANCE" ref="adeec76cf92a8c30770e1199bdadacbcca6d8b294c13e0495120b9bfd6a9281184" args="" -->DISTANCE</em>&nbsp;</td><td>
<p>Calculate distance <em>s12</em>. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="adeec76cf92a8c30770e1199bdadacbcca7929baa71a65e8399073f67382e4d0bc"></a><!-- doxytag: member="DISTANCE_IN" ref="adeec76cf92a8c30770e1199bdadacbcca7929baa71a65e8399073f67382e4d0bc" args="" -->DISTANCE_IN</em>&nbsp;</td><td>
<p>Allow distance <em>s12</em> to be used as input in the direct geodesic problem. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="adeec76cf92a8c30770e1199bdadacbccab6649103de9393f5f18a5d2e44624411"></a><!-- doxytag: member="REDUCEDLENGTH" ref="adeec76cf92a8c30770e1199bdadacbccab6649103de9393f5f18a5d2e44624411" args="" -->REDUCEDLENGTH</em>&nbsp;</td><td>
<p>Calculate reduced length <em>m12</em>. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="adeec76cf92a8c30770e1199bdadacbcca74f896572150d24be4667cf66ed696a6"></a><!-- doxytag: member="GEODESICSCALE" ref="adeec76cf92a8c30770e1199bdadacbcca74f896572150d24be4667cf66ed696a6" args="" -->GEODESICSCALE</em>&nbsp;</td><td>
<p>Calculate geodesic scales <em>M12</em> and <em>M21</em>. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="adeec76cf92a8c30770e1199bdadacbcca71c623894b3e6bb0864f3da89d1a1915"></a><!-- doxytag: member="AREA" ref="adeec76cf92a8c30770e1199bdadacbcca71c623894b3e6bb0864f3da89d1a1915" args="" -->AREA</em>&nbsp;</td><td>
<p>Calculate area <em>S12</em>. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="adeec76cf92a8c30770e1199bdadacbccabf2df1a904dc1c546a122ac0ebe1acd6"></a><!-- doxytag: member="ALL" ref="adeec76cf92a8c30770e1199bdadacbccabf2df1a904dc1c546a122ac0ebe1acd6" args="" -->ALL</em>&nbsp;</td><td>
<p>All capabilities. Calculate everything. </p>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="GeodesicLine_8hpp_source.html#l00116">116</a> of file <a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a5669be85b4a574258f4a136f12d3f1bb"></a><!-- doxytag: member="GeographicLib::GeodesicLine::GeodesicLine" ref="a5669be85b4a574258f4a136f12d3f1bb" args="(const Geodesic &amp;g, real lat1, real lon1, real azi1, unsigned caps=ALL)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GeographicLib::GeodesicLine::GeodesicLine </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGeographicLib_1_1Geodesic.html">Geodesic</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real&nbsp;</td>
          <td class="paramname"> <em>lat1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real&nbsp;</td>
          <td class="paramname"> <em>lon1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real&nbsp;</td>
          <td class="paramname"> <em>azi1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned&nbsp;</td>
          <td class="paramname"> <em>caps</em> = <code>ALL</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td>  throw ()</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructor for a geodesic line staring at latitude <em>lat1</em>, longitude <em>lon1</em>, and aziumuth <em>azi1</em> (all in degrees).</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>g</em>&nbsp;</td><td>A <a class="el" href="classGeographicLib_1_1Geodesic.html" title="Geodesic calculations">Geodesic</a> object used to compute the necessary information about the <a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a>.</td></tr>
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>lat1</em>&nbsp;</td><td>latitude of point 1 (degrees). </td></tr>
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>lon1</em>&nbsp;</td><td>longitude of point 1 (degrees). </td></tr>
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>azi1</em>&nbsp;</td><td>azimuth at point 1 (degrees). </td></tr>
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>caps</em>&nbsp;</td><td>bitor'ed combination of <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcc">GeodesicLine::mask</a> values specifying the capabilities the <a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a> object should possess, i.e., which quantities can be returned in calls to GeodesicLib::Position.</td></tr>
  </table>
  </dd>
</dl>
<p>The <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcc">GeodesicLine::mask</a> values are</p>
<ul>
<li><em>caps</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca34e259b158b7fa5441e91d32eae20c23">GeodesicLine::LATITUDE</a> for the latitude <em>lat2</em>; this is added automatically</li>
<li><em>caps</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbccac41b1e2e1d73c8d323f92b94e57a0cc9">GeodesicLine::LONGITUDE</a> for the latitude <em>lon2</em> </li>
<li><em>caps</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca654b16d956cdd16a70605a6b54a1228e">GeodesicLine::AZIMUTH</a> for the latitude <em>azi2</em>; this is added automatically</li>
<li><em>caps</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca6d8b294c13e0495120b9bfd6a9281184">GeodesicLine::DISTANCE</a> for the distance <em>s12</em> </li>
<li><em>caps</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbccab6649103de9393f5f18a5d2e44624411">GeodesicLine::REDUCEDLENGTH</a> for the reduced length <em>m12</em> </li>
<li><em>caps</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca74f896572150d24be4667cf66ed696a6">GeodesicLine::GEODESICSCALE</a> for the geodesic scales <em>M12</em> and <em>M21</em> </li>
<li><em>caps</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca71c623894b3e6bb0864f3da89d1a1915">GeodesicLine::AREA</a> for the area <em>S12</em> </li>
<li><em>caps</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca7929baa71a65e8399073f67382e4d0bc">GeodesicLine::DISTANCE_IN</a> permits the length of the geodesic to be given in terms of <em>s12</em>; without this capability the length can only be specified in terms of arc length.</li>
</ul>
<p>The default value of <em>caps</em> is <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbccabf2df1a904dc1c546a122ac0ebe1acd6">GeodesicLine::ALL</a> which turns on all the capabilities.</p>
<p>If the point is at a pole, the azimuth is defined by keeping the <em>lon1</em> fixed and writing <em>lat1</em> = 90 - <em>eps</em> or -90 + <em>eps</em> and taking the limit <em>eps</em> -&gt; 0 from above. </p>

<p>Definition at line <a class="el" href="GeodesicLine_8cpp_source.html#l00040">40</a> of file <a class="el" href="GeodesicLine_8cpp_source.html">GeodesicLine.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae5ad84103d70f252c66bf61afbda3fa0"></a><!-- doxytag: member="GeographicLib::GeodesicLine::GeodesicLine" ref="ae5ad84103d70f252c66bf61afbda3fa0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GeographicLib::GeodesicLine::GeodesicLine </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td>  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>A default constructor. If <a class="el" href="classGeographicLib_1_1GeodesicLine.html#ac9843cbfff45e8163b78e184a3126d82">GeodesicLine::Position</a> is called on the resulting object, it returns immediately (without doing any calculations). The object can be set with a call to <a class="el" href="classGeographicLib_1_1Geodesic.html#a3ac241c18897bb9bec4b839d7e1a7c59">Geodesic::Line</a>. Use <a class="el" href="classGeographicLib_1_1GeodesicLine.html#af7e248d7632f56cf7abc6eac4927a587">Init()</a> to test whether object is still in this uninitialized state. </p>

<p>Definition at line <a class="el" href="GeodesicLine_8hpp_source.html#l00224">224</a> of file <a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ac9843cbfff45e8163b78e184a3126d82"></a><!-- doxytag: member="GeographicLib::GeodesicLine::Position" ref="ac9843cbfff45e8163b78e184a3126d82" args="(real s12, real &amp;lat2, real &amp;lon2, real &amp;azi2, real &amp;m12, real &amp;M12, real &amp;M21, real &amp;S12) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> GeographicLib::GeodesicLine::Position </td>
          <td>(</td>
          <td class="paramtype">real&nbsp;</td>
          <td class="paramname"> <em>s12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lat2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lon2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>azi2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>m12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>M12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>M21</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>S12</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Compute the position of point 2 which is a distance <em>s12</em> (meters) from point 1.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>s12</em>&nbsp;</td><td>distance between point 1 and point 2 (meters); it can be signed. </td></tr>
    <tr><td valign="top"><tt>[out]</tt>&nbsp;</td><td valign="top"><em>lat2</em>&nbsp;</td><td>latitude of point 2 (degrees). </td></tr>
    <tr><td valign="top"><tt>[out]</tt>&nbsp;</td><td valign="top"><em>lon2</em>&nbsp;</td><td>longitude of point 2 (degrees); requires that the <a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a> object was constructed with <em>caps</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbccac41b1e2e1d73c8d323f92b94e57a0cc9">GeodesicLine::LONGITUDE</a>. </td></tr>
    <tr><td valign="top"><tt>[out]</tt>&nbsp;</td><td valign="top"><em>azi2</em>&nbsp;</td><td>(forward) azimuth at point 2 (degrees). </td></tr>
    <tr><td valign="top"><tt>[out]</tt>&nbsp;</td><td valign="top"><em>m12</em>&nbsp;</td><td>reduced length of geodesic (meters); requires that the <a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a> object was constructed with <em>caps</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbccab6649103de9393f5f18a5d2e44624411">GeodesicLine::REDUCEDLENGTH</a>. </td></tr>
    <tr><td valign="top"><tt>[out]</tt>&nbsp;</td><td valign="top"><em>M12</em>&nbsp;</td><td>geodesic scale of point 2 relative to point 1 (dimensionless); requires that the <a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a> object was constructed with <em>caps</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca74f896572150d24be4667cf66ed696a6">GeodesicLine::GEODESICSCALE</a>. </td></tr>
    <tr><td valign="top"><tt>[out]</tt>&nbsp;</td><td valign="top"><em>M21</em>&nbsp;</td><td>geodesic scale of point 1 relative to point 2 (dimensionless); requires that the <a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a> object was constructed with <em>caps</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca74f896572150d24be4667cf66ed696a6">GeodesicLine::GEODESICSCALE</a>. </td></tr>
    <tr><td valign="top"><tt>[out]</tt>&nbsp;</td><td valign="top"><em>S12</em>&nbsp;</td><td>area under the geodesic (meters<sup>2</sup>); requires that the <a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a> object was constructed with <em>caps</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca71c623894b3e6bb0864f3da89d1a1915">GeodesicLine::AREA</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><em>a12</em> arc length of between point 1 and point 2 (degrees).</dd></dl>
<p>The <a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a> object <em>must</em> have been constructed with <em>caps</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca7929baa71a65e8399073f67382e4d0bc">GeodesicLine::DISTANCE_IN</a>; otherwise <a class="el" href="classGeographicLib_1_1Math.html#a77c57c61f93d7ac3f6a5095489c36715">Math::NaN()</a> is returned and no parameters are set. Requesting a value which the <a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a> object is not capable of computing is not an error; the corresponding argument will not be altered.</p>
<p>The following functions are overloaded versions of <a class="el" href="classGeographicLib_1_1GeodesicLine.html#ac9843cbfff45e8163b78e184a3126d82">GeodesicLine::Position</a> which omit some of the output parameters. Note, however, that the arc length is always computed and returned as the function value. </p>

<p>Definition at line <a class="el" href="GeodesicLine_8hpp_source.html#l00267">267</a> of file <a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a>.</p>

<p>References <a class="el" href="GeodesicLine_8hpp_source.html#l00165">AREA</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00139">AZIMUTH</a>, <a class="el" href="GeodesicLine_8cpp_source.html#l00128">GenPosition()</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00160">GEODESICSCALE</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00127">LATITUDE</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00132">LONGITUDE</a>, and <a class="el" href="GeodesicLine_8hpp_source.html#l00155">REDUCEDLENGTH</a>.</p>

<p>Referenced by <a class="el" href="GeodesicLine_8hpp_source.html#l00604">Position()</a>.</p>

</div>
</div>
<a class="anchor" id="a50feb9c64d66b6518c640584d25e9507"></a><!-- doxytag: member="GeographicLib::GeodesicLine::Position" ref="a50feb9c64d66b6518c640584d25e9507" args="(real s12, real &amp;lat2, real &amp;lon2) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> GeographicLib::GeodesicLine::Position </td>
          <td>(</td>
          <td class="paramtype">real&nbsp;</td>
          <td class="paramname"> <em>s12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lat2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lon2</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>See the documentation for <a class="el" href="classGeographicLib_1_1GeodesicLine.html#ac9843cbfff45e8163b78e184a3126d82">GeodesicLine::Position</a>. </p>

<p>Definition at line <a class="el" href="GeodesicLine_8hpp_source.html#l00281">281</a> of file <a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a>.</p>

<p>References <a class="el" href="GeodesicLine_8cpp_source.html#l00128">GenPosition()</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00127">LATITUDE</a>, and <a class="el" href="GeodesicLine_8hpp_source.html#l00132">LONGITUDE</a>.</p>

</div>
</div>
<a class="anchor" id="ac736a0cc3300e443d42bbd2dc901962c"></a><!-- doxytag: member="GeographicLib::GeodesicLine::Position" ref="ac736a0cc3300e443d42bbd2dc901962c" args="(real s12, real &amp;lat2, real &amp;lon2, real &amp;azi2) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> GeographicLib::GeodesicLine::Position </td>
          <td>(</td>
          <td class="paramtype">real&nbsp;</td>
          <td class="paramname"> <em>s12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lat2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lon2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>azi2</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>See the documentation for <a class="el" href="classGeographicLib_1_1GeodesicLine.html#ac9843cbfff45e8163b78e184a3126d82">GeodesicLine::Position</a>. </p>

<p>Definition at line <a class="el" href="GeodesicLine_8hpp_source.html#l00291">291</a> of file <a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a>.</p>

<p>References <a class="el" href="GeodesicLine_8hpp_source.html#l00139">AZIMUTH</a>, <a class="el" href="GeodesicLine_8cpp_source.html#l00128">GenPosition()</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00127">LATITUDE</a>, and <a class="el" href="GeodesicLine_8hpp_source.html#l00132">LONGITUDE</a>.</p>

</div>
</div>
<a class="anchor" id="a10b743a14701f620c0f41f1c6e1cee76"></a><!-- doxytag: member="GeographicLib::GeodesicLine::Position" ref="a10b743a14701f620c0f41f1c6e1cee76" args="(real s12, real &amp;lat2, real &amp;lon2, real &amp;azi2, real &amp;m12) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> GeographicLib::GeodesicLine::Position </td>
          <td>(</td>
          <td class="paramtype">real&nbsp;</td>
          <td class="paramname"> <em>s12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lat2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lon2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>azi2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>m12</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>See the documentation for <a class="el" href="classGeographicLib_1_1GeodesicLine.html#ac9843cbfff45e8163b78e184a3126d82">GeodesicLine::Position</a>. </p>

<p>Definition at line <a class="el" href="GeodesicLine_8hpp_source.html#l00302">302</a> of file <a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a>.</p>

<p>References <a class="el" href="GeodesicLine_8hpp_source.html#l00139">AZIMUTH</a>, <a class="el" href="GeodesicLine_8cpp_source.html#l00128">GenPosition()</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00127">LATITUDE</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00132">LONGITUDE</a>, and <a class="el" href="GeodesicLine_8hpp_source.html#l00155">REDUCEDLENGTH</a>.</p>

</div>
</div>
<a class="anchor" id="ada48245beb736fe9ff3d8c491e9a691f"></a><!-- doxytag: member="GeographicLib::GeodesicLine::Position" ref="ada48245beb736fe9ff3d8c491e9a691f" args="(real s12, real &amp;lat2, real &amp;lon2, real &amp;azi2, real &amp;M12, real &amp;M21) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> GeographicLib::GeodesicLine::Position </td>
          <td>(</td>
          <td class="paramtype">real&nbsp;</td>
          <td class="paramname"> <em>s12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lat2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lon2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>azi2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>M12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>M21</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>See the documentation for <a class="el" href="classGeographicLib_1_1GeodesicLine.html#ac9843cbfff45e8163b78e184a3126d82">GeodesicLine::Position</a>. </p>

<p>Definition at line <a class="el" href="GeodesicLine_8hpp_source.html#l00314">314</a> of file <a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a>.</p>

<p>References <a class="el" href="GeodesicLine_8hpp_source.html#l00139">AZIMUTH</a>, <a class="el" href="GeodesicLine_8cpp_source.html#l00128">GenPosition()</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00160">GEODESICSCALE</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00127">LATITUDE</a>, and <a class="el" href="GeodesicLine_8hpp_source.html#l00132">LONGITUDE</a>.</p>

</div>
</div>
<a class="anchor" id="aa42e5028aa78ef3ce8fbcb01b25eb458"></a><!-- doxytag: member="GeographicLib::GeodesicLine::Position" ref="aa42e5028aa78ef3ce8fbcb01b25eb458" args="(real s12, real &amp;lat2, real &amp;lon2, real &amp;azi2, real &amp;m12, real &amp;M12, real &amp;M21) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> GeographicLib::GeodesicLine::Position </td>
          <td>(</td>
          <td class="paramtype">real&nbsp;</td>
          <td class="paramname"> <em>s12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lat2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lon2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>azi2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>m12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>M12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>M21</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>See the documentation for <a class="el" href="classGeographicLib_1_1GeodesicLine.html#ac9843cbfff45e8163b78e184a3126d82">GeodesicLine::Position</a>. </p>

<p>Definition at line <a class="el" href="GeodesicLine_8hpp_source.html#l00327">327</a> of file <a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a>.</p>

<p>References <a class="el" href="GeodesicLine_8hpp_source.html#l00139">AZIMUTH</a>, <a class="el" href="GeodesicLine_8cpp_source.html#l00128">GenPosition()</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00160">GEODESICSCALE</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00127">LATITUDE</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00132">LONGITUDE</a>, and <a class="el" href="GeodesicLine_8hpp_source.html#l00155">REDUCEDLENGTH</a>.</p>

</div>
</div>
<a class="anchor" id="a9270eecb58eaac3115a5f08879990482"></a><!-- doxytag: member="GeographicLib::GeodesicLine::ArcPosition" ref="a9270eecb58eaac3115a5f08879990482" args="(real a12, real &amp;lat2, real &amp;lon2, real &amp;azi2, real &amp;s12, real &amp;m12, real &amp;M12, real &amp;M21, real &amp;S12) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GeographicLib::GeodesicLine::ArcPosition </td>
          <td>(</td>
          <td class="paramtype">real&nbsp;</td>
          <td class="paramname"> <em>a12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lat2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lon2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>azi2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>s12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>m12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>M12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>M21</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>S12</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Compute the position of point 2 which is an arc length <em>a12</em> (degrees) from point 1.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>a12</em>&nbsp;</td><td>arc length between point 1 and point 2 (degrees); it can be signed. </td></tr>
    <tr><td valign="top"><tt>[out]</tt>&nbsp;</td><td valign="top"><em>lat2</em>&nbsp;</td><td>latitude of point 2 (degrees). </td></tr>
    <tr><td valign="top"><tt>[out]</tt>&nbsp;</td><td valign="top"><em>lon2</em>&nbsp;</td><td>longitude of point 2 (degrees); requires that the <a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a> object was constructed with <em>caps</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbccac41b1e2e1d73c8d323f92b94e57a0cc9">GeodesicLine::LONGITUDE</a>. </td></tr>
    <tr><td valign="top"><tt>[out]</tt>&nbsp;</td><td valign="top"><em>azi2</em>&nbsp;</td><td>(forward) azimuth at point 2 (degrees). </td></tr>
    <tr><td valign="top"><tt>[out]</tt>&nbsp;</td><td valign="top"><em>s12</em>&nbsp;</td><td>distance between point 1 and point 2 (meters); requires that the <a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a> object was constructed with <em>caps</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca6d8b294c13e0495120b9bfd6a9281184">GeodesicLine::DISTANCE</a>. </td></tr>
    <tr><td valign="top"><tt>[out]</tt>&nbsp;</td><td valign="top"><em>m12</em>&nbsp;</td><td>reduced length of geodesic (meters); requires that the <a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a> object was constructed with <em>caps</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbccab6649103de9393f5f18a5d2e44624411">GeodesicLine::REDUCEDLENGTH</a>. </td></tr>
    <tr><td valign="top"><tt>[out]</tt>&nbsp;</td><td valign="top"><em>M12</em>&nbsp;</td><td>geodesic scale of point 2 relative to point 1 (dimensionless); requires that the <a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a> object was constructed with <em>caps</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca74f896572150d24be4667cf66ed696a6">GeodesicLine::GEODESICSCALE</a>. </td></tr>
    <tr><td valign="top"><tt>[out]</tt>&nbsp;</td><td valign="top"><em>M21</em>&nbsp;</td><td>geodesic scale of point 1 relative to point 2 (dimensionless); requires that the <a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a> object was constructed with <em>caps</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca74f896572150d24be4667cf66ed696a6">GeodesicLine::GEODESICSCALE</a>. </td></tr>
    <tr><td valign="top"><tt>[out]</tt>&nbsp;</td><td valign="top"><em>S12</em>&nbsp;</td><td>area under the geodesic (meters<sup>2</sup>); requires that the <a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a> object was constructed with <em>caps</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca71c623894b3e6bb0864f3da89d1a1915">GeodesicLine::AREA</a>.</td></tr>
  </table>
  </dd>
</dl>
<p>Requesting a value which the <a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a> object is not capable of computing is not an error; the corresponding argument will not be altered.</p>
<p>The following functions are overloaded versions of <a class="el" href="classGeographicLib_1_1GeodesicLine.html#a9270eecb58eaac3115a5f08879990482">GeodesicLine::ArcPosition</a> which omit some of the output parameters. </p>

<p>Definition at line <a class="el" href="GeodesicLine_8hpp_source.html#l00378">378</a> of file <a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a>.</p>

<p>References <a class="el" href="GeodesicLine_8hpp_source.html#l00165">AREA</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00139">AZIMUTH</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00144">DISTANCE</a>, <a class="el" href="GeodesicLine_8cpp_source.html#l00128">GenPosition()</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00160">GEODESICSCALE</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00127">LATITUDE</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00132">LONGITUDE</a>, and <a class="el" href="GeodesicLine_8hpp_source.html#l00155">REDUCEDLENGTH</a>.</p>

<p>Referenced by <a class="el" href="GeodesicLine_8hpp_source.html#l00604">Position()</a>, and <a class="el" href="GeodesicLine_8hpp_source.html#l00624">Scale()</a>.</p>

</div>
</div>
<a class="anchor" id="afa377ee7344df5759cb7ea1022ff8288"></a><!-- doxytag: member="GeographicLib::GeodesicLine::ArcPosition" ref="afa377ee7344df5759cb7ea1022ff8288" args="(real a12, real &amp;lat2, real &amp;lon2) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GeographicLib::GeodesicLine::ArcPosition </td>
          <td>(</td>
          <td class="paramtype">real&nbsp;</td>
          <td class="paramname"> <em>a12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lat2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lon2</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>See the documentation for <a class="el" href="classGeographicLib_1_1GeodesicLine.html#a9270eecb58eaac3115a5f08879990482">GeodesicLine::ArcPosition</a>. </p>

<p>Definition at line <a class="el" href="GeodesicLine_8hpp_source.html#l00390">390</a> of file <a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a>.</p>

<p>References <a class="el" href="GeodesicLine_8cpp_source.html#l00128">GenPosition()</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00127">LATITUDE</a>, and <a class="el" href="GeodesicLine_8hpp_source.html#l00132">LONGITUDE</a>.</p>

</div>
</div>
<a class="anchor" id="a2d147b25bcef6a7258fabc581a2d64a1"></a><!-- doxytag: member="GeographicLib::GeodesicLine::ArcPosition" ref="a2d147b25bcef6a7258fabc581a2d64a1" args="(real a12, real &amp;lat2, real &amp;lon2, real &amp;azi2) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GeographicLib::GeodesicLine::ArcPosition </td>
          <td>(</td>
          <td class="paramtype">real&nbsp;</td>
          <td class="paramname"> <em>a12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lat2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lon2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>azi2</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>See the documentation for <a class="el" href="classGeographicLib_1_1GeodesicLine.html#a9270eecb58eaac3115a5f08879990482">GeodesicLine::ArcPosition</a>. </p>

<p>Definition at line <a class="el" href="GeodesicLine_8hpp_source.html#l00401">401</a> of file <a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a>.</p>

<p>References <a class="el" href="GeodesicLine_8hpp_source.html#l00139">AZIMUTH</a>, <a class="el" href="GeodesicLine_8cpp_source.html#l00128">GenPosition()</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00127">LATITUDE</a>, and <a class="el" href="GeodesicLine_8hpp_source.html#l00132">LONGITUDE</a>.</p>

</div>
</div>
<a class="anchor" id="afdedfa0bc105dbe5de4c292115c7b7ae"></a><!-- doxytag: member="GeographicLib::GeodesicLine::ArcPosition" ref="afdedfa0bc105dbe5de4c292115c7b7ae" args="(real a12, real &amp;lat2, real &amp;lon2, real &amp;azi2, real &amp;s12) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GeographicLib::GeodesicLine::ArcPosition </td>
          <td>(</td>
          <td class="paramtype">real&nbsp;</td>
          <td class="paramname"> <em>a12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lat2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lon2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>azi2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>s12</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>See the documentation for <a class="el" href="classGeographicLib_1_1GeodesicLine.html#a9270eecb58eaac3115a5f08879990482">GeodesicLine::ArcPosition</a>. </p>

<p>Definition at line <a class="el" href="GeodesicLine_8hpp_source.html#l00413">413</a> of file <a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a>.</p>

<p>References <a class="el" href="GeodesicLine_8hpp_source.html#l00139">AZIMUTH</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00144">DISTANCE</a>, <a class="el" href="GeodesicLine_8cpp_source.html#l00128">GenPosition()</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00127">LATITUDE</a>, and <a class="el" href="GeodesicLine_8hpp_source.html#l00132">LONGITUDE</a>.</p>

</div>
</div>
<a class="anchor" id="ad6b2013f9dcde3f4bf867632f6a2d1ff"></a><!-- doxytag: member="GeographicLib::GeodesicLine::ArcPosition" ref="ad6b2013f9dcde3f4bf867632f6a2d1ff" args="(real a12, real &amp;lat2, real &amp;lon2, real &amp;azi2, real &amp;s12, real &amp;m12) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GeographicLib::GeodesicLine::ArcPosition </td>
          <td>(</td>
          <td class="paramtype">real&nbsp;</td>
          <td class="paramname"> <em>a12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lat2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lon2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>azi2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>s12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>m12</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>See the documentation for <a class="el" href="classGeographicLib_1_1GeodesicLine.html#a9270eecb58eaac3115a5f08879990482">GeodesicLine::ArcPosition</a>. </p>

<p>Definition at line <a class="el" href="GeodesicLine_8hpp_source.html#l00424">424</a> of file <a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a>.</p>

<p>References <a class="el" href="GeodesicLine_8hpp_source.html#l00139">AZIMUTH</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00144">DISTANCE</a>, <a class="el" href="GeodesicLine_8cpp_source.html#l00128">GenPosition()</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00127">LATITUDE</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00132">LONGITUDE</a>, and <a class="el" href="GeodesicLine_8hpp_source.html#l00155">REDUCEDLENGTH</a>.</p>

</div>
</div>
<a class="anchor" id="a2e0249a548d2dd9c882cb4a8de17d8eb"></a><!-- doxytag: member="GeographicLib::GeodesicLine::ArcPosition" ref="a2e0249a548d2dd9c882cb4a8de17d8eb" args="(real a12, real &amp;lat2, real &amp;lon2, real &amp;azi2, real &amp;s12, real &amp;M12, real &amp;M21) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GeographicLib::GeodesicLine::ArcPosition </td>
          <td>(</td>
          <td class="paramtype">real&nbsp;</td>
          <td class="paramname"> <em>a12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lat2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lon2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>azi2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>s12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>M12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>M21</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>See the documentation for <a class="el" href="classGeographicLib_1_1GeodesicLine.html#a9270eecb58eaac3115a5f08879990482">GeodesicLine::ArcPosition</a>. </p>

<p>Definition at line <a class="el" href="GeodesicLine_8hpp_source.html#l00436">436</a> of file <a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a>.</p>

<p>References <a class="el" href="GeodesicLine_8hpp_source.html#l00139">AZIMUTH</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00144">DISTANCE</a>, <a class="el" href="GeodesicLine_8cpp_source.html#l00128">GenPosition()</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00160">GEODESICSCALE</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00127">LATITUDE</a>, and <a class="el" href="GeodesicLine_8hpp_source.html#l00132">LONGITUDE</a>.</p>

</div>
</div>
<a class="anchor" id="af286d2071bdc59e68046dd2557115f21"></a><!-- doxytag: member="GeographicLib::GeodesicLine::ArcPosition" ref="af286d2071bdc59e68046dd2557115f21" args="(real a12, real &amp;lat2, real &amp;lon2, real &amp;azi2, real &amp;s12, real &amp;m12, real &amp;M12, real &amp;M21) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GeographicLib::GeodesicLine::ArcPosition </td>
          <td>(</td>
          <td class="paramtype">real&nbsp;</td>
          <td class="paramname"> <em>a12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lat2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lon2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>azi2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>s12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>m12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>M12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>M21</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>See the documentation for <a class="el" href="classGeographicLib_1_1GeodesicLine.html#a9270eecb58eaac3115a5f08879990482">GeodesicLine::ArcPosition</a>. </p>

<p>Definition at line <a class="el" href="GeodesicLine_8hpp_source.html#l00449">449</a> of file <a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a>.</p>

<p>References <a class="el" href="GeodesicLine_8hpp_source.html#l00139">AZIMUTH</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00144">DISTANCE</a>, <a class="el" href="GeodesicLine_8cpp_source.html#l00128">GenPosition()</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00160">GEODESICSCALE</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00127">LATITUDE</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00132">LONGITUDE</a>, and <a class="el" href="GeodesicLine_8hpp_source.html#l00155">REDUCEDLENGTH</a>.</p>

</div>
</div>
<a class="anchor" id="ad9522110fe6a5a0c7f912a6b1a23094d"></a><!-- doxytag: member="GeographicLib::GeodesicLine::GenPosition" ref="ad9522110fe6a5a0c7f912a6b1a23094d" args="(bool arcmode, real s12_a12, unsigned outmask, real &amp;lat2, real &amp;lon2, real &amp;azi2, real &amp;s12, real &amp;m12, real &amp;M12, real &amp;M21, real &amp;S12) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> GeographicLib::GeodesicLine::GenPosition </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>arcmode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real&nbsp;</td>
          <td class="paramname"> <em>s12_a12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned&nbsp;</td>
          <td class="paramname"> <em>outmask</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lat2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lon2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>azi2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>s12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>m12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>M12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>M21</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>S12</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const  throw ()</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The general position function. <a class="el" href="classGeographicLib_1_1GeodesicLine.html#ac9843cbfff45e8163b78e184a3126d82">GeodesicLine::Position</a> and <a class="el" href="classGeographicLib_1_1GeodesicLine.html#a9270eecb58eaac3115a5f08879990482">GeodesicLine::ArcPosition</a> are defined in terms of this function.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>arcmode</em>&nbsp;</td><td>boolean flag determining the meaning of the second parameter; if arcmode is false, then the <a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a> object must have been constructed with <em>caps</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca7929baa71a65e8399073f67382e4d0bc">GeodesicLine::DISTANCE_IN</a>. </td></tr>
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>s12_a12</em>&nbsp;</td><td>if <em>arcmode</em> is false, this is the distance between point 1 and point 2 (meters); otherwise it is the arc length between point 1 and point 2 (degrees); it can be signed. </td></tr>
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>outmask</em>&nbsp;</td><td>a bitor'ed combination of <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcc">GeodesicLine::mask</a> values specifying which of the following parameters should be set. </td></tr>
    <tr><td valign="top"><tt>[out]</tt>&nbsp;</td><td valign="top"><em>lat2</em>&nbsp;</td><td>latitude of point 2 (degrees). </td></tr>
    <tr><td valign="top"><tt>[out]</tt>&nbsp;</td><td valign="top"><em>lon2</em>&nbsp;</td><td>longitude of point 2 (degrees); requires that the <a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a> object was constructed with <em>caps</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbccac41b1e2e1d73c8d323f92b94e57a0cc9">GeodesicLine::LONGITUDE</a>. </td></tr>
    <tr><td valign="top"><tt>[out]</tt>&nbsp;</td><td valign="top"><em>azi2</em>&nbsp;</td><td>(forward) azimuth at point 2 (degrees). </td></tr>
    <tr><td valign="top"><tt>[out]</tt>&nbsp;</td><td valign="top"><em>s12</em>&nbsp;</td><td>distance between point 1 and point 2 (meters); requires that the <a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a> object was constructed with <em>caps</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca6d8b294c13e0495120b9bfd6a9281184">GeodesicLine::DISTANCE</a>. </td></tr>
    <tr><td valign="top"><tt>[out]</tt>&nbsp;</td><td valign="top"><em>m12</em>&nbsp;</td><td>reduced length of geodesic (meters); requires that the <a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a> object was constructed with <em>caps</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbccab6649103de9393f5f18a5d2e44624411">GeodesicLine::REDUCEDLENGTH</a>. </td></tr>
    <tr><td valign="top"><tt>[out]</tt>&nbsp;</td><td valign="top"><em>M12</em>&nbsp;</td><td>geodesic scale of point 2 relative to point 1 (dimensionless); requires that the <a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a> object was constructed with <em>caps</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca74f896572150d24be4667cf66ed696a6">GeodesicLine::GEODESICSCALE</a>. </td></tr>
    <tr><td valign="top"><tt>[out]</tt>&nbsp;</td><td valign="top"><em>M21</em>&nbsp;</td><td>geodesic scale of point 1 relative to point 2 (dimensionless); requires that the <a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a> object was constructed with <em>caps</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca74f896572150d24be4667cf66ed696a6">GeodesicLine::GEODESICSCALE</a>. </td></tr>
    <tr><td valign="top"><tt>[out]</tt>&nbsp;</td><td valign="top"><em>S12</em>&nbsp;</td><td>area under the geodesic (meters<sup>2</sup>); requires that the <a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a> object was constructed with <em>caps</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca71c623894b3e6bb0864f3da89d1a1915">GeodesicLine::AREA</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><em>a12</em> arc length of between point 1 and point 2 (degrees).</dd></dl>
<p>The <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcc">GeodesicLine::mask</a> values possible for <em>outmask</em> are</p>
<ul>
<li><em>outmask</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca34e259b158b7fa5441e91d32eae20c23">GeodesicLine::LATITUDE</a> for the latitude <em>lat2</em>.</li>
<li><em>outmask</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbccac41b1e2e1d73c8d323f92b94e57a0cc9">GeodesicLine::LONGITUDE</a> for the latitude <em>lon2</em>.</li>
<li><em>outmask</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca654b16d956cdd16a70605a6b54a1228e">GeodesicLine::AZIMUTH</a> for the latitude <em>azi2</em>.</li>
<li><em>outmask</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca6d8b294c13e0495120b9bfd6a9281184">GeodesicLine::DISTANCE</a> for the distance <em>s12</em>.</li>
<li><em>outmask</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbccab6649103de9393f5f18a5d2e44624411">GeodesicLine::REDUCEDLENGTH</a> for the reduced length <em>m12</em>.</li>
<li><em>outmask</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca74f896572150d24be4667cf66ed696a6">GeodesicLine::GEODESICSCALE</a> for the geodesic scales <em>M12</em> and <em>M21</em>.</li>
<li><em>outmask</em> |= <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcca71c623894b3e6bb0864f3da89d1a1915">GeodesicLine::AREA</a> for the area <em>S12</em>.</li>
</ul>
<p>Requesting a value which the <a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a> object is not capable of computing is not an error; the corresponding argument will not be altered. Note, however, that the arc length is always computed and returned as the function value. </p>

<p>Definition at line <a class="el" href="GeodesicLine_8cpp_source.html#l00128">128</a> of file <a class="el" href="GeodesicLine_8cpp_source.html">GeodesicLine.cpp</a>.</p>

<p>Referenced by <a class="el" href="GeodesicLine_8hpp_source.html#l00378">ArcPosition()</a>, and <a class="el" href="GeodesicLine_8hpp_source.html#l00267">Position()</a>.</p>

</div>
</div>
<a class="anchor" id="af7e248d7632f56cf7abc6eac4927a587"></a><!-- doxytag: member="GeographicLib::GeodesicLine::Init" ref="af7e248d7632f56cf7abc6eac4927a587" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool GeographicLib::GeodesicLine::Init </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>true if the object has been initialized. </dd></dl>

<p>Definition at line <a class="el" href="GeodesicLine_8hpp_source.html#l00528">528</a> of file <a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a>.</p>

<p>Referenced by <a class="el" href="GeodesicLine_8hpp_source.html#l00543">Azimuth()</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00557">EquatorialArc()</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00549">EquatorialAzimuth()</a>, <a class="el" href="CassiniSoldner_8hpp_source.html#l00196">GeographicLib::CassiniSoldner::Init()</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00572">InverseFlattening()</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00533">Latitude()</a>, <a class="el" href="GeodesicLine_8hpp_source.html#l00538">Longitude()</a>, and <a class="el" href="GeodesicLine_8hpp_source.html#l00565">MajorRadius()</a>.</p>

</div>
</div>
<a class="anchor" id="a00a291e94d0c688a168a58623a360659"></a><!-- doxytag: member="GeographicLib::GeodesicLine::Latitude" ref="a00a291e94d0c688a168a58623a360659" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> GeographicLib::GeodesicLine::Latitude </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd><em>lat1</em> the latitude of point 1 (degrees). </dd></dl>

<p>Definition at line <a class="el" href="GeodesicLine_8hpp_source.html#l00533">533</a> of file <a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a>.</p>

<p>References <a class="el" href="GeodesicLine_8hpp_source.html#l00528">Init()</a>.</p>

<p>Referenced by <a class="el" href="CassiniSoldner_8hpp_source.html#l00201">GeographicLib::CassiniSoldner::LatitudeOrigin()</a>.</p>

</div>
</div>
<a class="anchor" id="ac567ccf20c683319370f4c747f23966a"></a><!-- doxytag: member="GeographicLib::GeodesicLine::Longitude" ref="ac567ccf20c683319370f4c747f23966a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> GeographicLib::GeodesicLine::Longitude </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd><em>lon1</em> the longitude of point 1 (degrees). </dd></dl>

<p>Definition at line <a class="el" href="GeodesicLine_8hpp_source.html#l00538">538</a> of file <a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a>.</p>

<p>References <a class="el" href="GeodesicLine_8hpp_source.html#l00528">Init()</a>.</p>

<p>Referenced by <a class="el" href="CassiniSoldner_8hpp_source.html#l00207">GeographicLib::CassiniSoldner::LongitudeOrigin()</a>.</p>

</div>
</div>
<a class="anchor" id="a40707b9e989c95418b2559b271cc2699"></a><!-- doxytag: member="GeographicLib::GeodesicLine::Azimuth" ref="a40707b9e989c95418b2559b271cc2699" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> GeographicLib::GeodesicLine::Azimuth </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd><em>azi1</em> the azimuth (degrees) of the geodesic line at point 1. </dd></dl>

<p>Definition at line <a class="el" href="GeodesicLine_8hpp_source.html#l00543">543</a> of file <a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a>.</p>

<p>References <a class="el" href="GeodesicLine_8hpp_source.html#l00528">Init()</a>.</p>

</div>
</div>
<a class="anchor" id="ad117912c4fc4ef29bf4050c9be3267f2"></a><!-- doxytag: member="GeographicLib::GeodesicLine::EquatorialAzimuth" ref="ad117912c4fc4ef29bf4050c9be3267f2" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> GeographicLib::GeodesicLine::EquatorialAzimuth </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd><em>azi0</em> the azimuth (degrees) of the geodesic line as it crosses the equator in a northward direction. </dd></dl>

<p>Definition at line <a class="el" href="GeodesicLine_8hpp_source.html#l00549">549</a> of file <a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a>.</p>

<p>References <a class="el" href="GeodesicLine_8hpp_source.html#l00528">Init()</a>.</p>

</div>
</div>
<a class="anchor" id="a308c7fb4f7c562a8c604453bf2ee2ca2"></a><!-- doxytag: member="GeographicLib::GeodesicLine::EquatorialArc" ref="a308c7fb4f7c562a8c604453bf2ee2ca2" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> GeographicLib::GeodesicLine::EquatorialArc </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd><em>a1</em> the arc length (degrees) between the northward equatorial crossing and point 1. </dd></dl>

<p>Definition at line <a class="el" href="GeodesicLine_8hpp_source.html#l00557">557</a> of file <a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a>.</p>

<p>References <a class="el" href="GeodesicLine_8hpp_source.html#l00528">Init()</a>.</p>

</div>
</div>
<a class="anchor" id="af8953029b9985a3929fe406f7530143b"></a><!-- doxytag: member="GeographicLib::GeodesicLine::MajorRadius" ref="af8953029b9985a3929fe406f7530143b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> GeographicLib::GeodesicLine::MajorRadius </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd><em>a</em> the equatorial radius of the ellipsoid (meters). This is the value inherited from the <a class="el" href="classGeographicLib_1_1Geodesic.html" title="Geodesic calculations">Geodesic</a> object used in the constructor. </dd></dl>

<p>Definition at line <a class="el" href="GeodesicLine_8hpp_source.html#l00565">565</a> of file <a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a>.</p>

<p>References <a class="el" href="GeodesicLine_8hpp_source.html#l00528">Init()</a>.</p>

</div>
</div>
<a class="anchor" id="ad0d59a47c24d11229ab7ce4363d525ea"></a><!-- doxytag: member="GeographicLib::GeodesicLine::InverseFlattening" ref="ad0d59a47c24d11229ab7ce4363d525ea" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> GeographicLib::GeodesicLine::InverseFlattening </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd><em>r</em> the inverse flattening of the ellipsoid. This is the value inherited from the <a class="el" href="classGeographicLib_1_1Geodesic.html" title="Geodesic calculations">Geodesic</a> object used in the constructor. A value of 0 is returned for a sphere (infinite inverse flattening). </dd></dl>

<p>Definition at line <a class="el" href="GeodesicLine_8hpp_source.html#l00572">572</a> of file <a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a>.</p>

<p>References <a class="el" href="GeodesicLine_8hpp_source.html#l00528">Init()</a>.</p>

</div>
</div>
<a class="anchor" id="a21d07549d1171ad05c7318533c4c8970"></a><!-- doxytag: member="GeographicLib::GeodesicLine::Capabilities" ref="a21d07549d1171ad05c7318533c4c8970" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned GeographicLib::GeodesicLine::Capabilities </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd><em>caps</em> the computational capabilities that this object was constructed with. LATITUDE and AZIMUTH are always included. </dd></dl>

<p>Definition at line <a class="el" href="GeodesicLine_8hpp_source.html#l00578">578</a> of file <a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4e12366c2ce02e7a96ee778eedb55bf9"></a><!-- doxytag: member="GeographicLib::GeodesicLine::Capabilities" ref="a4e12366c2ce02e7a96ee778eedb55bf9" args="(unsigned testcaps) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool GeographicLib::GeodesicLine::Capabilities </td>
          <td>(</td>
          <td class="paramtype">unsigned&nbsp;</td>
          <td class="paramname"> <em>testcaps</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>testcaps</em>&nbsp;</td><td>a set of bitor'ed <a class="el" href="classGeographicLib_1_1GeodesicLine.html#adeec76cf92a8c30770e1199bdadacbcc">GeodesicLine::mask</a> values. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if the <a class="el" href="classGeographicLib_1_1GeodesicLine.html" title="A geodesic line.">GeodesicLine</a> object has all these capabilities. </dd></dl>

<p>Definition at line <a class="el" href="GeodesicLine_8hpp_source.html#l00584">584</a> of file <a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad8d77b7453ecae1567fc318966f7961f"></a><!-- doxytag: member="GeographicLib::GeodesicLine::Position" ref="ad8d77b7453ecae1567fc318966f7961f" args="(real s12, real &amp;lat2, real &amp;lon2, real &amp;azi2, real &amp;m12, bool arcmode) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGeographicLib_1_1Math.html#aeee4778d7cf2f9fb9648efe4911da59d">Math::real</a> GeographicLib::GeodesicLine::Position </td>
          <td>(</td>
          <td class="paramtype">real&nbsp;</td>
          <td class="paramname"> <em>s12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lat2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>lon2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>azi2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>m12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>arcmode</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p><b>DEPRECATED</b>. Return the latitude, <em>lat2</em>, longitude, <em>lon2</em>, and forward azimuth, <em>azi2</em> (degrees) of the point 2 which is a distance, <em>s12</em> (in meters), from point 1. Also return the reduced length <em>m12</em> (meters). <em>s12</em> can be signed. If <em>arcmode</em> (default false) is set to true, <em>s12</em> is interpreted as the arc length <em>a12</em> (in degrees) on the auxiliary sphere. Returned value is the arc length <em>a12</em> (degrees) if <em>arcmode</em> is false, otherwise it is the distance <em>s12</em> (meters). </p>

<p>Definition at line <a class="el" href="GeodesicLine_8hpp_source.html#l00604">604</a> of file <a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a>.</p>

<p>References <a class="el" href="GeodesicLine_8hpp_source.html#l00378">ArcPosition()</a>, and <a class="el" href="GeodesicLine_8hpp_source.html#l00267">Position()</a>.</p>

</div>
</div>
<a class="anchor" id="a681434e9e50876320e6a854744fba692"></a><!-- doxytag: member="GeographicLib::GeodesicLine::Scale" ref="a681434e9e50876320e6a854744fba692" args="(real a12, real &amp;M12, real &amp;M21) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GeographicLib::GeodesicLine::Scale </td>
          <td>(</td>
          <td class="paramtype">real&nbsp;</td>
          <td class="paramname"> <em>a12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>M12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real &amp;&nbsp;</td>
          <td class="paramname"> <em>M21</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p><b>DEPRECATED</b>. Return the scale of the geodesic line extending an arc length <em>a12</em> (degrees) from point 1 to point 2. <em>M12</em> (a number) measures the convergence of initially parallel geodesics. It is defined by the following construction: starting at point 1 proceed at azimuth <em>azi1</em> + 90<sup>o</sup> a small distance <em>dt</em>; turn -90<sup>o</sup> and proceed a distance <em>s12</em> (<em>not</em> the arc length <em>a12</em>); the distance to point 2 is given by <em>M12</em> <em>dt</em>. <em>M21</em> is defined analogously. </p>

<p>Definition at line <a class="el" href="GeodesicLine_8hpp_source.html#l00624">624</a> of file <a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a>.</p>

<p>References <a class="el" href="GeodesicLine_8hpp_source.html#l00378">ArcPosition()</a>.</p>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a088c26ef9558197029bbeb317f3104c0"></a><!-- doxytag: member="GeographicLib::GeodesicLine::Geodesic" ref="a088c26ef9558197029bbeb317f3104c0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="classGeographicLib_1_1Geodesic.html">Geodesic</a><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="GeodesicLine_8hpp_source.html#l00081">81</a> of file <a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="GeodesicLine_8hpp_source.html">GeodesicLine.hpp</a></li>
<li><a class="el" href="GeodesicLine_8cpp_source.html">GeodesicLine.cpp</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Tue Feb 22 2011 for GeographicLib by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>