Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 5035839f674c88dea1f7928a86fbdc64 > files > 1217

geos-devel-3.2.1-3.fc14.x86_64.rpm

<!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>GEOS: geos::precision::SimpleGeometryPrecisionReducer 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>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</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="namespacegeos.html">geos</a>      </li>
      <li><a class="el" href="namespacegeos_1_1precision.html">precision</a>      </li>
      <li><a class="el" href="classgeos_1_1precision_1_1SimpleGeometryPrecisionReducer.html">geos::precision::SimpleGeometryPrecisionReducer</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<h1>geos::precision::SimpleGeometryPrecisionReducer Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="geos::precision::SimpleGeometryPrecisionReducer" -->
<p>Reduces the precision of a <a class="el" href="">Geometry</a> according to the supplied <a class="el" href="">PrecisionModel</a>, without attempting to preserve valid topology.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="SimpleGeometryPrecisionReducer_8h_source.html">SimpleGeometryPrecisionReducer.h</a>&gt;</code></p>

<p><a href="classgeos_1_1precision_1_1SimpleGeometryPrecisionReducer-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8cc330ff70a3b91753ab40fad72f539b"></a><!-- doxytag: member="geos::precision::SimpleGeometryPrecisionReducer::SimpleGeometryPrecisionReducer" ref="a8cc330ff70a3b91753ab40fad72f539b" args="(const geom::PrecisionModel *pm)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>SimpleGeometryPrecisionReducer</b> (const <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html">geom::PrecisionModel</a> *pm)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1precision_1_1SimpleGeometryPrecisionReducer.html#aa154ac28da01b349f18c45568906fd59">setRemoveCollapsedComponents</a> (bool nRemoveCollapsed)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a64752caf00c69fb34a5ffafdf2435c3d"></a><!-- doxytag: member="geos::precision::SimpleGeometryPrecisionReducer::getPrecisionModel" ref="a64752caf00c69fb34a5ffafdf2435c3d" args="()" -->
const <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html">geom::PrecisionModel</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>getPrecisionModel</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5527b9d8471f6d34c3c37320c42b4d8c"></a><!-- doxytag: member="geos::precision::SimpleGeometryPrecisionReducer::getRemoveCollapsed" ref="a5527b9d8471f6d34c3c37320c42b4d8c" args="()" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>getRemoveCollapsed</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a886f92e75f259f3bcc210b424c6d8d07"></a><!-- doxytag: member="geos::precision::SimpleGeometryPrecisionReducer::reduce" ref="a886f92e75f259f3bcc210b424c6d8d07" args="(const geom::Geometry *geom)" -->
<a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>reduce</b> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *geom)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Reduces the precision of a <a class="el" href="">Geometry</a> according to the supplied <a class="el" href="">PrecisionModel</a>, without attempting to preserve valid topology. </p>
<p>The topology of the resulting geometry may be invalid if topological collapse occurs due to coordinates being shifted. It is up to the client to check this and handle it if necessary. Collapses may not matter for some uses. An example is simplifying the input to the buffer algorithm. The buffer algorithm does not depend on the validity of the input geometry. </p>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aa154ac28da01b349f18c45568906fd59"></a><!-- doxytag: member="geos::precision::SimpleGeometryPrecisionReducer::setRemoveCollapsedComponents" ref="aa154ac28da01b349f18c45568906fd59" args="(bool nRemoveCollapsed)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void geos::precision::SimpleGeometryPrecisionReducer::setRemoveCollapsedComponents </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>nRemoveCollapsed</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sets whether the reduction will result in collapsed components being removed completely, or simply being collapsed to an (invalid) Geometry of the same type.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>removeCollapsed</em>&nbsp;</td><td>if <code>true</code> collapsed components will be removed </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="SimpleGeometryPrecisionReducer_8h_source.html">SimpleGeometryPrecisionReducer.h</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Thu Jul 22 2010 for GEOS 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>