Sophie

Sophie

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

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::operation::buffer::BufferBuilder 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_1operation.html">operation</a>      </li>
      <li><a class="el" href="namespacegeos_1_1operation_1_1buffer.html">buffer</a>      </li>
      <li><a class="el" href="classgeos_1_1operation_1_1buffer_1_1BufferBuilder.html">geos::operation::buffer::BufferBuilder</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::operation::buffer::BufferBuilder Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="geos::operation::buffer::BufferBuilder" -->
<p>Builds the buffer geometry for a given input geometry and precision model.  
<a href="#_details">More...</a></p>

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

<p><a href="classgeos_1_1operation_1_1buffer_1_1BufferBuilder-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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1buffer_1_1BufferBuilder.html#a1cf94a4a5f9fbea4f7e8536715818748">BufferBuilder</a> (const <a class="el" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html">BufferParameters</a> &amp;nBufParams)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1buffer_1_1BufferBuilder.html#a8d3a4a70193f95b181d5e8d51c8d10f2">setWorkingPrecisionModel</a> (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_1operation_1_1buffer_1_1BufferBuilder.html#a65ecd460185da1dcf1248b2471c33bca">setNoder</a> (<a class="el" href="classgeos_1_1noding_1_1Noder.html">noding::Noder</a> *newNoder)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad40baf34b7d7db1aa3762b52b662df10"></a><!-- doxytag: member="geos::operation::buffer::BufferBuilder::buffer" ref="ad40baf34b7d7db1aa3762b52b662df10" args="(const geom::Geometry *g, double distance)" -->
<a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>buffer</b> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *g, double distance)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a19a3128c8a6769ffc65613b5ecdf42ea"></a><!-- doxytag: member="geos::operation::buffer::BufferBuilder::bufferLineSingleSided" ref="a19a3128c8a6769ffc65613b5ecdf42ea" args="(const geom::Geometry *g, double distance, bool leftSide)" -->
<a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1buffer_1_1BufferBuilder.html#a19a3128c8a6769ffc65613b5ecdf42ea">bufferLineSingleSided</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *g, double distance, bool leftSide)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Not in JTS: this is a GEOS extension. <br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Builds the buffer geometry for a given input geometry and precision model. </p>
<p>Allows setting the level of approximation for circular arcs, and the precision model in which to carry out the computation.</p>
<p>When computing buffers in floating point double-precision it can happen that the process of iterated noding can fail to converge (terminate).</p>
<p>In this case a TopologyException will be thrown. Retrying the computation in a fixed precision can produce more robust results. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a1cf94a4a5f9fbea4f7e8536715818748"></a><!-- doxytag: member="geos::operation::buffer::BufferBuilder::BufferBuilder" ref="a1cf94a4a5f9fbea4f7e8536715818748" args="(const BufferParameters &amp;nBufParams)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">geos::operation::buffer::BufferBuilder::BufferBuilder </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html">BufferParameters</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>nBufParams</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates a new <a class="el" href="classgeos_1_1operation_1_1buffer_1_1BufferBuilder.html" title="Builds the buffer geometry for a given input geometry and precision model.">BufferBuilder</a></p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>nBufParams</em>&nbsp;</td><td>buffer parameters, this object will keep a reference to the passed parameters so caller must make sure the object is kept alive for the whole lifetime of the buffer builder. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a65ecd460185da1dcf1248b2471c33bca"></a><!-- doxytag: member="geos::operation::buffer::BufferBuilder::setNoder" ref="a65ecd460185da1dcf1248b2471c33bca" args="(noding::Noder *newNoder)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void geos::operation::buffer::BufferBuilder::setNoder </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgeos_1_1noding_1_1Noder.html">noding::Noder</a> *&nbsp;</td>
          <td class="paramname"> <em>newNoder</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sets the <a class="el" href="classgeos_1_1noding_1_1Noder.html">noding::Noder</a> to use during noding. This allows choosing fast but non-robust noding, or slower but robust noding.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>noder</em>&nbsp;</td><td>the noder to use </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a8d3a4a70193f95b181d5e8d51c8d10f2"></a><!-- doxytag: member="geos::operation::buffer::BufferBuilder::setWorkingPrecisionModel" ref="a8d3a4a70193f95b181d5e8d51c8d10f2" args="(const geom::PrecisionModel *pm)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void geos::operation::buffer::BufferBuilder::setWorkingPrecisionModel </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html">geom::PrecisionModel</a> *&nbsp;</td>
          <td class="paramname"> <em>pm</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sets the precision model to use during the curve computation and noding, if it is different to the precision model of the Geometry. If the precision model is less than the precision of the Geometry precision model, the Geometry must have previously been rounded to that precision.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pm</em>&nbsp;</td><td>the precision model to use </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="BufferBuilder_8h_source.html">BufferBuilder.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>