Sophie

Sophie

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

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::geom::LineString 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_1geom.html">geom</a>      </li>
      <li><a class="el" href="classgeos_1_1geom_1_1LineString.html">geos::geom::LineString</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<h1>geos::geom::LineString Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="geos::geom::LineString" --><!-- doxytag: inherits="geos::geom::Geometry" -->
<p>Basic implementation of <a class="el" href="classgeos_1_1geom_1_1LineString.html" title="Basic implementation of LineString.">LineString</a>.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="geom_8h_source.html">geos.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for geos::geom::LineString:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classgeos_1_1geom_1_1LineString.png" usemap="#geos::geom::LineString_map" alt=""/>
  <map id="geos::geom::LineString_map" name="geos::geom::LineString_map">
<area href="classgeos_1_1geom_1_1Geometry.html" alt="geos::geom::Geometry" shape="rect" coords="0,0,142,24"/>
<area href="classgeos_1_1geom_1_1LinearRing.html" alt="geos::geom::LinearRing" shape="rect" coords="0,112,142,136"/>
</map>
</div>

<p><a href="classgeos_1_1geom_1_1LineString-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa165bf9c81c16f6b7934804bcdbbcd4f"></a><!-- doxytag: member="geos::geom::LineString::ConstVect" ref="aa165bf9c81c16f6b7934804bcdbbcd4f" args="" -->
typedef std::vector&lt; const <br class="typebreak"/>
<a class="el" href="classgeos_1_1geom_1_1LineString.html">LineString</a> * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1LineString.html#aa165bf9c81c16f6b7934804bcdbbcd4f">ConstVect</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A vector of const <a class="el" href="classgeos_1_1geom_1_1LineString.html" title="Basic implementation of LineString.">LineString</a> pointers. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1LineString.html#aebd169c82f9a33b8e8ac9b2664eaab79">clone</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aec9aa8117c882d5896a97c1e927559d9"></a><!-- doxytag: member="geos::geom::LineString::getCoordinates" ref="aec9aa8117c882d5896a97c1e927559d9" args="() const " -->
virtual <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">CoordinateSequence</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1LineString.html#aec9aa8117c882d5896a97c1e927559d9">getCoordinates</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns this <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> vertices. Caller takes ownership of the returned object. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aae10bd149c663c910e473d1e02241776"></a><!-- doxytag: member="geos::geom::LineString::getCoordinatesRO" ref="aae10bd149c663c910e473d1e02241776" args="() const " -->
const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">CoordinateSequence</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1LineString.html#aae10bd149c663c910e473d1e02241776">getCoordinatesRO</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a read-only pointer to internal <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html" title="The internal representation of a list of coordinates inside a Geometry.">CoordinateSequence</a>. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abe014373b8c2e026efa77a7aadbd43d8"></a><!-- doxytag: member="geos::geom::LineString::getCoordinateN" ref="abe014373b8c2e026efa77a7aadbd43d8" args="(int n) const " -->
virtual const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>getCoordinateN</b> (int n) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4ed13785daa7c206833e33e3c43e3723"></a><!-- doxytag: member="geos::geom::LineString::getDimension" ref="a4ed13785daa7c206833e33e3c43e3723" args="() const " -->
virtual <a class="el" href="classgeos_1_1geom_1_1Dimension.html#af46f1c0c325eb685fcf32987748d04cf">Dimension::DimensionType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1LineString.html#a4ed13785daa7c206833e33e3c43e3723">getDimension</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns line dimension (1). <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8e9f2bd5b59ee069293638bf6ede61ed"></a><!-- doxytag: member="geos::geom::LineString::getBoundaryDimension" ref="a8e9f2bd5b59ee069293638bf6ede61ed" args="() const " -->
virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1LineString.html#a8e9f2bd5b59ee069293638bf6ede61ed">getBoundaryDimension</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns <a class="el" href="classgeos_1_1geom_1_1Dimension.html#af46f1c0c325eb685fcf32987748d04cfa5055f3028cec299275cd330122f086e2" title="Dimension value of the empty geometry (-1).">Dimension::False</a> for a closed <a class="el" href="classgeos_1_1geom_1_1LineString.html" title="Basic implementation of LineString.">LineString</a>, 0 otherwise (<a class="el" href="classgeos_1_1geom_1_1LineString.html" title="Basic implementation of LineString.">LineString</a> boundary is a <a class="el" href="classgeos_1_1geom_1_1MultiPoint.html" title="Models a collection of Point objects.">MultiPoint</a>). <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4b8480aa8c37706f4c13e2242d0a4e1b"></a><!-- doxytag: member="geos::geom::LineString::getBoundary" ref="a4b8480aa8c37706f4c13e2242d0a4e1b" args="() const " -->
virtual <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1LineString.html#a4b8480aa8c37706f4c13e2242d0a4e1b">getBoundary</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a <a class="el" href="classgeos_1_1geom_1_1MultiPoint.html" title="Models a collection of Point objects.">MultiPoint</a>. Empty for closed <a class="el" href="classgeos_1_1geom_1_1LineString.html" title="Basic implementation of LineString.">LineString</a>, a <a class="el" href="classgeos_1_1geom_1_1Point.html" title="Basic implementation of Point.">Point</a> for each vertex otherwise. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac14ebe8dfc8f04aff925b22a0f853487"></a><!-- doxytag: member="geos::geom::LineString::isEmpty" ref="ac14ebe8dfc8f04aff925b22a0f853487" args="() const " -->
virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1LineString.html#ac14ebe8dfc8f04aff925b22a0f853487">isEmpty</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns whether or not the set of points in this <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> is empty. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a07b75dab4283da0add87295a4752891e"></a><!-- doxytag: member="geos::geom::LineString::getNumPoints" ref="a07b75dab4283da0add87295a4752891e" args="() const " -->
virtual size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1LineString.html#a07b75dab4283da0add87295a4752891e">getNumPoints</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the count of this Geometrys vertices. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a58e63c4a30c3594406f65db1c622635e"></a><!-- doxytag: member="geos::geom::LineString::getPointN" ref="a58e63c4a30c3594406f65db1c622635e" args="(size_t n) const " -->
virtual <a class="el" href="classgeos_1_1geom_1_1Point.html">Point</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>getPointN</b> (size_t n) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af70482a839e9402760c54f2e42da8df1"></a><!-- doxytag: member="geos::geom::LineString::getStartPoint" ref="af70482a839e9402760c54f2e42da8df1" args="() const " -->
virtual <a class="el" href="classgeos_1_1geom_1_1Point.html">Point</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1LineString.html#af70482a839e9402760c54f2e42da8df1">getStartPoint</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the start point of the <a class="el" href="classgeos_1_1geom_1_1LineString.html" title="Basic implementation of LineString.">LineString</a> or NULL if this is an EMPTY <a class="el" href="classgeos_1_1geom_1_1LineString.html" title="Basic implementation of LineString.">LineString</a>. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae04125d5897df5d375dc649c0833fe4a"></a><!-- doxytag: member="geos::geom::LineString::getEndPoint" ref="ae04125d5897df5d375dc649c0833fe4a" args="() const " -->
virtual <a class="el" href="classgeos_1_1geom_1_1Point.html">Point</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1LineString.html#ae04125d5897df5d375dc649c0833fe4a">getEndPoint</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the end point of the <a class="el" href="classgeos_1_1geom_1_1LineString.html" title="Basic implementation of LineString.">LineString</a> or NULL if this is an EMPTY <a class="el" href="classgeos_1_1geom_1_1LineString.html" title="Basic implementation of LineString.">LineString</a>. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af424443c26f7bf72a56acafb85fa6c5c"></a><!-- doxytag: member="geos::geom::LineString::isClosed" ref="af424443c26f7bf72a56acafb85fa6c5c" args="() const " -->
virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>isClosed</b> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8d802f86f9e8dee06b9e79b0f7fd1f2c"></a><!-- doxytag: member="geos::geom::LineString::isRing" ref="a8d802f86f9e8dee06b9e79b0f7fd1f2c" args="() const " -->
virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>isRing</b> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9f51aa6b277cc568a6078968a2ad564c"></a><!-- doxytag: member="geos::geom::LineString::getGeometryType" ref="a9f51aa6b277cc568a6078968a2ad564c" args="() const " -->
virtual std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1LineString.html#a9f51aa6b277cc568a6078968a2ad564c">getGeometryType</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return a string representation of this <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> type. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4d1e1bc37cbfe07271efc7f26ff42a13"></a><!-- doxytag: member="geos::geom::LineString::getGeometryTypeId" ref="a4d1e1bc37cbfe07271efc7f26ff42a13" args="() const " -->
virtual <a class="el" href="namespacegeos_1_1geom.html#a98c5b0e81001a7c3fdc7a058960356d8">GeometryTypeId</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1LineString.html#a4d1e1bc37cbfe07271efc7f26ff42a13">getGeometryTypeId</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return an integer representation of this <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> type. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9fac6baac45bc4956af444f9dc156b48"></a><!-- doxytag: member="geos::geom::LineString::isCoordinate" ref="a9fac6baac45bc4956af444f9dc156b48" args="(Coordinate &amp;pt) const " -->
virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>isCoordinate</b> (<a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> &amp;pt) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1ddf1b0b3a4239ff849cef90393934d2"></a><!-- doxytag: member="geos::geom::LineString::equalsExact" ref="a1ddf1b0b3a4239ff849cef90393934d2" args="(const Geometry *other, double tolerance=0) const " -->
virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1LineString.html#a1ddf1b0b3a4239ff849cef90393934d2">equalsExact</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> *other, double tolerance=0) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if the two Geometrys are exactly equal, up to a specified tolerance. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af2e2ad89c63763200c9cea916077e6d9"></a><!-- doxytag: member="geos::geom::LineString::apply_rw" ref="af2e2ad89c63763200c9cea916077e6d9" args="(const CoordinateFilter *filter)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>apply_rw</b> (const <a class="el" href="classgeos_1_1geom_1_1CoordinateFilter.html">CoordinateFilter</a> *filter)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa9e31f06154c646df3e79c268c47fc9e"></a><!-- doxytag: member="geos::geom::LineString::apply_ro" ref="aa9e31f06154c646df3e79c268c47fc9e" args="(CoordinateFilter *filter) const " -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>apply_ro</b> (<a class="el" href="classgeos_1_1geom_1_1CoordinateFilter.html">CoordinateFilter</a> *filter) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5adc7017b681f71be16f1a5374378b36"></a><!-- doxytag: member="geos::geom::LineString::apply_rw" ref="a5adc7017b681f71be16f1a5374378b36" args="(GeometryFilter *filter)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>apply_rw</b> (<a class="el" href="classgeos_1_1geom_1_1GeometryFilter.html">GeometryFilter</a> *filter)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a58fb3ca138747bc2ae6d4bac13da5a9c"></a><!-- doxytag: member="geos::geom::LineString::apply_ro" ref="a58fb3ca138747bc2ae6d4bac13da5a9c" args="(GeometryFilter *filter) const " -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>apply_ro</b> (<a class="el" href="classgeos_1_1geom_1_1GeometryFilter.html">GeometryFilter</a> *filter) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afa8dab1a9e6084c4ab32ded36aa06127"></a><!-- doxytag: member="geos::geom::LineString::apply_rw" ref="afa8dab1a9e6084c4ab32ded36aa06127" args="(GeometryComponentFilter *filter)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>apply_rw</b> (<a class="el" href="classgeos_1_1geom_1_1GeometryComponentFilter.html">GeometryComponentFilter</a> *filter)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a20c8bcf7ddcd80c9f379609bc8c3c1dc"></a><!-- doxytag: member="geos::geom::LineString::apply_ro" ref="a20c8bcf7ddcd80c9f379609bc8c3c1dc" args="(GeometryComponentFilter *filter) const " -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>apply_ro</b> (<a class="el" href="classgeos_1_1geom_1_1GeometryComponentFilter.html">GeometryComponentFilter</a> *filter) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1LineString.html#a52f92bb4e796a6e5a5cc1c439a3915ba">apply_rw</a> (<a class="el" href="classgeos_1_1geom_1_1CoordinateSequenceFilter.html">CoordinateSequenceFilter</a> &amp;filter)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1LineString.html#a91440d2f63d184717b62cad4ecd9e295">apply_ro</a> (<a class="el" href="classgeos_1_1geom_1_1CoordinateSequenceFilter.html">CoordinateSequenceFilter</a> &amp;filter) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1LineString.html#a7420a01c966ee495c327bd0a6ab2f4d6">normalize</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Normalizes a <a class="el" href="classgeos_1_1geom_1_1LineString.html" title="Basic implementation of LineString.">LineString</a>.  <a href="#a7420a01c966ee495c327bd0a6ab2f4d6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aacdc13ae26f0f647ddf174575799138b"></a><!-- doxytag: member="geos::geom::LineString::compareToSameClass" ref="aacdc13ae26f0f647ddf174575799138b" args="(const Geometry *ls) const " -->
virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><b>compareToSameClass</b> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> *ls) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7836888cc461250bca5a2692b8631abd"></a><!-- doxytag: member="geos::geom::LineString::getCoordinate" ref="a7836888cc461250bca5a2692b8631abd" args="() const " -->
virtual const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1LineString.html#a7836888cc461250bca5a2692b8631abd">getCoordinate</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a vertex of this <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a>, or NULL if this is the empty geometry. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a72998f51df9ab2fdee425345ead6068f"></a><!-- doxytag: member="geos::geom::LineString::getLength" ref="a72998f51df9ab2fdee425345ead6068f" args="() const " -->
virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1LineString.html#a72998f51df9ab2fdee425345ead6068f">getLength</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the length of this <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a>. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1LineString.html#af69a9f8d665c21ac957816fb5b95a4a1">reverse</a> () const </td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a54d11a622f33d484b13563e05b824f84"></a><!-- doxytag: member="geos::geom::LineString::LineString" ref="a54d11a622f33d484b13563e05b824f84" args="(const LineString &amp;ls)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>LineString</b> (const <a class="el" href="classgeos_1_1geom_1_1LineString.html">LineString</a> &amp;ls)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a266614f01c8587f786b3c13e7c027c4b"></a><!-- doxytag: member="geos::geom::LineString::LineString" ref="a266614f01c8587f786b3c13e7c027c4b" args="(CoordinateSequence *pts, const GeometryFactory *newFactory)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1LineString.html#a266614f01c8587f786b3c13e7c027c4b">LineString</a> (<a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">CoordinateSequence</a> *pts, const <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html">GeometryFactory</a> *newFactory)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a <a class="el" href="classgeos_1_1geom_1_1LineString.html" title="Basic implementation of LineString.">LineString</a> taking ownership the given <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html" title="The internal representation of a list of coordinates inside a Geometry.">CoordinateSequence</a>. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a69ca03814a7a6af42d5b581963291e1f"></a><!-- doxytag: member="geos::geom::LineString::LineString" ref="a69ca03814a7a6af42d5b581963291e1f" args="(CoordinateSequence::AutoPtr pts, const GeometryFactory *newFactory)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1LineString.html#a69ca03814a7a6af42d5b581963291e1f">LineString</a> (CoordinateSequence::AutoPtr pts, const <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html">GeometryFactory</a> *newFactory)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Hopefully cleaner version of the above. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adac617039239894caeacadbd7104b1d0"></a><!-- doxytag: member="geos::geom::LineString::computeEnvelopeInternal" ref="adac617039239894caeacadbd7104b1d0" args="() const " -->
Envelope::AutoPtr&nbsp;</td><td class="memItemRight" valign="bottom"><b>computeEnvelopeInternal</b> () const </td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a43c4aa423cf204bbf07531a8bf0561d0"></a><!-- doxytag: member="geos::geom::LineString::points" ref="a43c4aa423cf204bbf07531a8bf0561d0" args="" -->
CoordinateSequence::AutoPtr&nbsp;</td><td class="memItemRight" valign="bottom"><b>points</b></td></tr>
<tr><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a639aef3f5d0d27a72053343b0e09b5f3"></a><!-- doxytag: member="geos::geom::LineString::GeometryFactory" ref="a639aef3f5d0d27a72053343b0e09b5f3" args="" -->
class&nbsp;</td><td class="memItemRight" valign="bottom"><b>GeometryFactory</b></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Basic implementation of <a class="el" href="classgeos_1_1geom_1_1LineString.html" title="Basic implementation of LineString.">LineString</a>. </p>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a91440d2f63d184717b62cad4ecd9e295"></a><!-- doxytag: member="geos::geom::LineString::apply_ro" ref="a91440d2f63d184717b62cad4ecd9e295" args="(CoordinateSequenceFilter &amp;filter) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void geos::geom::LineString::apply_ro </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgeos_1_1geom_1_1CoordinateSequenceFilter.html">CoordinateSequenceFilter</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>filter</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Performs a read-only operation on the coordinates in this Geometry's CoordinateSequences.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>filter</em>&nbsp;</td><td>the filter to apply </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classgeos_1_1geom_1_1Geometry.html#a31aa2b7a73162848ceaffdb25d91a9dc">geos::geom::Geometry</a>.</p>

