Sophie

Sophie

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

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::OffsetCurveBuilder 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_1OffsetCurveBuilder.html">geos::operation::buffer::OffsetCurveBuilder</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::OffsetCurveBuilder Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="geos::operation::buffer::OffsetCurveBuilder" -->
<p>Computes the raw offset curve for a single Geometry component (ring, line or point).  
<a href="#_details">More...</a></p>

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

<p><a href="classgeos_1_1operation_1_1buffer_1_1OffsetCurveBuilder-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="a0bf748068191e6c936cba1ce2adae408"></a><!-- doxytag: member="geos::operation::buffer::OffsetCurveBuilder::OffsetCurveBuilder" ref="a0bf748068191e6c936cba1ce2adae408" args="(const geom::PrecisionModel *newPrecisionModel, const BufferParameters &amp;bufParams)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>OffsetCurveBuilder</b> (const <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html">geom::PrecisionModel</a> *newPrecisionModel, const <a class="el" href="classgeos_1_1operation_1_1buffer_1_1BufferParameters.html">BufferParameters</a> &amp;bufParams)</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_1OffsetCurveBuilder.html#a5e4cc3b46211b1b8f17e1fe41bdb7760">getLineCurve</a> (const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> *inputPts, double distance, std::vector&lt; <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> * &gt; &amp;lineList)</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_1OffsetCurveBuilder.html#aaf73691f2640a2f530803690f9edf361">getSingleSidedLineCurve</a> (const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> *inputPts, double distance, std::vector&lt; <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> * &gt; &amp;lineList, bool leftSide, bool rightSide)</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_1OffsetCurveBuilder.html#a6e6b3d556509d004890a4b6e8bc2da8b">getRingCurve</a> (const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> *inputPts, int side, double distance, std::vector&lt; <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> * &gt; &amp;lineList)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Computes the raw offset curve for a single Geometry component (ring, line or point). </p>
<p>A raw offset curve line is not noded - it may contain self-intersections (and usually will). The final buffer polygon is computed by forming a topological graph of all the noded raw curves and tracing outside contours. The points in the raw curve are rounded to the required precision model.</p>
<p>Last port: operation/buffer/OffsetCurveBuilder.java rev. 1.9 </p>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a5e4cc3b46211b1b8f17e1fe41bdb7760"></a><!-- doxytag: member="geos::operation::buffer::OffsetCurveBuilder::getLineCurve" ref="a5e4cc3b46211b1b8f17e1fe41bdb7760" args="(const geom::CoordinateSequence *inputPts, double distance, std::vector&lt; geom::CoordinateSequence * &gt; &amp;lineList)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void geos::operation::buffer::OffsetCurveBuilder::getLineCurve </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> *&nbsp;</td>
          <td class="paramname"> <em>inputPts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>distance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> * &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>lineList</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This method handles single points as well as lines. Lines are assumed to <b>not</b> be closed (the function will not fail for closed lines, but will generate superfluous line caps).</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>lineList</em>&nbsp;</td><td>the std::vector to which the newly created CoordinateSequences will be pushed_back. Caller is responsible to delete these new elements. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6e6b3d556509d004890a4b6e8bc2da8b"></a><!-- doxytag: member="geos::operation::buffer::OffsetCurveBuilder::getRingCurve" ref="a6e6b3d556509d004890a4b6e8bc2da8b" args="(const geom::CoordinateSequence *inputPts, int side, double distance, std::vector&lt; geom::CoordinateSequence * &gt; &amp;lineList)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void geos::operation::buffer::OffsetCurveBuilder::getRingCurve </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> *&nbsp;</td>
          <td class="paramname"> <em>inputPts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>side</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>distance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> * &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>lineList</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This method handles the degenerate cases of single points and lines, as well as rings.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>lineList</em>&nbsp;</td><td>the std::vector to which CoordinateSequences will be pushed_back </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aaf73691f2640a2f530803690f9edf361"></a><!-- doxytag: member="geos::operation::buffer::OffsetCurveBuilder::getSingleSidedLineCurve" ref="aaf73691f2640a2f530803690f9edf361" args="(const geom::CoordinateSequence *inputPts, double distance, std::vector&lt; geom::CoordinateSequence * &gt; &amp;lineList, bool leftSide, bool rightSide)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void geos::operation::buffer::OffsetCurveBuilder::getSingleSidedLineCurve </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> *&nbsp;</td>
          <td class="paramname"> <em>inputPts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>distance</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> * &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>lineList</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>leftSide</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>rightSide</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This method handles single points as well as lines.</p>
<p>Lines are assumed to <b>not</b> be closed (the function will not fail for closed lines, but will generate superfluous line caps).</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>lineList</em>&nbsp;</td><td>the std::vector to which newly created CoordinateSequences will be pushed_back. Caller will be responsible to delete them. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>leftSide</em>&nbsp;</td><td>indicates that the left side buffer will be obtained/skipped </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>rightSide</em>&nbsp;</td><td>indicates that the right side buffer will be obtained/skipped</td></tr>
  </table>
  </dd>
</dl>
<p>NOTE: this is a GEOS extension </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="OffsetCurveBuilder_8h_source.html">OffsetCurveBuilder.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>