Sophie

Sophie

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

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::index::chain::MonotoneChainBuilder 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_1index.html">index</a>      </li>
      <li><a class="el" href="namespacegeos_1_1index_1_1chain.html">chain</a>      </li>
      <li><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChainBuilder.html">geos::index::chain::MonotoneChainBuilder</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<h1>geos::index::chain::MonotoneChainBuilder Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="geos::index::chain::MonotoneChainBuilder" -->
<p>Constructs <a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a>s for sequences of <a class="el" href="">Coordinate</a>s.  
<a href="#_details">More...</a></p>

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

<p><a href="classgeos_1_1index_1_1chain_1_1MonotoneChainBuilder-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af6c467f474775574492dcc34a1b6a9be"></a><!-- doxytag: member="geos::index::chain::MonotoneChainBuilder::getChains" ref="af6c467f474775574492dcc34a1b6a9be" args="(const geom::CoordinateSequence *pts, void *context)" -->
static std::vector<br class="typebreak"/>
&lt; <a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a> * &gt; *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChainBuilder.html#af6c467f474775574492dcc34a1b6a9be">getChains</a> (const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> *pts, void *context)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return a newly-allocated vector of newly-allocated <a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html" title="Monotone Chains are a way of partitioning the segments of a linestring to allow for fast searching of...">MonotoneChain</a> objects for the given CoordinateSequence. Remember to deep-delete the result. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8687108e01b9c2bf11549c9b9974f1f9"></a><!-- doxytag: member="geos::index::chain::MonotoneChainBuilder::getChains" ref="a8687108e01b9c2bf11549c9b9974f1f9" args="(const geom::CoordinateSequence *pts, void *context, std::vector&lt; MonotoneChain * &gt; &amp;mcList)" -->
static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChainBuilder.html#a8687108e01b9c2bf11549c9b9974f1f9">getChains</a> (const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> *pts, void *context, std::vector&lt; <a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a> * &gt; &amp;mcList)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Fill the provided vector with newly-allocated <a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html" title="Monotone Chains are a way of partitioning the segments of a linestring to allow for fast searching of...">MonotoneChain</a> objects for the given CoordinateSequence. Remember to delete vector elements! <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a27ba0955236d696cf1d50d7be5e9f9db"></a><!-- doxytag: member="geos::index::chain::MonotoneChainBuilder::getChains" ref="a27ba0955236d696cf1d50d7be5e9f9db" args="(const geom::CoordinateSequence *pts)" -->
static std::vector<br class="typebreak"/>
&lt; <a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a> * &gt; *&nbsp;</td><td class="memItemRight" valign="bottom"><b>getChains</b> (const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> *pts)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a42c1264ced81d9ff8152640b7c1f1d08"></a><!-- doxytag: member="geos::index::chain::MonotoneChainBuilder::getChainStartIndices" ref="a42c1264ced81d9ff8152640b7c1f1d08" args="(const geom::CoordinateSequence &amp;pts, std::vector&lt; std::size_t &gt; &amp;startIndexList)" -->
static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChainBuilder.html#a42c1264ced81d9ff8152640b7c1f1d08">getChainStartIndices</a> (const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> &amp;pts, std::vector&lt; std::size_t &gt; &amp;startIndexList)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Fill the given vector with start/end indexes of the monotone chains for the given CoordinateSequence. The last entry in the array points to the end point of the point array, for use as a sentinel. <br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Constructs <a class="el" href="classgeos_1_1index_1_1chain_1_1MonotoneChain.html">MonotoneChain</a>s for sequences of <a class="el" href="">Coordinate</a>s. </p>
<p>TODO: use vector&lt;const Coordinate*&gt; instead ? </p>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="MonotoneChainBuilder_8h_source.html">MonotoneChainBuilder.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>