</div>
</div>
<a class="anchor" id="a52f92bb4e796a6e5a5cc1c439a3915ba"></a><!-- doxytag: member="geos::geom::LineString::apply_rw" ref="a52f92bb4e796a6e5a5cc1c439a3915ba" args="(CoordinateSequenceFilter &amp;filter)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void geos::geom::LineString::apply_rw </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgeos_1_1geom_1_1CoordinateSequenceFilter.html">CoordinateSequenceFilter</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>filter</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Performs an operation on the coordinates in this Geometry's CoordinateSequences.s If the filter reports that a coordinate value has been changed, <a class="el" href="">geometryChanged</a> will be called automatically.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>filter</em>&nbsp;</td><td>the filter to apply </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classgeos_1_1geom_1_1Geometry.html#a19566f7393929d162eead6ee454fe97f">geos::geom::Geometry</a>.</p>

</div>
</div>
<a class="anchor" id="aebd169c82f9a33b8e8ac9b2664eaab79"></a><!-- doxytag: member="geos::geom::LineString::clone" ref="aebd169c82f9a33b8e8ac9b2664eaab79" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> * geos::geom::LineString::clone </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates and returns a full copy of this <a class="el" href="classgeos_1_1geom_1_1LineString.html">LineString</a> object. (including all coordinates contained by it).</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>a clone of this instance </dd></dl>

