geos_390_docs/classgeos_1_1precision_1_1C...

334 lines
17 KiB
HTML

<!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: geos::precision::CommonBitsRemover Class Reference</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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacegeos.html">geos</a></li><li class="navelem"><a class="el" href="namespacegeos_1_1precision.html">precision</a></li><li class="navelem"><a class="el" href="classgeos_1_1precision_1_1CommonBitsRemover.html">CommonBitsRemover</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classgeos_1_1precision_1_1CommonBitsRemover-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">geos::precision::CommonBitsRemover Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Allow computing and removing common mantissa bits from one or more Geometries.
<a href="classgeos_1_1precision_1_1CommonBitsRemover.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="CommonBitsRemover_8h_source.html">CommonBitsRemover.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for geos::precision::CommonBitsRemover:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1precision_1_1CommonBitsRemover__coll__graph.svg" width="303" height="147"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a0ef55b336f294634d5f8e60b8136045d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1precision_1_1CommonBitsRemover.html#a0ef55b336f294634d5f8e60b8136045d">CommonBitsRemover</a> ()</td></tr>
<tr class="separator:a0ef55b336f294634d5f8e60b8136045d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7c848cbe7624c19eb902539583a6496"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1precision_1_1CommonBitsRemover.html#ab7c848cbe7624c19eb902539583a6496">~CommonBitsRemover</a> ()</td></tr>
<tr class="separator:ab7c848cbe7624c19eb902539583a6496"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adabbf68d10a4ac2e5f008c0b2285d1c1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1precision_1_1CommonBitsRemover.html#adabbf68d10a4ac2e5f008c0b2285d1c1">add</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *geom)</td></tr>
<tr class="separator:adabbf68d10a4ac2e5f008c0b2285d1c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a50e1926f77b8c56760abac9e0c517b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1precision_1_1CommonBitsRemover.html#a1a50e1926f77b8c56760abac9e0c517b">getCommonCoordinate</a> ()</td></tr>
<tr class="separator:a1a50e1926f77b8c56760abac9e0c517b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa576192b433fc516c2ca7c9093264cec"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1precision_1_1CommonBitsRemover.html#aa576192b433fc516c2ca7c9093264cec">removeCommonBits</a> (<a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *geom)</td></tr>
<tr class="memdesc:aa576192b433fc516c2ca7c9093264cec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes the common coordinate bits from a Geometry. The coordinates of the Geometry are changed. <a href="#aa576192b433fc516c2ca7c9093264cec">More...</a><br /></td></tr>
<tr class="separator:aa576192b433fc516c2ca7c9093264cec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a286e6fd6378012f2c3feef6f131e46e6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1precision_1_1CommonBitsRemover.html#a286e6fd6378012f2c3feef6f131e46e6">addCommonBits</a> (<a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *geom)</td></tr>
<tr class="memdesc:a286e6fd6378012f2c3feef6f131e46e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds the common coordinate bits back into a Geometry. The coordinates of the Geometry are changed. <a href="#a286e6fd6378012f2c3feef6f131e46e6">More...</a><br /></td></tr>
<tr class="separator:a286e6fd6378012f2c3feef6f131e46e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:adfcb9190730e5b8d805b8db011076fa5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1precision_1_1CommonBitsRemover.html#adfcb9190730e5b8d805b8db011076fa5">CommonBitsRemover</a> (const <a class="el" href="classgeos_1_1precision_1_1CommonBitsRemover.html">CommonBitsRemover</a> &amp;)=delete</td></tr>
<tr class="separator:adfcb9190730e5b8d805b8db011076fa5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad143d46ba7b81e2b78b1680fca30594b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1precision_1_1CommonBitsRemover.html">CommonBitsRemover</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1precision_1_1CommonBitsRemover.html#ad143d46ba7b81e2b78b1680fca30594b">operator=</a> (const <a class="el" href="classgeos_1_1precision_1_1CommonBitsRemover.html">CommonBitsRemover</a> &amp;)=delete</td></tr>
<tr class="separator:ad143d46ba7b81e2b78b1680fca30594b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:af9ce447e8751ea0a05ee1b0b50f7d34a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1precision_1_1CommonBitsRemover.html#af9ce447e8751ea0a05ee1b0b50f7d34a">commonCoord</a></td></tr>
<tr class="separator:af9ce447e8751ea0a05ee1b0b50f7d34a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8450620a525388af495ae29baafc1a39"><td class="memItemLeft" align="right" valign="top">CommonCoordinateFilter *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1precision_1_1CommonBitsRemover.html#a8450620a525388af495ae29baafc1a39">ccFilter</a></td></tr>
<tr class="separator:a8450620a525388af495ae29baafc1a39"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Allow computing and removing common mantissa bits from one or more Geometries. </p>
<p>Definition at line <a class="el" href="CommonBitsRemover_8h_source.html#l00040">40</a> of file <a class="el" href="CommonBitsRemover_8h_source.html">CommonBitsRemover.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="adfcb9190730e5b8d805b8db011076fa5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">geos::precision::CommonBitsRemover::CommonBitsRemover </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1precision_1_1CommonBitsRemover.html">CommonBitsRemover</a> &amp;&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a0ef55b336f294634d5f8e60b8136045d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">geos::precision::CommonBitsRemover::CommonBitsRemover </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ab7c848cbe7624c19eb902539583a6496"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">geos::precision::CommonBitsRemover::~CommonBitsRemover </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="adabbf68d10a4ac2e5f008c0b2285d1c1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void geos::precision::CommonBitsRemover::add </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *&#160;</td>
<td class="paramname"><em>geom</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Add a geometry to the set of geometries whose common bits are being computed. After this method has executed the common coordinate reflects the common bits of all added geometries.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">geom</td><td>a Geometry to test for common bits </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a286e6fd6378012f2c3feef6f131e46e6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>* geos::precision::CommonBitsRemover::addCommonBits </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *&#160;</td>
<td class="paramname"><em>geom</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds the common coordinate bits back into a Geometry. The coordinates of the Geometry are changed. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">geom</td><td>the Geometry to which to add the common coordinate bits </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the shifted Geometry </dd></dl>
</div>
</div>
<a class="anchor" id="a1a50e1926f77b8c56760abac9e0c517b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>&amp; geos::precision::CommonBitsRemover::getCommonCoordinate </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>The common bits of the Coordinates in the supplied Geometries. </p>
</div>
</div>
<a class="anchor" id="ad143d46ba7b81e2b78b1680fca30594b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classgeos_1_1precision_1_1CommonBitsRemover.html">CommonBitsRemover</a>&amp; geos::precision::CommonBitsRemover::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1precision_1_1CommonBitsRemover.html">CommonBitsRemover</a> &amp;&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">delete</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aa576192b433fc516c2ca7c9093264cec"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void geos::precision::CommonBitsRemover::removeCommonBits </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *&#160;</td>
<td class="paramname"><em>geom</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes the common coordinate bits from a Geometry. The coordinates of the Geometry are changed. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">geom</td><td>the Geometry from which to remove the common coordinate bits </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the shifted Geometry </dd></dl>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a8450620a525388af495ae29baafc1a39"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">CommonCoordinateFilter* geos::precision::CommonBitsRemover::ccFilter</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="CommonBitsRemover_8h_source.html#l00046">46</a> of file <a class="el" href="CommonBitsRemover_8h_source.html">CommonBitsRemover.h</a>.</p>
</div>
</div>
<a class="anchor" id="af9ce447e8751ea0a05ee1b0b50f7d34a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> geos::precision::CommonBitsRemover::commonCoord</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="CommonBitsRemover_8h_source.html#l00044">44</a> of file <a class="el" href="CommonBitsRemover_8h_source.html">CommonBitsRemover.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="CommonBitsRemover_8h_source.html">CommonBitsRemover.h</a></li>
</ul>
</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>