This file is indexed.

/usr/share/doc/geographiclib/html/other.html is in geographiclib-doc 1.49-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
<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GeographicLib: Implementations in other languages</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="/usr/share/javascript/mathjax/MathJax.js/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">GeographicLib
   &#160;<span id="projectnumber">1.49</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">Implementations in other languages </div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><center> Back to <a class="el" href="organization.html">Code organization</a>. Forward to <a class="el" href="geoid.html">Geoid height</a>. Up to <a class="el" href="index.html#contents">Contents</a>. </center><p>Various subsets of <a class="el" href="namespaceGeographicLib.html" title="Namespace for GeographicLib. ">GeographicLib</a> have been implemented in other languages. In some cases, these are available as independent packages. Here is a summary:</p><ul>
<li>C (geodesic routines): <a href="C/index.html">documentation</a>, also included with recent versions of <a href="http://proj.org">proj.4</a>;</li>
<li>Fortran (geodesic routines): <a href="Fortran/index.html">documentation</a>;</li>
<li>Java (geodesic routines): <a href="https://repo1.maven.org/maven2/net/sf/geographiclib/GeographicLib-Java/">Maven Central package</a>, <a href="java/index.html">documentation</a>;</li>
<li>JavaScript (geodesic routines): <a href="https://www.npmjs.com/package/geographiclib">npm package</a>, <a href="js/index.html">documentation</a>;</li>
<li>Python (geodesic routines): <a href="https://pypi.python.org/pypi/geographiclib">PyPI package</a>, <a href="python/index.html">documentation</a>;</li>
<li>MATLAB/Octave (geodesic and some other routines): <a href="https://www.mathworks.com/matlabcentral/fileexchange/50605">MATLAB Central package</a>, <a href="https://www.mathworks.com/matlabcentral/fileexchange/50605/content/Contents.m">documentation</a>;</li>
<li>C# (.NET wrapper for C++ library): <a href="NET/index.html">documentation</a>.</li>
</ul>
<p>Some more details are available in the following sections</p><ul>
<li><a class="el" href="other.html#c-fortran">C and Fortran implementation</a></li>
<li><a class="el" href="other.html#java">Java implementation</a>.</li>
<li><a class="el" href="other.html#javascript">JavaScript implementation</a>.</li>
<li><a class="el" href="other.html#python">Python implementation</a>.</li>
<li><a class="el" href="other.html#matlab">MATLAB and Octave implementations</a>.</li>
<li><a class="el" href="other.html#dotnet">.NET wrapper</a>.</li>
<li><a class="el" href="other.html#maxima">Maxima routines</a>.</li>
</ul>
<h1><a class="anchor" id="c-fortran"></a>
C and Fortran implementation</h1>
<p>This includes the geodesic capabilities of <a class="el" href="namespaceGeographicLib.html" title="Namespace for GeographicLib. ">GeographicLib</a>. The source code is in the directories <code>legacy/C</code> and <code>legacy/Fortran</code>. These are intended for use in old codes written in these languages and should work any reasonably modern compiler. These implementations are entirely self-contained and do not depend on the rest of <a class="el" href="namespaceGeographicLib.html" title="Namespace for GeographicLib. ">GeographicLib</a>. Sample main programs to solve the direct and inverse geodesic problems and to compute polygonal areas are provided.</p>
<p>The C library is also included as part of <a href="http://proj.org">proj.4</a> starting with version 4.9.0, where it is used as the computational backend for <a href="https://github.com/OSGeo/proj.4/wiki/Mangeod">geod(1)</a>.</p>
<p>For documentation, see</p><ul>
<li><a href="C/index.html">C library for geodesics</a>,</li>
<li><a href="Fortran/index.html">Fortran library for geodesics</a>.</li>
</ul>
<p>It is also possible to call the C++ version of <a class="el" href="namespaceGeographicLib.html" title="Namespace for GeographicLib. ">GeographicLib</a> directly from C and the directory <code>wrapper/C</code> contains a small example, which converts heights above the geoid to heights above the ellipsoid.</p>
<h1><a class="anchor" id="java"></a>
Java implementation</h1>
<p>This includes the geodesic capabilities of <a class="el" href="namespaceGeographicLib.html" title="Namespace for GeographicLib. ">GeographicLib</a>. The source code is in the directory <code>java</code>. This implementation is entirely self-contained and does not depend on the rest of <a class="el" href="namespaceGeographicLib.html" title="Namespace for GeographicLib. ">GeographicLib</a>. Sample main programs to solve the direct and inverse geodesic problems and to compute polygonal areas are provided.</p>
<p>This package is available on Maven Central; so if you're using Apache Maven as your build system, you can use this package by including the dependency</p><pre class="fragment">  &lt;dependency&gt;
    &lt;groupId&gt;net.sf.geographiclib&lt;/groupId&gt;
    &lt;artifactId&gt;GeographicLib-Java&lt;/artifactId&gt;
    &lt;version&gt;1.46&lt;/version&gt;
  &lt;/dependency&gt;</pre><p> in your <code>pom.xml</code>.</p>
