295 lines
15 KiB
HTML
295 lines
15 KiB
HTML
|
<!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: geos::simplify::TaggedLinesSimplifier Class Reference</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
|
||
|
 <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 Page</span></a></li>
|
||
|
<li><a href="pages.html"><span>Related 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 id="navrow2" class="tabs2">
|
||
|
<ul class="tablist">
|
||
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
||
|
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
|
||
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div id="nav-path" class="navpath">
|
||
|
<ul>
|
||
|
<li class="navelem"><a class="el" href="namespacegeos.html">geos</a></li><li class="navelem"><a class="el" href="namespacegeos_1_1simplify.html">simplify</a></li><li class="navelem"><a class="el" href="classgeos_1_1simplify_1_1TaggedLinesSimplifier.html">TaggedLinesSimplifier</a></li> </ul>
|
||
|
</div>
|
||
|
</div><!-- top -->
|
||
|
<div class="header">
|
||
|
<div class="summary">
|
||
|
<a href="#pub-methods">Public Member Functions</a> |
|
||
|
<a href="#pri-methods">Private Member Functions</a> |
|
||
|
<a href="#pri-attribs">Private Attributes</a> |
|
||
|
<a href="classgeos_1_1simplify_1_1TaggedLinesSimplifier-members.html">List of all members</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<div class="title">geos::simplify::TaggedLinesSimplifier Class Reference</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
|
||
|
<p>Simplifies a collection of TaggedLineStrings, preserving topology (in the sense that no new intersections are introduced).
|
||
|
<a href="classgeos_1_1simplify_1_1TaggedLinesSimplifier.html#details">More...</a></p>
|
||
|
|
||
|
<p><code>#include <<a class="el" href="TaggedLinesSimplifier_8h_source.html">TaggedLinesSimplifier.h</a>></code></p>
|
||
|
<table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||
|
Public Member Functions</h2></td></tr>
|
||
|
<tr class="memitem:aacb4a472db7489498bab20b2469bb9fb"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1simplify_1_1TaggedLinesSimplifier.html#aacb4a472db7489498bab20b2469bb9fb">TaggedLinesSimplifier</a> ()</td></tr>
|
||
|
<tr class="separator:aacb4a472db7489498bab20b2469bb9fb"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ad15b9d648ed52c7130eca6750576ded4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1simplify_1_1TaggedLinesSimplifier.html#ad15b9d648ed52c7130eca6750576ded4">setDistanceTolerance</a> (double tolerance)</td></tr>
|
||
|
<tr class="memdesc:ad15b9d648ed52c7130eca6750576ded4"><td class="mdescLeft"> </td><td class="mdescRight">Sets the distance tolerance for the simplification. <a href="#ad15b9d648ed52c7130eca6750576ded4">More...</a><br /></td></tr>
|
||
|
<tr class="separator:ad15b9d648ed52c7130eca6750576ded4"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:add2b72048f396af3735fa6628f3496ab"><td class="memTemplParams" colspan="2">template<class iterator_type > </td></tr>
|
||
|
<tr class="memitem:add2b72048f396af3735fa6628f3496ab"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classgeos_1_1simplify_1_1TaggedLinesSimplifier.html#add2b72048f396af3735fa6628f3496ab">simplify</a> (iterator_type begin, iterator_type end)</td></tr>
|
||
|
<tr class="memdesc:add2b72048f396af3735fa6628f3496ab"><td class="mdescLeft"> </td><td class="mdescRight">Simplify a set of <a class="el" href="classgeos_1_1simplify_1_1TaggedLineString.html">TaggedLineString</a>s. <a href="#add2b72048f396af3735fa6628f3496ab">More...</a><br /></td></tr>
|
||
|
<tr class="separator:add2b72048f396af3735fa6628f3496ab"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
|
||
|
Private Member Functions</h2></td></tr>
|
||
|
<tr class="memitem:a8750ad665d50e1cf0858cdae0d82201c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1simplify_1_1TaggedLinesSimplifier.html#a8750ad665d50e1cf0858cdae0d82201c">simplify</a> (<a class="el" href="classgeos_1_1simplify_1_1TaggedLineString.html">TaggedLineString</a> &line)</td></tr>
|
||
|
<tr class="separator:a8750ad665d50e1cf0858cdae0d82201c"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
|
||
|
Private Attributes</h2></td></tr>
|
||
|
<tr class="memitem:a63cb43d148a563c334608374bce3c00d"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< <a class="el" href="classgeos_1_1simplify_1_1LineSegmentIndex.html">LineSegmentIndex</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1simplify_1_1TaggedLinesSimplifier.html#a63cb43d148a563c334608374bce3c00d">inputIndex</a></td></tr>
|
||
|
<tr class="separator:a63cb43d148a563c334608374bce3c00d"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aea09af66cc113b9c55a4fe6599721696"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< <a class="el" href="classgeos_1_1simplify_1_1LineSegmentIndex.html">LineSegmentIndex</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1simplify_1_1TaggedLinesSimplifier.html#aea09af66cc113b9c55a4fe6599721696">outputIndex</a></td></tr>
|
||
|
<tr class="separator:aea09af66cc113b9c55a4fe6599721696"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a2be5ad1d7e2ab46d812e2f1444e303f0"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< <a class="el" href="classgeos_1_1simplify_1_1TaggedLineStringSimplifier.html">TaggedLineStringSimplifier</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1simplify_1_1TaggedLinesSimplifier.html#a2be5ad1d7e2ab46d812e2f1444e303f0">taggedlineSimplifier</a></td></tr>
|
||
|
<tr class="separator:a2be5ad1d7e2ab46d812e2f1444e303f0"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||
|
<div class="textblock"><p>Simplifies a collection of TaggedLineStrings, preserving topology (in the sense that no new intersections are introduced). </p>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="TaggedLinesSimplifier_8h_source.html#l00056">56</a> of file <a class="el" href="TaggedLinesSimplifier_8h_source.html">TaggedLinesSimplifier.h</a>.</p>
|
||
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||
|
<a class="anchor" id="aacb4a472db7489498bab20b2469bb9fb"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::simplify::TaggedLinesSimplifier::TaggedLinesSimplifier </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Function Documentation</h2>
|
||
|
<a class="anchor" id="ad15b9d648ed52c7130eca6750576ded4"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::simplify::TaggedLinesSimplifier::setDistanceTolerance </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>tolerance</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Sets the distance tolerance for the simplification. </p>
|
||
|
<p>All vertices in the simplified geometry will be within this distance of the original geometry.</p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">tolerance</td><td>the approximation tolerance to use </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="add2b72048f396af3735fa6628f3496ab"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<div class="memtemplate">
|
||
|
template<class iterator_type > </div>
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::simplify::TaggedLinesSimplifier::simplify </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">iterator_type </td>
|
||
|
<td class="paramname"><em>begin</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">iterator_type </td>
|
||
|
<td class="paramname"><em>end</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Simplify a set of <a class="el" href="classgeos_1_1simplify_1_1TaggedLineString.html">TaggedLineString</a>s. </p>
|
||
|
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
||
|
<table class="tparams">
|
||
|
<tr><td class="paramname">iterator_type</td><td>an iterator, must support assignment, increment, inequality and dereference operators. Dereference operator must return a <code>TaggedLineString*</code>. </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">begin</td><td>iterator to the first element to be simplified. </td></tr>
|
||
|
<tr><td class="paramname">end</td><td>an iterator to one-past-last element to be simplified. </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="TaggedLinesSimplifier_8h_source.html#l00083">83</a> of file <a class="el" href="TaggedLinesSimplifier_8h_source.html">TaggedLinesSimplifier.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a8750ad665d50e1cf0858cdae0d82201c"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::simplify::TaggedLinesSimplifier::simplify </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1simplify_1_1TaggedLineString.html">TaggedLineString</a> & </td>
|
||
|
<td class="paramname"><em>line</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Data Documentation</h2>
|
||
|
<a class="anchor" id="a63cb43d148a563c334608374bce3c00d"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::unique_ptr<<a class="el" href="classgeos_1_1simplify_1_1LineSegmentIndex.html">LineSegmentIndex</a>> geos::simplify::TaggedLinesSimplifier::inputIndex</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="TaggedLinesSimplifier_8h_source.html#l00105">105</a> of file <a class="el" href="TaggedLinesSimplifier_8h_source.html">TaggedLinesSimplifier.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="aea09af66cc113b9c55a4fe6599721696"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::unique_ptr<<a class="el" href="classgeos_1_1simplify_1_1LineSegmentIndex.html">LineSegmentIndex</a>> geos::simplify::TaggedLinesSimplifier::outputIndex</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="TaggedLinesSimplifier_8h_source.html#l00107">107</a> of file <a class="el" href="TaggedLinesSimplifier_8h_source.html">TaggedLinesSimplifier.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a2be5ad1d7e2ab46d812e2f1444e303f0"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::unique_ptr<<a class="el" href="classgeos_1_1simplify_1_1TaggedLineStringSimplifier.html">TaggedLineStringSimplifier</a>> geos::simplify::TaggedLinesSimplifier::taggedlineSimplifier</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="TaggedLinesSimplifier_8h_source.html#l00109">109</a> of file <a class="el" href="TaggedLinesSimplifier_8h_source.html">TaggedLinesSimplifier.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
||
|
<li><a class="el" href="TaggedLinesSimplifier_8h_source.html">TaggedLinesSimplifier.h</a></li>
|
||
|
</ul>
|
||
|
</div><!-- contents -->
|
||
|
<!-- start footer part -->
|
||
|
<hr class="footer"/><address class="footer"><small>
|
||
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||
|
</a> 1.8.11
|
||
|
</small></address>
|
||
|
</body>
|
||
|
</html>
|