/usr/share/doc/geographiclib/html/Constants_8hpp.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 | <!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: Constants.hpp File 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 Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><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="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>File Members</span></a></li>
</ul>
</div>
<div class="navpath">
<ul>
<li><a class="el" href="dir_f624aa4962e92581e36e10adf24cfc84.html">include</a> </li>
<li><a class="el" href="dir_0f324d7550514966066ff24c6d4b8a42.html">GeographicLib</a> </li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> |
<a href="#namespaces">Namespaces</a> |
<a href="#define-members">Defines</a> </div>
<div class="headertitle">
<h1>Constants.hpp File Reference</h1> </div>
</div>
<div class="contents">
<p>Header for <a class="el" href="classGeographicLib_1_1Constants.html" title="Constants needed by GeographicLib">GeographicLib::Constants</a> class.
<a href="#_details">More...</a></p>
<code>#include <cmath></code><br/>
<code>#include <limits></code><br/>
<code>#include <algorithm></code><br/>
<code>#include <stdexcept></code><br/>
<p><a href="Constants_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1Math.html">GeographicLib::Math</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Mathematical functions needed by GeographicLib. <a href="classGeographicLib_1_1Math.html#_details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1Constants.html">GeographicLib::Constants</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constants needed by GeographicLib <a href="classGeographicLib_1_1Constants.html#_details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classGeographicLib_1_1GeographicErr.html">GeographicLib::GeographicErr</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Exception handling for GeographicLib <a href="classGeographicLib_1_1GeographicErr.html#_details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGeographicLib.html">GeographicLib</a></td></tr>
<p><tr><td class="mdescLeft"> </td><td class="mdescRight"><p>Namespace for GeographicLib. </p>
<br/></td></tr>
</p>
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="Constants_8hpp.html#a16d93570265d8037f7dc7d5d026b2aa4">GEOGRAPHICLIB_CONSTANTS_HPP</a> "$Id: Constants.hpp 6967 2011-02-19 15:53:41Z karney $"</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="Constants_8hpp.html#a6cdc2f4c764d4116788cc5c24625e75d">GEOGRAPHICLIB_CPLUSPLUS0X_MATH</a> 0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="Constants_8hpp.html#a8f24445c1bccd69b63e365aa5d5bb129">STATIC_ASSERT</a>(cond, reason) { enum{ STATIC_ASSERT_ENUM=1/int(cond) }; }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="Constants_8hpp.html#af90fa899707a2ac513d5e4c76853bbf5">RCSID_DECL</a>(x) namespace { char VAR_ ## x [] = x; }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="Constants_8hpp.html#a8df061fdb3d6e90d150d4fdd749f96b1">GEOGRAPHICLIB_PREC</a> 1</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Header for <a class="el" href="classGeographicLib_1_1Constants.html" title="Constants needed by GeographicLib">GeographicLib::Constants</a> class. </p>
<p>Copyright (c) Charles Karney (2008, 2009, 2010, 2011) <<a href="mailto:charles@karney.com">charles@karney.com</a>> and licensed under the LGPL. For more information, see <a href="http://geographiclib.sourceforge.net/">http://geographiclib.sourceforge.net/</a> </p>
<p>Definition in file <a class="el" href="Constants_8hpp_source.html">Constants.hpp</a>.</p>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="a16d93570265d8037f7dc7d5d026b2aa4"></a><!-- doxytag: member="Constants.hpp::GEOGRAPHICLIB_CONSTANTS_HPP" ref="a16d93570265d8037f7dc7d5d026b2aa4" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define GEOGRAPHICLIB_CONSTANTS_HPP "$Id: Constants.hpp 6967 2011-02-19 15:53:41Z karney $"</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="Constants_8hpp_source.html#l00011">11</a> of file <a class="el" href="Constants_8hpp_source.html">Constants.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a6cdc2f4c764d4116788cc5c24625e75d"></a><!-- doxytag: member="Constants.hpp::GEOGRAPHICLIB_CPLUSPLUS0X_MATH" ref="a6cdc2f4c764d4116788cc5c24625e75d" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define GEOGRAPHICLIB_CPLUSPLUS0X_MATH 0</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Are C++0X math functions available? </p>
<p>Definition at line <a class="el" href="Constants_8hpp_source.html#l00020">20</a> of file <a class="el" href="Constants_8hpp_source.html">Constants.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a8f24445c1bccd69b63e365aa5d5bb129"></a><!-- doxytag: member="Constants.hpp::STATIC_ASSERT" ref="a8f24445c1bccd69b63e365aa5d5bb129" args="(cond, reason)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define STATIC_ASSERT</td>
<td>(</td>
<td class="paramtype"> </td>
<td class="paramname">cond, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"> </td>
<td class="paramname">reason</td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> { enum{ STATIC_ASSERT_ENUM=1/int(cond) }; }</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>A compile-time assert. Use C++0X static_assert, if available. </p>
<p>Definition at line <a class="el" href="Constants_8hpp_source.html#l00033">33</a> of file <a class="el" href="Constants_8hpp_source.html">Constants.hpp</a>.</p>
<p>Referenced by <a class="el" href="TransverseMercator_8cpp_source.html#l00059">GeographicLib::TransverseMercator::TransverseMercator()</a>.</p>
</div>
</div>
<a class="anchor" id="af90fa899707a2ac513d5e4c76853bbf5"></a><!-- doxytag: member="Constants.hpp::RCSID_DECL" ref="af90fa899707a2ac513d5e4c76853bbf5" args="(x)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define RCSID_DECL</td>
<td>(</td>
<td class="paramtype"> </td>
<td class="paramname">x</td>
<td> ) </td>
<td> namespace { char VAR_ ## x [] = x; }</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Insertion of RCS Id strings into the object file. </p>
<p>Definition at line <a class="el" href="Constants_8hpp_source.html#l00045">45</a> of file <a class="el" href="Constants_8hpp_source.html">Constants.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="a8df061fdb3d6e90d150d4fdd749f96b1"></a><!-- doxytag: member="Constants.hpp::GEOGRAPHICLIB_PREC" ref="a8df061fdb3d6e90d150d4fdd749f96b1" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define GEOGRAPHICLIB_PREC 1</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The precision of floating point numbers used in GeographicLib. 0 means float; 1 (default) means double; 2 means long double. Nearly all the testing has been carried out with doubles and that's the recommended configuration. Note that with Microsoft Visual Studio, long double is the same as double. </p>
<p>Definition at line <a class="el" href="Constants_8hpp_source.html#l00058">58</a> of file <a class="el" href="Constants_8hpp_source.html">Constants.hpp</a>.</p>
</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Tue Feb 22 2011 for GeographicLib by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>
|