Sophie

Sophie

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

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::noding::BasicSegmentString 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_1noding.html">noding</a>      </li>
      <li><a class="el" href="classgeos_1_1noding_1_1BasicSegmentString.html">geos::noding::BasicSegmentString</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::noding::BasicSegmentString Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="geos::noding::BasicSegmentString" --><!-- doxytag: inherits="geos::noding::SegmentString" -->
<p><code>#include &lt;<a class="el" href="BasicSegmentString_8h_source.html">BasicSegmentString.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for geos::noding::BasicSegmentString:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classgeos_1_1noding_1_1BasicSegmentString.png" usemap="#geos::noding::BasicSegmentString_map" alt=""/>
  <map id="geos::noding::BasicSegmentString_map" name="geos::noding::BasicSegmentString_map">
<area href="classgeos_1_1noding_1_1SegmentString.html" alt="geos::noding::SegmentString" shape="rect" coords="0,0,201,24"/>
</map>
</div>

<p><a href="classgeos_1_1noding_1_1BasicSegmentString-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_1noding_1_1BasicSegmentString.html#a4c40c6763de003ae390fcf7cb334e71f">BasicSegmentString</a> (<a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> *newPts, const void *newContext)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Construct a <a class="el" href="classgeos_1_1noding_1_1BasicSegmentString.html">BasicSegmentString</a>.  <a href="#a4c40c6763de003ae390fcf7cb334e71f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9d109b3f6ae365dc2088c8f09dfb5fae"></a><!-- doxytag: member="geos::noding::BasicSegmentString::size" ref="a9d109b3f6ae365dc2088c8f09dfb5fae" args="() const " -->
virtual unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1BasicSegmentString.html#a9d109b3f6ae365dc2088c8f09dfb5fae">size</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">see dox in <a class="el" href="SegmentString_8h_source.html">SegmentString.h</a> <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="add280791975cdb200bbac919838516f0"></a><!-- doxytag: member="geos::noding::BasicSegmentString::getCoordinate" ref="add280791975cdb200bbac919838516f0" args="(unsigned int i) const " -->
virtual const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1BasicSegmentString.html#add280791975cdb200bbac919838516f0">getCoordinate</a> (unsigned int i) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">see dox in <a class="el" href="SegmentString_8h_source.html">SegmentString.h</a> <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a848bdd2673e17250a9afa473650d1f3b"></a><!-- doxytag: member="geos::noding::BasicSegmentString::getCoordinates" ref="a848bdd2673e17250a9afa473650d1f3b" args="() const " -->
virtual <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1BasicSegmentString.html#a848bdd2673e17250a9afa473650d1f3b">getCoordinates</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">see dox in <a class="el" href="SegmentString_8h_source.html">SegmentString.h</a> <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8189a3229cd970d5f7e9e43411e699ce"></a><!-- doxytag: member="geos::noding::BasicSegmentString::isClosed" ref="a8189a3229cd970d5f7e9e43411e699ce" args="() const " -->
virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1BasicSegmentString.html#a8189a3229cd970d5f7e9e43411e699ce">isClosed</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">see dox in <a class="el" href="SegmentString_8h_source.html">SegmentString.h</a> <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2ce05445d7d5a6252d2d17e3e51a4b72"></a><!-- doxytag: member="geos::noding::BasicSegmentString::print" ref="a2ce05445d7d5a6252d2d17e3e51a4b72" args="(std::ostream &amp;os) const " -->
virtual std::ostream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1BasicSegmentString.html#a2ce05445d7d5a6252d2d17e3e51a4b72">print</a> (std::ostream &amp;os) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">see dox in <a class="el" href="SegmentString_8h_source.html">SegmentString.h</a> <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1BasicSegmentString.html#a061334639140c789e26748ee771be4e6">getSegmentOctant</a> (unsigned int index) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the octant of the segment starting at vertex index.  <a href="#a061334639140c789e26748ee771be4e6"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Represents a list of contiguous line segments, and supports noding the segments. The line segments are represented by an array of <a class="el" href="">Coordinate</a>s. Intended to optimize the noding of contiguous segments by reducing the number of allocated objects. SegmentStrings can carry a context object, which is useful for preserving topological or parentage information. All noded substrings are initialized with the same context object. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a4c40c6763de003ae390fcf7cb334e71f"></a><!-- doxytag: member="geos::noding::BasicSegmentString::BasicSegmentString" ref="a4c40c6763de003ae390fcf7cb334e71f" args="(geom::CoordinateSequence *newPts, const void *newContext)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">geos::noding::BasicSegmentString::BasicSegmentString </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> *&nbsp;</td>
          <td class="paramname"> <em>newPts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const void *&nbsp;</td>
          <td class="paramname"> <em>newContext</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Construct a <a class="el" href="classgeos_1_1noding_1_1BasicSegmentString.html">BasicSegmentString</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>newPts</em>&nbsp;</td><td>CoordinateSequence representing the string, externally owned </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>newContext</em>&nbsp;</td><td>the context associated to this <a class="el" href="classgeos_1_1noding_1_1SegmentString.html" title="An interface for classes which represent a sequence of contiguous line segments.">SegmentString</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a061334639140c789e26748ee771be4e6"></a><!-- doxytag: member="geos::noding::BasicSegmentString::getSegmentOctant" ref="a061334639140c789e26748ee771be4e6" args="(unsigned int index) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int geos::noding::BasicSegmentString::getSegmentOctant </td>
          <td>(</td>
          <td class="paramtype">unsigned int&nbsp;</td>
          <td class="paramname"> <em>index</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the octant of the segment starting at vertex index. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td>the index of the vertex starting the segment. Must not be the last index in the vertex list </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the octant of the segment at the vertex </dd></dl>

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