geos_390_docs/DD_8h_source.html

79 lines
32 KiB
HTML
Raw Normal View History

2020-12-23 18:34:09 -08:00
<!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.11"/>
<title>GEOS: DD.h Source File</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>
<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">GEOS
&#160;<span id="projectnumber">3.9.1dev</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;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>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_0bc14b2fb119a11b6a0f32f4d350db61.html">geos</a></li><li class="navelem"><a class="el" href="dir_0aaf6d686f05540f7376cb30062cd3e1.html">math</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">DD.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="DD_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/**********************************************************************</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * GEOS - Geometry Engine Open Source</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * http://geos.osgeo.org</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * Copyright (C) 2020 Crunchy Data</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> * This is free software; you can redistribute and/or modify it under</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * the terms of the GNU Lesser General Public Licence as published</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * by the Free Software Foundation.</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * See the COPYING file for more information.</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> **********************************************************************/</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;<span class="preprocessor">#ifndef GEOS_MATH_DD_H</span></div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;<span class="preprocessor">#define GEOS_MATH_DD_H</span></div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;<span class="preprocessor">#include &lt;cmath&gt;</span></div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacegeos.html">geos</a> {</div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="namespacegeos_1_1math.html"> 99</a></span>&#160;<span class="keyword">namespace </span>math { <span class="comment">// geos.math</span></div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;</div><div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="classgeos_1_1math_1_1DD.html"> 108</a></span>&#160;<span class="keyword">class </span><a class="code" href="export_8h.html#ae36df939090171f6e9a28a8cb6254fea">GEOS_DLL</a> <a class="code" href="classgeos_1_1math_1_1DD.html">DD</a> {</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="classgeos_1_1math_1_1DD.html#a29f4e3f25af1b65eeb815ac18fa1053e"> 110</a></span>&#160; <span class="keyword">static</span> constexpr <span class="keywordtype">double</span> SPLIT = 134217729.0; <span class="comment">// 2^27+1, for IEEE double</span></div><div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="classgeos_1_1math_1_1DD.html#aaa59bf60d2fde07a68d9de0b
<div class="ttc" id="classgeos_1_1math_1_1DD_html_aaeb65cbdce4ce8253b75a1f27c4046f8"><div class="ttname"><a href="classgeos_1_1math_1_1DD.html#aaeb65cbdce4ce8253b75a1f27c4046f8">geos::math::DD::ToDouble</a></div><div class="ttdeci">double ToDouble() const </div><div class="ttdef"><b>Definition:</b> <a href="DD_8h_source.html#l00173">DD.h:173</a></div></div>
<div class="ttc" id="classgeos_1_1math_1_1DD_html_aaa59bf60d2fde07a68d9de0ba9726fa6"><div class="ttname"><a href="classgeos_1_1math_1_1DD.html#aaa59bf60d2fde07a68d9de0ba9726fa6">geos::math::DD::hi</a></div><div class="ttdeci">double hi</div><div class="ttdef"><b>Definition:</b> <a href="DD_8h_source.html#l00111">DD.h:111</a></div></div>
<div class="ttc" id="export_8h_html_ae36df939090171f6e9a28a8cb6254fea"><div class="ttname"><a href="export_8h.html#ae36df939090171f6e9a28a8cb6254fea">GEOS_DLL</a></div><div class="ttdeci">#define GEOS_DLL</div><div class="ttdef"><b>Definition:</b> <a href="export_8h_source.html#l00028">export.h:28</a></div></div>
<div class="ttc" id="classgeos_1_1math_1_1DD_html"><div class="ttname"><a href="classgeos_1_1math_1_1DD.html">geos::math::DD</a></div><div class="ttdoc">Wrapper for DoubleDouble higher precision mathematics operations. </div><div class="ttdef"><b>Definition:</b> <a href="DD_8h_source.html#l00108">DD.h:108</a></div></div>
<div class="ttc" id="classgeos_1_1math_1_1DD_html_a58fc925ca5d5c99a0eeff828ad2bc36b"><div class="ttname"><a href="classgeos_1_1math_1_1DD.html#a58fc925ca5d5c99a0eeff828ad2bc36b">geos::math::DD::operator&gt;</a></div><div class="ttdeci">bool operator&gt;(const DD &amp;rhs) const </div><div class="ttdef"><b>Definition:</b> <a href="DD_8h_source.html#l00143">DD.h:143</a></div></div>
<div class="ttc" id="classgeos_1_1math_1_1DD_html_a53dd84b6acc02072100ae1ea6d1c472d"><div class="ttname"><a href="classgeos_1_1math_1_1DD.html#a53dd84b6acc02072100ae1ea6d1c472d">geos::math::DD::DD</a></div><div class="ttdeci">DD()</div><div class="ttdef"><b>Definition:</b> <a href="DD_8h_source.html#l00121">DD.h:121</a></div></div>
<div class="ttc" id="classgeos_1_1math_1_1DD_html_abfaa5a874a136fe4e9559727011f42a2"><div class="ttname"><a href="classgeos_1_1math_1_1DD.html#abfaa5a874a136fe4e9559727011f42a2">geos::math::DD::lo</a></div><div class="ttdeci">double lo</div><div class="ttdef"><b>Definition:</b> <a href="DD_8h_source.html#l00112">DD.h:112</a></div></div>
<div class="ttc" id="classgeos_1_1math_1_1DD_html_ab8cb1204f17678c39147d187093ff51b"><div class="ttname"><a href="classgeos_1_1math_1_1DD.html#ab8cb1204f17678c39147d187093ff51b">geos::math::DD::operator==</a></div><div class="ttdeci">bool operator==(const DD &amp;rhs) const </div><div class="ttdef"><b>Definition:</b> <a href="DD_8h_source.html#l00123">DD.h:123</a></div></div>
<div class="ttc" id="classgeos_1_1math_1_1DD_html_a3533eeabcfcf0865f4a565fb35a8646f"><div class="ttname"><a href="classgeos_1_1math_1_1DD.html#a3533eeabcfcf0865f4a565fb35a8646f">geos::math::DD::operator!=</a></div><div class="ttdeci">bool operator!=(const DD &amp;rhs) const </div><div class="ttdef"><b>Definition:</b> <a href="DD_8h_source.html#l00128">DD.h:128</a></div></div>
<div class="ttc" id="namespacegeos_html"><div class="ttname"><a href="namespacegeos.html">geos</a></div><div class="ttdoc">Basic namespace for all GEOS functionalities. </div><div class="ttdef"><b>Definition:</b> <a href="IndexedNestedRingTester_8h_source.html#l00026">IndexedNestedRingTester.h:26</a></div></div>
<div class="ttc" id="classgeos_1_1math_1_1DD_html_a9eacf68ff929f10bfe2be37b43af3881"><div class="ttname"><a href="classgeos_1_1math_1_1DD.html#a9eacf68ff929f10bfe2be37b43af3881">geos::math::DD::operator&lt;=</a></div><div class="ttdeci">bool operator&lt;=(const DD &amp;rhs) const </div><div class="ttdef"><b>Definition:</b> <a href="DD_8h_source.html#l00138">DD.h:138</a></div></div>
<div class="ttc" id="classgeos_1_1math_1_1DD_html_af3bd55d23bf51d9c3fc630e0390e7d36"><div class="ttname"><a href="classgeos_1_1math_1_1DD.html#af3bd55d23bf51d9c3fc630e0390e7d36">geos::math::DD::operator&lt;</a></div><div class="ttdeci">bool operator&lt;(const DD &amp;rhs) const </div><div class="ttdef"><b>Definition:</b> <a href="DD_8h_source.html#l00133">DD.h:133</a></div></div>
<div class="ttc" id="classgeos_1_1math_1_1DD_html_a3a82f98375e163367f0b046f8358f17d"><div class="ttname"><a href="classgeos_1_1math_1_1DD.html#a3a82f98375e163367f0b046f8358f17d">geos::math::DD::DD</a></div><div class="ttdeci">DD(double p_hi, double p_lo)</div><div class="ttdef"><b>Definition:</b> <a href="DD_8h_source.html#l00119">DD.h:119</a></div></div>
<div class="ttc" id="classgeos_1_1math_1_1DD_html_afd785798e59d70b09b18c1f40d0b2d7c"><div class="ttname"><a href="classgeos_1_1math_1_1DD.html#afd785798e59d70b09b18c1f40d0b2d7c">geos::math::DD::DD</a></div><div class="ttdeci">DD(double x)</div><div class="ttdef"><b>Definition:</b> <a href="DD_8h_source.html#l00120">DD.h:120</a></div></div>
</div><!-- fragment --></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.11
</small></address>
</body>
</html>