<p>Implements <a class="el" href="classgeos_1_1geom_1_1Geometry.html#a25b5ab073477cee2d5b756a0d163c006">geos::geom::Geometry</a>.</p>

<p>Reimplemented in <a class="el" href="classgeos_1_1geom_1_1LinearRing.html#ad41750bf8dc19b903dfa68c9bbc2f19c">geos::geom::LinearRing</a>.</p>

</div>
</div>
<a class="anchor" id="a7420a01c966ee495c327bd0a6ab2f4d6"></a><!-- doxytag: member="geos::geom::LineString::normalize" ref="a7420a01c966ee495c327bd0a6ab2f4d6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void geos::geom::LineString::normalize </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Normalizes a <a class="el" href="classgeos_1_1geom_1_1LineString.html" title="Basic implementation of LineString.">LineString</a>. </p>
<p>A normalized linestring has the first point which is not equal to it's reflected point less than the reflected point. </p>

<p>Implements <a class="el" href="classgeos_1_1geom_1_1Geometry.html#a2ea3b58d562bc183e118e2a68f86414d">geos::geom::Geometry</a>.</p>

</div>
</div>
<a class="anchor" id="af69a9f8d665c21ac957816fb5b95a4a1"></a><!-- doxytag: member="geos::geom::LineString::reverse" ref="af69a9f8d665c21ac957816fb5b95a4a1" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a>* geos::geom::LineString::reverse </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates a <a class="el" href="classgeos_1_1geom_1_1LineString.html" title="Basic implementation of LineString.">LineString</a> whose coordinates are in the reverse order of this objects</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>a <a class="el" href="classgeos_1_1geom_1_1LineString.html" title="Basic implementation of LineString.">LineString</a> with coordinates in the reverse order </dd></dl>

<p>Reimplemented in <a class="el" href="classgeos_1_1geom_1_1LinearRing.html#a793d1b3dbcef742b10041fc11bffb3a2">geos::geom::LinearRing</a>.</p>

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