geos_390_docs/OffsetSegmentString_8h_sour...

98 lines
48 KiB
HTML
Raw Permalink 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: OffsetSegmentString.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_cc91dd2a378845bf7e3e6edb554afff8.html">operation</a></li><li class="navelem"><a class="el" href="dir_2f5cc8550fac9323e9b033a7d7316722.html">buffer</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">OffsetSegmentString.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="OffsetSegmentString_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) 2011 Sandro Santilli &lt;strk@kbt.io&gt;</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * Copyright (C) 2007 Refractions Research Inc.</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * This is free software; you can redistribute and/or modify it under</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * the terms of the GNU Lesser General Public Licence as published</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * by the Free Software Foundation.</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * See the COPYING file for more information.</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> **********************************************************************</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"> * Last port: operation/buffer/OffsetSegmentString.java r378 (JTS-1.12)</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;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#ifndef GEOS_OP_BUFFER_OFFSETSEGMENTSTRING_H</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#define GEOS_OP_BUFFER_OFFSETSEGMENTSTRING_H</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">#include &lt;<a class="code" href="Coordinate_8h.html">geos/geom/Coordinate.h</a>&gt;</span> <span class="comment">// for inlines</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="CoordinateSequence_8h.html">geos/geom/CoordinateSequence.h</a>&gt;</span> <span class="comment">// for inlines</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="CoordinateArraySequence_8h.html">geos/geom/CoordinateArraySequence.h</a>&gt;</span> <span class="comment">// for composition</span></div><div
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html_a54e2301acb8d079ca0444045d6cd1538"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a54e2301acb8d079ca0444045d6cd1538">geos::operation::buffer::OffsetSegmentString::precisionModel</a></div><div class="ttdeci">const geom::PrecisionModel * precisionModel</div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00049">OffsetSegmentString.h:49</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html_aee70d7214f78bc33b0f90573200b1a4b"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#aee70d7214f78bc33b0f90573200b1a4b">geos::operation::buffer::OffsetSegmentString::isRedundant</a></div><div class="ttdeci">bool isRedundant(const geom::Coordinate &amp;pt) const </div><div class="ttdoc">Tests whether the given point is redundant relative to the previous point in the list (up to toleranc...</div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00067">OffsetSegmentString.h:67</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1CoordinateArraySequence_html"><div class="ttname"><a href="classgeos_1_1geom_1_1CoordinateArraySequence.html">geos::geom::CoordinateArraySequence</a></div><div class="ttdoc">The default implementation of CoordinateSequence. </div><div class="ttdef"><b>Definition:</b> <a href="CoordinateArraySequence_8h_source.html#l00037">CoordinateArraySequence.h:37</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html_a0df9668c7ab2ad42d1d91c8a21e7061f"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a0df9668c7ab2ad42d1d91c8a21e7061f">geos::operation::buffer::OffsetSegmentString::size</a></div><div class="ttdeci">size_t size() const </div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00194">OffsetSegmentString.h:194</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="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html">geos::operation::buffer::OffsetSegmentString</a></div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00043">OffsetSegmentString.h:43</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html_aa9afb8620896239193299e45a88ae36a"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#aa9afb8620896239193299e45a88ae36a">geos::operation::buffer::OffsetSegmentString::reset</a></div><div class="ttdeci">void reset()</div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00101">OffsetSegmentString.h:101</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html_aaf8c97f1153f9c69633e91c1f5c5a36a"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#aaf8c97f1153f9c69633e91c1f5c5a36a">geos::operation::buffer::OffsetSegmentString::minimumVertexDistance</a></div><div class="ttdeci">double minimumVertexDistance</div><div class="ttdoc">The distance below which two adjacent points on the curve are considered to be coincident. </div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00057">OffsetSegmentString.h:57</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1CoordinateSequence_html_a931a4baa65571e31e720c8d8d9390e31"><div class="ttname"><a href="classgeos_1_1geom_1_1CoordinateSequence.html#a931a4baa65571e31e720c8d8d9390e31">geos::geom::CoordinateSequence::back</a></div><div class="ttdeci">const Coordinate &amp; back() const </div><div class="ttdoc">Return last Coordinate in the sequence. </div><div class="ttdef"><b>Definition:</b> <a href="CoordinateSequence_8h_source.html#l00088">CoordinateSequence.h:88</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1PrecisionModel_html"><div class="ttname"><a href="classgeos_1_1geom_1_1PrecisionModel.html">geos::geom::PrecisionModel</a></div><div class="ttdoc">Specifies the precision model of the Coordinate in a Geometry. </div><div class="ttdef"><b>Definition:</b> <a href="PrecisionModel_8h_source.html#l00087">PrecisionModel.h:87</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1CoordinateSequence_html_a0069f2bc78df952cd5495ae7c005fae9"><div class="ttname"><a href="classgeos_1_1geom_1_1CoordinateSequence.html#a0069f2bc78df952cd5495ae7c005fae9">geos::geom::CoordinateSequence::size</a></div><div class="ttdeci">size_t size() const </div><div class="ttdef"><b>Definition:</b> <a href="CoordinateSequence_8h_source.html#l00120">CoordinateSequence.h:120</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html_a3eb4cd763f903d467179ce7ac56847e6"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a3eb4cd763f903d467179ce7ac56847e6">geos::operation::buffer::OffsetSegmentString::closeRing</a></div><div class="ttdeci">void closeRing()</div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00162">OffsetSegmentString.h:162</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html_abfaeb201f9054a96aff4c970d3cbca76"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#abfaeb201f9054a96aff4c970d3cbca76">geos::operation::buffer::OffsetSegmentString::OffsetSegmentString</a></div><div class="ttdeci">OffsetSegmentString()</div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00087">OffsetSegmentString.h:87</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html_a739b026ec53633a6452aab6e4e79c29c"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a739b026ec53633a6452aab6e4e79c29c">geos::operation::buffer::OffsetSegmentString::setMinimumVertexDistance</a></div><div class="ttdeci">void setMinimumVertexDistance(double nMinVertexDistance)</div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00121">OffsetSegmentString.h:121</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_1operation_1_1buffer_1_1OffsetSegmentString_html_a77f602bc651ce2b4dae564bde33c9cf3"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a77f602bc651ce2b4dae564bde33c9cf3">geos::operation::buffer::OffsetSegmentString::getCoordinates</a></div><div class="ttdeci">geom::CoordinateSequence * getCoordinates()</div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00185">OffsetSegmentString.h:185</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1CoordinateArraySequence_html_ae1409aea562c360eace0034ead757454"><div class="ttname"><a href="classgeos_1_1geom_1_1CoordinateArraySequence.html#ae1409aea562c360eace0034ead757454">geos::geom::CoordinateArraySequence::add</a></div><div class="ttdeci">void add(const Coordinate &amp;c)</div><div class="ttdoc">Add a Coordinate to the list. </div></div>
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html_afc40a58541b14f096b4b5ff8762bdbc5"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#afc40a58541b14f096b4b5ff8762bdbc5">geos::operation::buffer::OffsetSegmentString::addPts</a></div><div class="ttdeci">void addPts(const geom::CoordinateSequence &amp;pts, bool isForward)</div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00144">OffsetSegmentString.h:144</a></div></div>
<div class="ttc" id="CoordinateArraySequence_8h_html"><div class="ttname"><a href="CoordinateArraySequence_8h.html">CoordinateArraySequence.h</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Coordinate_html_afb42140c4c88c2d91d9ec231b6d08b21"><div class="ttname"><a href="classgeos_1_1geom_1_1Coordinate.html#afb42140c4c88c2d91d9ec231b6d08b21">geos::geom::Coordinate::equals</a></div><div class="ttdeci">bool equals(const Coordinate &amp;other) const </div><div class="ttdoc">2D only </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_1operation_1_1buffer_1_1OffsetSegmentString_html_aaa2d07ee07e1af2921f2d75218e93065"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#aaa2d07ee07e1af2921f2d75218e93065">geos::operation::buffer::OffsetSegmentString::setPrecisionModel</a></div><div class="ttdeci">void setPrecisionModel(const geom::PrecisionModel *nPrecisionModel)</div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00115">OffsetSegmentString.h:115</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1PrecisionModel_html_ac93fddf641db2575293d8987b75053af"><div class="ttname"><a href="classgeos_1_1geom_1_1PrecisionModel.html#ac93fddf641db2575293d8987b75053af">geos::geom::PrecisionModel::makePrecise</a></div><div class="ttdeci">double makePrecise(double val) const </div><div class="ttdoc">Rounds a numeric value to the PrecisionModel grid. </div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Coordinate_html_a9a30687133579e261178d099a238ef19"><div class="ttname"><a href="classgeos_1_1geom_1_1Coordinate.html#a9a30687133579e261178d099a238ef19">geos::geom::Coordinate::distance</a></div><div class="ttdeci">double distance(const Coordinate &amp;p) const </div></div>
<div class="ttc" id="PrecisionModel_8h_html"><div class="ttname"><a href="PrecisionModel_8h.html">PrecisionModel.h</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html_af0396534e5b1b319b1a910c352981f16"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#af0396534e5b1b319b1a910c352981f16">geos::operation::buffer::OffsetSegmentString::addPt</a></div><div class="ttdeci">void addPt(const geom::Coordinate &amp;pt)</div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00127">OffsetSegmentString.h:127</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="classgeos_1_1geom_1_1CoordinateArraySequence_html_a578a02d24d641630430a61e64f33811b"><div class="ttname"><a href="classgeos_1_1geom_1_1CoordinateArraySequence.html#a578a02d24d641630430a61e64f33811b">geos::geom::CoordinateArraySequence::clear</a></div><div class="ttdeci">void clear()</div><div class="ttdoc">Reset this CoordinateArraySequence to the empty state. </div><div class="ttdef"><b>Definition:</b> <a href="CoordinateArraySequence_8h_source.html#l00086">CoordinateArraySequence.h:86</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html_a8f251e7f6ff4e070707613e3ce4ddd0e"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a8f251e7f6ff4e070707613e3ce4ddd0e">geos::operation::buffer::OffsetSegmentString::~OffsetSegmentString</a></div><div class="ttdeci">~OffsetSegmentString()</div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00095">OffsetSegmentString.h:95</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html_a31d1781c226e131396b14efc66afb650"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#a31d1781c226e131396b14efc66afb650">geos::operation::buffer::OffsetSegmentString::operator&lt;&lt;</a></div><div class="ttdeci">friend std::ostream &amp; operator&lt;&lt;(std::ostream &amp;os, const OffsetSegmentString &amp;node)</div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00202">OffsetSegmentString.h:202</a></div></div>
<div class="ttc" id="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString_html_aa5df13e72072aab4065c7649226df591"><div class="ttname"><a href="classgeos_1_1operation_1_1buffer_1_1OffsetSegmentString.html#aa5df13e72072aab4065c7649226df591">geos::operation::buffer::OffsetSegmentString::ptList</a></div><div class="ttdeci">geom::CoordinateArraySequence * ptList</div><div class="ttdef"><b>Definition:</b> <a href="OffsetSegmentString_8h_source.html#l00047">OffsetSegmentString.h:47</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1CoordinateSequence_html_a70939ed2369aefcef44c6c8c6e5fbce1"><div class="ttname"><a href="classgeos_1_1geom_1_1CoordinateSequence.html#a70939ed2369aefcef44c6c8c6e5fbce1">geos::geom::CoordinateSequence::front</a></div><div class="ttdeci">const Coordinate &amp; front() const </div><div class="ttdoc">Return first Coordinate in the sequence. </div><div class="ttdef"><b>Definition:</b> <a href="CoordinateSequence_8h_source.html#l00095">CoordinateSequence.h:95</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>