<!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::simplify::TaggedLinesSimplifier 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 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 class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"> <ul> <li><a class="el" href="namespacegeos.html">geos</a> </li> <li><b>simplify</b> </li> <li><a class="el" href="classgeos_1_1simplify_1_1TaggedLinesSimplifier.html">geos::simplify::TaggedLinesSimplifier</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::simplify::TaggedLinesSimplifier Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="geos::simplify::TaggedLinesSimplifier" --> <p>Simplifies a collection of TaggedLineStrings, preserving topology (in the sense that no new intersections are introduced). <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="TaggedLinesSimplifier_8h_source.html">TaggedLinesSimplifier.h</a>></code></p> <p><a href="classgeos_1_1simplify_1_1TaggedLinesSimplifier-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">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><td class="mdescLeft"> </td><td class="mdescRight">Sets the distance tolerance for the simplification. <a href="#ad15b9d648ed52c7130eca6750576ded4"></a><br/></td></tr> <tr><td class="memTemplParams" colspan="2">template<class iterator_type > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classgeos_1_1simplify_1_1TaggedLinesSimplifier.html#a44526e0154d12eb0cc1e49cf4ca551e2">simplify</a> (iterator_type begin, iterator_type end)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Simplifies a collection of TaggedLineStrings, preserving topology (in the sense that no new intersections are introduced). </p> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="ad15b9d648ed52c7130eca6750576ded4"></a><!-- doxytag: member="geos::simplify::TaggedLinesSimplifier::setDistanceTolerance" ref="ad15b9d648ed52c7130eca6750576ded4" args="(double tolerance)" --> <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><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>tolerance</em> </td><td>the approximation tolerance to use </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a44526e0154d12eb0cc1e49cf4ca551e2"></a><!-- doxytag: member="geos::simplify::TaggedLinesSimplifier::simplify" ref="a44526e0154d12eb0cc1e49cf4ca551e2" args="(iterator_type begin, iterator_type end)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class iterator_type > </div> <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><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [inline]</code></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><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>iterator_type</em> </td><td>an iterator, must support assignment, increment, inequality and dereference operators. Dereference operator must return a TaggedLineString*</td></tr> <tr><td valign="top"></td><td valign="top"><em>begin</em> </td><td>iterator to the first element to be simplified. </td></tr> <tr><td valign="top"></td><td valign="top"><em>end</em> </td><td>an iterator to one-past-last element to be simplified. </td></tr> </table> </dd> </dl> </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> <hr class="footer"/><address class="footer"><small>Generated on Thu Jul 22 2010 for GEOS by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address> </body> </html>