geos_390_docs/NodedSegmentString_8h_sourc...

94 lines
39 KiB
HTML
Raw Normal View History

2020-12-23 18:34:09 -08:00
<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>GEOS: NodedSegmentString.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">GEOS
&#160;<span id="projectnumber">3.9.1dev</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_0bc14b2fb119a11b6a0f32f4d350db61.html">geos</a></li><li class="navelem"><a class="el" href="dir_45d6d9d02973e76e5a8f8dc6273892cb.html">noding</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">NodedSegmentString.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="NodedSegmentString_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/**********************************************************************</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * GEOS - Geometry Engine Open Source</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * http://geos.osgeo.org</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * Copyright (C) 2020 Paul Ramsey &lt;pramsey@cleverelephant.ca&gt;</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * Copyright (C) 2011 Sandro Santilli &lt;strk@kbt.io&gt;</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> * Copyright (C) 2006 Refractions Research Inc.</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * Copyright (C) 2001-2002 Vivid Solutions Inc.</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * This is free software; you can redistribute and/or modify it under</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * the terms of the GNU Lesser General Public Licence as published</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * by the Free Software Foundation.</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * See the COPYING file for more information.</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> **********************************************************************</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment"> * Last port: noding/NodedSegmentString.java r320 (JTS-1.12)</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment"> **********************************************************************/</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#ifndef GEOS_NODING_NODEDSEGMENTSTRING_H</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#define GEOS_NODING_NODEDSEGMENTSTRING_H</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="export_8h.html">geos/export.h</a>&gt;</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="NodableSegmentString_8h.ht
<div class="ttc" id="classgeos_1_1noding_1_1NodableSegmentString_html"><div class="ttname"><a href="classgeos_1_1noding_1_1NodableSegmentString.html">geos::noding::NodableSegmentString</a></div><div class="ttdoc">An interface for classes which support adding nodes to a segment string. </div><div class="ttdef"><b>Definition:</b> <a href="NodableSegmentString_8h_source.html#l00037">NodableSegmentString.h:37</a></div></div>
<div class="ttc" id="export_8h_html_ae36df939090171f6e9a28a8cb6254fea"><div class="ttname"><a href="export_8h.html#ae36df939090171f6e9a28a8cb6254fea">GEOS_DLL</a></div><div class="ttdeci">#define GEOS_DLL</div><div class="ttdef"><b>Definition:</b> <a href="export_8h_source.html#l00028">export.h:28</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1NodedSegmentString_html_a525fc59b5eea83ac335f995d72749c44"><div class="ttname"><a href="classgeos_1_1noding_1_1NodedSegmentString.html#a525fc59b5eea83ac335f995d72749c44">geos::noding::NodedSegmentString::addIntersectionNode</a></div><div class="ttdeci">SegmentNode * addIntersectionNode(geom::Coordinate *intPt, std::size_t segmentIndex)</div><div class="ttdoc">Adds an intersection node for a given point and segment to this segment string. </div><div class="ttdef"><b>Definition:</b> <a href="NodedSegmentString_8h_source.html#l00125">NodedSegmentString.h:125</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Coordinate_html"><div class="ttname"><a href="classgeos_1_1geom_1_1Coordinate.html">geos::geom::Coordinate</a></div><div class="ttdoc">Coordinate is the lightweight class used to store coordinates. </div><div class="ttdef"><b>Definition:</b> <a href="Coordinate_8h_source.html#l00060">Coordinate.h:60</a></div></div>
<div class="ttc" id="export_8h_html"><div class="ttname"><a href="export_8h.html">export.h</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1SegmentString_html"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentString.html">geos::noding::SegmentString</a></div><div class="ttdoc">An interface for classes which represent a sequence of contiguous line segments. </div><div class="ttdef"><b>Definition:</b> <a href="SegmentString_8h_source.html#l00046">SegmentString.h:46</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1NodedSegmentString_html"><div class="ttname"><a href="classgeos_1_1noding_1_1NodedSegmentString.html">geos::noding::NodedSegmentString</a></div><div class="ttdoc">Represents a list of contiguous line segments, and supports noding the segments. </div><div class="ttdef"><b>Definition:</b> <a href="NodedSegmentString_8h_source.html#l00057">NodedSegmentString.h:57</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1NodedSegmentString_html_a13164f1c0c9a9fccc5a04745590c585c"><div class="ttname"><a href="classgeos_1_1noding_1_1NodedSegmentString.html#a13164f1c0c9a9fccc5a04745590c585c">geos::noding::NodedSegmentString::getNodeList</a></div><div class="ttdeci">SegmentNodeList &amp; getNodeList()</div></div>
<div class="ttc" id="classgeos_1_1noding_1_1NodedSegmentString_html_a99cc2d7bc57f245b33330d81ddf698a8"><div class="ttname"><a href="classgeos_1_1noding_1_1NodedSegmentString.html#a99cc2d7bc57f245b33330d81ddf698a8">geos::noding::NodedSegmentString::getNodedSubstrings</a></div><div class="ttdeci">static void getNodedSubstrings(C *segStrings, SegmentString::NonConstVect *resultEdgelist)</div><div class="ttdef"><b>Definition:</b> <a href="NodedSegmentString_8h_source.html#l00075">NodedSegmentString.h:75</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1NodedSegmentString_html_a1000187af7be3bf9563ba189905ec7c2"><div class="ttname"><a href="classgeos_1_1noding_1_1NodedSegmentString.html#a1000187af7be3bf9563ba189905ec7c2">geos::noding::NodedSegmentString::nodeList</a></div><div class="ttdeci">SegmentNodeList nodeList</div><div class="ttdef"><b>Definition:</b> <a href="NodedSegmentString_8h_source.html#l00208">NodedSegmentString.h:208</a></div></div>
<div class="ttc" id="classgeos_1_1algorithm_1_1LineIntersector_html"><div class="ttname"><a href="classgeos_1_1algorithm_1_1LineIntersector.html">geos::algorithm::LineIntersector</a></div><div class="ttdoc">A LineIntersector is an algorithm that can both test whether two line segments intersect and compute ...</div><div class="ttdef"><b>Definition:</b> <a href="LineIntersector_8h_source.html#l00049">LineIntersector.h:49</a></div></div>
<div class="ttc" id="CoordinateSequence_8h_html"><div class="ttname"><a href="CoordinateSequence_8h.html">CoordinateSequence.h</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1SegmentNodeList_html_a715a173abafcdcc9685ed3ceab7c81aa"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentNodeList.html#a715a173abafcdcc9685ed3ceab7c81aa">geos::noding::SegmentNodeList::addSplitEdges</a></div><div class="ttdeci">void addSplitEdges(std::vector&lt; SegmentString * &gt; &amp;edgeList)</div></div>
<div class="ttc" id="SegmentNode_8h_html"><div class="ttname"><a href="SegmentNode_8h.html">SegmentNode.h</a></div></div>
<div class="ttc" id="namespacegeos_html"><div class="ttname"><a href="namespacegeos.html">geos</a></div><div class="ttdoc">Basic namespace for all GEOS functionalities. </div><div class="ttdef"><b>Definition:</b> <a href="IndexedNestedRingTester_8h_source.html#l00026">IndexedNestedRingTester.h:26</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1SegmentString_html_a93989d822ed26e010dad4eacb6239721"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentString.html#a93989d822ed26e010dad4eacb6239721">geos::noding::SegmentString::NonConstVect</a></div><div class="ttdeci">std::vector&lt; SegmentString * &gt; NonConstVect</div><div class="ttdef"><b>Definition:</b> <a href="SegmentString_8h_source.html#l00049">SegmentString.h:49</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1NodedSegmentString_html_a541964aa37468a1449040081ff28d47e"><div class="ttname"><a href="classgeos_1_1noding_1_1NodedSegmentString.html#a541964aa37468a1449040081ff28d47e">geos::noding::NodedSegmentString::pts</a></div><div class="ttdeci">std::unique_ptr&lt; geom::CoordinateSequence &gt; pts</div><div class="ttdef"><b>Definition:</b> <a href="NodedSegmentString_8h_source.html#l00210">NodedSegmentString.h:210</a></div></div>
<div class="ttc" id="LineIntersector_8h_html"><div class="ttname"><a href="LineIntersector_8h.html">LineIntersector.h</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1NodedSegmentString_html_a85540be61b069300ad11105d59067c60"><div class="ttname"><a href="classgeos_1_1noding_1_1NodedSegmentString.html#a85540be61b069300ad11105d59067c60">geos::noding::NodedSegmentString::getNodedSubstrings</a></div><div class="ttdeci">static void getNodedSubstrings(II from, II too_far, SegmentString::NonConstVect *resultEdgelist)</div><div class="ttdef"><b>Definition:</b> <a href="NodedSegmentString_8h_source.html#l00063">NodedSegmentString.h:63</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1SegmentNodeList_html"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentNodeList.html">geos::noding::SegmentNodeList</a></div><div class="ttdoc">A list of the SegmentNode present along a NodedSegmentString. </div><div class="ttdef"><b>Definition:</b> <a href="SegmentNodeList_8h_source.html#l00056">SegmentNodeList.h:56</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1NodedSegmentString_html_aaa4c2b7fb0d902f62412182e07ea81c2"><div class="ttname"><a href="classgeos_1_1noding_1_1NodedSegmentString.html#aaa4c2b7fb0d902f62412182e07ea81c2">geos::noding::NodedSegmentString::NodedSegmentString</a></div><div class="ttdeci">NodedSegmentString(geom::CoordinateSequence *newPts, const void *newContext)</div><div class="ttdoc">Creates a new segment string from a list of vertices. </div><div class="ttdef"><b>Definition:</b> <a href="NodedSegmentString_8h_source.html#l00100">NodedSegmentString.h:100</a></div></div>
<div class="ttc" id="SegmentNodeList_8h_html"><div class="ttname"><a href="SegmentNodeList_8h.html">SegmentNodeList.h</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1CoordinateSequence_html"><div class="ttname"><a href="classgeos_1_1geom_1_1CoordinateSequence.html">geos::geom::CoordinateSequence</a></div><div class="ttdoc">The internal representation of a list of coordinates inside a Geometry. </div><div class="ttdef"><b>Definition:</b> <a href="CoordinateSequence_8h_source.html#l00058">CoordinateSequence.h:58</a></div></div>
<div class="ttc" id="Coordinate_8h_html"><div class="ttname"><a href="Coordinate_8h.html">Coordinate.h</a></div></div>
<div class="ttc" id="SegmentString_8h_html"><div class="ttname"><a href="SegmentString_8h.html">SegmentString.h</a></div></div>
<div class="ttc" id="classgeos_1_1noding_1_1NodedSegmentString_html_ae2b9b5005172bb5e47316ab4c8005919"><div class="ttname"><a href="classgeos_1_1noding_1_1NodedSegmentString.html#ae2b9b5005172bb5e47316ab4c8005919">geos::noding::NodedSegmentString::size</a></div><div class="ttdeci">size_t size() const override</div><div class="ttdef"><b>Definition:</b> <a href="NodedSegmentString_8h_source.html#l00152">NodedSegmentString.h:152</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Coordinate_html_a2c21bb7a17fd64f70d6ee55990cb87b9"><div class="ttname"><a href="classgeos_1_1geom_1_1Coordinate.html#a2c21bb7a17fd64f70d6ee55990cb87b9">geos::geom::Coordinate::equals2D</a></div><div class="ttdeci">bool equals2D(const Coordinate &amp;other) const </div></div>
<div class="ttc" id="classgeos_1_1noding_1_1SegmentNode_html"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentNode.html">geos::noding::SegmentNode</a></div><div class="ttdoc">Represents an intersection point between two NodedSegmentString. </div><div class="ttdef"><b>Definition:</b> <a href="SegmentNode_8h_source.html#l00047">SegmentNode.h:47</a></div></div>
<div class="ttc" id="NodableSegmentString_8h_html"><div class="ttname"><a href="NodableSegmentString_8h.html">NodableSegmentString.h</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>