<p>For documentation, see</p><ul>
<li><a href="java/index.html">Java library for geodesics</a>.</li>
</ul>
<h1><a class="anchor" id="javascript"></a>
JavaScript implementation</h1>
<p>This includes the geodesic capabilities of <a class="el" href="namespaceGeographicLib.html" title="Namespace for GeographicLib. ">GeographicLib</a>. The source code is in the directory <code>js</code>. This implementation is entirely self-contained and does not depend on the rest of <a class="el" href="namespaceGeographicLib.html" title="Namespace for GeographicLib. ">GeographicLib</a>.</p>
<p>The library is available as an <a href="https://www.npmjs.com/package/geographiclib">npm package</a>. To install this package, use</p><pre class="fragment">  npm install geographiclib </pre><p>For documentation, see</p><ul>
<li><a href="js/index.html">JavaScript library for geodesics</a>.</li>
</ul>
<p>Examples of using this interface are</p><ul>
<li>a <a href="../scripts/geod-calc.html">geodesic calculator</a> showing the solution of direct and inverse geodesic problem, finding intermediate points on a geodesic line, and computing the area of a geodesic polygon;</li>
<li><a href="../scripts/geod-google.html">displaying geodesics in Google Maps</a> which shows the geodesic, the geodesic circle, and various geodesic envelopes.</li>
</ul>
<h1><a class="anchor" id="python"></a>
Python implementation</h1>
<p>This includes the geodesic capabilities of <a class="el" href="namespaceGeographicLib.html" title="Namespace for GeographicLib. ">GeographicLib</a>. The source code is in the directory <code>python</code>. This implementation is entirely self-contained and does not depend on the rest of <a class="el" href="namespaceGeographicLib.html" title="Namespace for GeographicLib. ">GeographicLib</a>.</p>
<p>The library is available as an <a href="https://pypi.python.org/pypi/geographiclib">PyPI package</a>. To install this package, use</p><pre class="fragment">  pip install geographiclib </pre><p>For documentation, see</p><ul>
<li><a href="python/index.html">Python library for geodesics</a>.</li>
</ul>
<p>It is also possible to call the C++ version of <a class="el" href="namespaceGeographicLib.html" title="Namespace for GeographicLib. ">GeographicLib</a> directly from Python and the directory <code>wrapper/python</code> contains a small example, which converts heights above the geoid to heights above the ellipsoid.</p>
<h1><a class="anchor" id="matlab"></a>
MATLAB and Octave implementations</h1>
<p>The includes the geodesic capabilities of <a class="el" href="namespaceGeographicLib.html" title="Namespace for GeographicLib. ">GeographicLib</a> and implementations of the <a class="el" href="classGeographicLib_1_1TransverseMercator.html" title="Transverse Mercator projection. ">TransverseMercator</a>, <a class="el" href="classGeographicLib_1_1PolarStereographic.html" title="Polar stereographic projection. ">PolarStereographic</a>, <a class="el" href="classGeographicLib_1_1AzimuthalEquidistant.html" title="Azimuthal equidistant projection. ">AzimuthalEquidistant</a>, <a class="el" href="classGeographicLib_1_1CassiniSoldner.html" title="Cassini-Soldner projection. ">CassiniSoldner</a>, <a class="el" href="classGeographicLib_1_1Gnomonic.html" title="Gnomonic projection ">Gnomonic</a>, <a class="el" href="classGeographicLib_1_1UTMUPS.html" title="Convert between geographic coordinates and UTM/UPS. ">UTMUPS</a>, <a class="el" href="classGeographicLib_1_1MGRS.html" title="Convert between UTM/UPS and MGRS. ">MGRS</a>, <a class="el" href="classGeographicLib_1_1Geocentric.html" title="Geocentric coordinates ">Geocentric</a>, and <a class="el" href="classGeographicLib_1_1LocalCartesian.html" title="Local cartesian coordinates. ">LocalCartesian</a> classes. In addition, it includes solutions of the direct, inverse, and area problems for <a class="el" href="greatellipse.html">Great Ellipses</a>. Because these functions are all vectorized, their performance is comparable to the C++ routines. The minimum version numbers required are</p><ul>
<li>MATLAB, version 7.9, 2009b,</li>
<li>Octave, version 3.4, Feb. 2011.</li>
</ul>
<p>In addition, in order to use the geoid routines, Octave needs to have been built with a version of GraphicsMagick which supports 16-bit images. The source code is in the directory <code>matlab/geographiclib</code>. This implementation is entirely self-contained and does not depend on the rest of <a class="el" href="namespaceGeographicLib.html" title="Namespace for GeographicLib. ">GeographicLib</a>.</p>
<p>The library is available as an MATLAB Central package, <a href="https://www.mathworks.com/matlabcentral/fileexchange/50605">GeographicLib toolbox</a>.</p>
<p>A summary of the routines is obtained by</p><pre class="fragment">   help geographiclib </pre><p>Prior to version 1.42, <a class="el" href="namespaceGeographicLib.html" title="Namespace for GeographicLib. ">GeographicLib</a> was distributed with some MATLAB functionality offered via compiled interface code. This has now been replaced by native MATLAB wrapper functions in <code>matlab/geographiclib-legacy</code>; these depend on the <a href="https://www.mathworks.com/matlabcentral/fileexchange/50605">GeographicLib toolbox</a>. A summary of the routines is obtained by</p><pre class="fragment">   help geographiclib-legacy </pre><p>It is also possible to call the C++ version of <a class="el" href="namespaceGeographicLib.html" title="Namespace for GeographicLib. ">GeographicLib</a> directly from MATLAB or Octave and the directory <code>wrapper/matlab</code> contains a small example, which solves the inverse geodesic problem for ellipsoids with arbitrary flattening. (This example is taken from the MATLAB interface code which was provided prior to version 1.42.)</p>
<h1><a class="anchor" id="dotnet"></a>
.NET wrapper</h1>
<p>This is a comprehensive wrapper library, written and maintained by Scott Heiman, which exposes all of the functionality of <a class="el" href="namespaceGeographicLib.html" title="Namespace for GeographicLib. ">GeographicLib</a> to the .NET family of languages. For documentation, see</p><ul>
<li><a href="NET/index.html">NETGeographicLib .NET wrapper library</a>.</li>
</ul>
<h1><a class="anchor" id="maxima"></a>
Maxima routines</h1>
<p>Maxima is a free computer algebra system which can be downloaded from <a href="http://maxima.sourceforge.net">http://maxima.sourceforge.net</a>. Maxima was used to generate the series used by <a class="el" href="classGeographicLib_1_1TransverseMercator.html" title="Transverse Mercator projection. ">TransverseMercator</a> (<a href="tmseries.mac">tmseries.mac</a>), <a class="el" href="classGeographicLib_1_1Geodesic.html" title="Geodesic calculations ">Geodesic</a> (<a href="geod.mac">geod.mac</a>), <a class="el" href="classGeographicLib_1_1Rhumb.html" title="Solve of the direct and inverse rhumb problems. ">Rhumb</a> (<a href="rhumbarea.mac">rhumbarea.mac</a>), <a class="el" href="greatellipse.html#gearea">The area under a great ellipse</a> (<a href="gearea.mac">gearea.mac</a>), the relation between <a class="el" href="auxlat.html">Auxiliary latitudes</a> (<a href="auxlat.mac">auxlat.mac</a>), and to generate accurate data for testing (<a href="tm.mac">tm.mac</a> and <a href="geodesic.mac">geodesic.mac</a>). The latter uses Maxima's bigfloat arithmetic together with series extended to high order or solutions in terms of elliptic integrals (<a href="ellint.mac">ellint.mac</a>). These files contain brief instructions on how to use them.</p>
<center> Back to <a class="el" href="organization.html">Code organization</a>. Forward to <a class="el" href="geoid.html">Geoid height</a>. Up to <a class="el" href="index.html#contents">Contents</a>. </center> </div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>