399 lines
23 KiB
HTML
399 lines
23 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::noding::snapround::SnapRoundingIntersectionAdder 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_1noding.html">noding</a></li><li class="navelem"><a class="el" href="namespacegeos_1_1noding_1_1snapround.html">snapround</a></li><li class="navelem"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1SnapRoundingIntersectionAdder.html">SnapRoundingIntersectionAdder</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="#pri-static-attribs">Static Private Attributes</a> |
|
||
|
<a href="classgeos_1_1noding_1_1snapround_1_1SnapRoundingIntersectionAdder-members.html">List of all members</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<div class="title">geos::noding::snapround::SnapRoundingIntersectionAdder Class Reference</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
|
||
|
<p><code>#include <<a class="el" href="SnapRoundingIntersectionAdder_8h_source.html">SnapRoundingIntersectionAdder.h</a>></code></p>
|
||
|
<div class="dynheader">
|
||
|
Inheritance diagram for geos::noding::snapround::SnapRoundingIntersectionAdder:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1noding_1_1snapround_1_1SnapRoundingIntersectionAdder__inherit__graph.svg" width="250" height="131"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||
|
</div>
|
||
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
||
|
<div class="dynheader">
|
||
|
Collaboration diagram for geos::noding::snapround::SnapRoundingIntersectionAdder:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1noding_1_1snapround_1_1SnapRoundingIntersectionAdder__coll__graph.svg" width="590" height="255"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||
|
</div>
|
||
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
||
|
<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:a86b29c45e0a31a9debccf1ea3b964fdf"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1SnapRoundingIntersectionAdder.html#a86b29c45e0a31a9debccf1ea3b964fdf">SnapRoundingIntersectionAdder</a> (const <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html">geom::PrecisionModel</a> *newPm)</td></tr>
|
||
|
<tr class="separator:a86b29c45e0a31a9debccf1ea3b964fdf"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a3b0d84f8e0188d0f8ff816fcd188bef5"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< std::vector< <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1SnapRoundingIntersectionAdder.html#a3b0d84f8e0188d0f8ff816fcd188bef5">getIntersections</a> ()</td></tr>
|
||
|
<tr class="separator:a3b0d84f8e0188d0f8ff816fcd188bef5"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:abe71f1c3b90735618af19808d8715116"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1SnapRoundingIntersectionAdder.html#abe71f1c3b90735618af19808d8715116">processIntersections</a> (<a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> *e0, size_t segIndex0, <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> *e1, size_t segIndex1) override</td></tr>
|
||
|
<tr class="separator:abe71f1c3b90735618af19808d8715116"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a46913b592e89d6c6693ff0105c6250d2"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1SnapRoundingIntersectionAdder.html#a46913b592e89d6c6693ff0105c6250d2">isDone</a> () const override</td></tr>
|
||
|
<tr class="separator:a46913b592e89d6c6693ff0105c6250d2"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="inherit_header pub_methods_classgeos_1_1noding_1_1SegmentIntersector"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classgeos_1_1noding_1_1SegmentIntersector')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html">geos::noding::SegmentIntersector</a></td></tr>
|
||
|
<tr class="memitem:abaed578d309e9cc6816f532a12e6019e inherit pub_methods_classgeos_1_1noding_1_1SegmentIntersector"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html#abaed578d309e9cc6816f532a12e6019e">~SegmentIntersector</a> ()</td></tr>
|
||
|
<tr class="separator:abaed578d309e9cc6816f532a12e6019e inherit pub_methods_classgeos_1_1noding_1_1SegmentIntersector"><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:a02bc62c4f96397d01355f41024ae786d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1SnapRoundingIntersectionAdder.html#a02bc62c4f96397d01355f41024ae786d">processNearVertex</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &p, <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> *edge, size_t segIndex, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &p0, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &p1)</td></tr>
|
||
|
<tr class="separator:a02bc62c4f96397d01355f41024ae786d"><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:a693dfb91bd54d0f522375e4540fa1b11"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1algorithm_1_1LineIntersector.html">algorithm::LineIntersector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1SnapRoundingIntersectionAdder.html#a693dfb91bd54d0f522375e4540fa1b11">li</a></td></tr>
|
||
|
<tr class="separator:a693dfb91bd54d0f522375e4540fa1b11"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a283fa08ee9894d2eee36c74dd4a1f0bb"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< std::vector< <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1SnapRoundingIntersectionAdder.html#a283fa08ee9894d2eee36c74dd4a1f0bb">intersections</a></td></tr>
|
||
|
<tr class="separator:a283fa08ee9894d2eee36c74dd4a1f0bb"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:af9df99a17b5d8ced9cb90a6d033b3f3e"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1SnapRoundingIntersectionAdder.html#af9df99a17b5d8ced9cb90a6d033b3f3e">nearnessTol</a></td></tr>
|
||
|
<tr class="separator:af9df99a17b5d8ced9cb90a6d033b3f3e"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-attribs"></a>
|
||
|
Static Private Attributes</h2></td></tr>
|
||
|
<tr class="memitem:a6698f3a1ad24c3c96aeba0b63371d6bf"><td class="memItemLeft" align="right" valign="top">static constexpr int </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1snapround_1_1SnapRoundingIntersectionAdder.html#a6698f3a1ad24c3c96aeba0b63371d6bf">NEARNESS_FACTOR</a> = 100</td></tr>
|
||
|
<tr class="separator:a6698f3a1ad24c3c96aeba0b63371d6bf"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
|
||
|
Additional Inherited Members</h2></td></tr>
|
||
|
<tr class="inherit_header pro_methods_classgeos_1_1noding_1_1SegmentIntersector"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classgeos_1_1noding_1_1SegmentIntersector')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html">geos::noding::SegmentIntersector</a></td></tr>
|
||
|
<tr class="memitem:aad5d64d5214d60e5e867379dc7d9c9ea inherit pro_methods_classgeos_1_1noding_1_1SegmentIntersector"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html#aad5d64d5214d60e5e867379dc7d9c9ea">SegmentIntersector</a> ()</td></tr>
|
||
|
<tr class="separator:aad5d64d5214d60e5e867379dc7d9c9ea inherit pro_methods_classgeos_1_1noding_1_1SegmentIntersector"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||
|
<div class="textblock"><p>Finds intersections between line segments which will be snap-rounded, and adds them as nodes to the segments.</p>
|
||
|
<p>Intersections are detected and computed using full precision. Snapping takes place in a subsequent phase.</p>
|
||
|
<p>The intersection points are recorded, so that HotPixels can be created for them.</p>
|
||
|
<p>To avoid robustness issues with vertices which lie very close to line segments a heuristic is used: nodes are created if a vertex lies within a tolerance distance of the interior of a segment. The tolerance distance is chosen to be significantly below the snap-rounding grid size. This has empirically proven to eliminate noding failures. </p>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="SnapRoundingIntersectionAdder_8h_source.html#l00065">65</a> of file <a class="el" href="SnapRoundingIntersectionAdder_8h_source.html">SnapRoundingIntersectionAdder.h</a>.</p>
|
||
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||
|
<a class="anchor" id="a86b29c45e0a31a9debccf1ea3b964fdf"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::noding::snapround::SnapRoundingIntersectionAdder::SnapRoundingIntersectionAdder </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1PrecisionModel.html">geom::PrecisionModel</a> * </td>
|
||
|
<td class="paramname"><em>newPm</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Function Documentation</h2>
|
||
|
<a class="anchor" id="a3b0d84f8e0188d0f8ff816fcd188bef5"></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<std::vector<<a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>> > geos::noding::snapround::SnapRoundingIntersectionAdder::getIntersections </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></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>Definition at line <a class="el" href="SnapRoundingIntersectionAdder_8h_source.html#l00100">100</a> of file <a class="el" href="SnapRoundingIntersectionAdder_8h_source.html">SnapRoundingIntersectionAdder.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a46913b592e89d6c6693ff0105c6250d2"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::noding::snapround::SnapRoundingIntersectionAdder::isDone </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Always process all intersections </p>
|
||
|
|
||
|
<p>Reimplemented from <a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html#a2402e2ce3a39edad9f5d283be73b5d1d">geos::noding::SegmentIntersector</a>.</p>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="SnapRoundingIntersectionAdder_8h_source.html#l00116">116</a> of file <a class="el" href="SnapRoundingIntersectionAdder_8h_source.html">SnapRoundingIntersectionAdder.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="abe71f1c3b90735618af19808d8715116"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::noding::snapround::SnapRoundingIntersectionAdder::processIntersections </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> * </td>
|
||
|
<td class="paramname"><em>e0</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">size_t </td>
|
||
|
<td class="paramname"><em>segIndex0</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> * </td>
|
||
|
<td class="paramname"><em>e1</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">size_t </td>
|
||
|
<td class="paramname"><em>segIndex1</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">override</span><span class="mlabel">virtual</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>This method is called by clients of the <a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html">SegmentIntersector</a> class to process intersections for two segments of the <a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a>s being intersected. Note that some clients (such as MonotoneChains) may optimize away this call for segment pairs which they have determined do not intersect (e.g. by an disjoint envelope test). </p>
|
||
|
|
||
|
<p>Implements <a class="el" href="classgeos_1_1noding_1_1SegmentIntersector.html#ab37c13c8ccf0a75ad60df76fab4e4175">geos::noding::SegmentIntersector</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a02bc62c4f96397d01355f41024ae786d"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::noding::snapround::SnapRoundingIntersectionAdder::processNearVertex </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>p</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1noding_1_1SegmentString.html">SegmentString</a> * </td>
|
||
|
<td class="paramname"><em>edge</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">size_t </td>
|
||
|
<td class="paramname"><em>segIndex</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>p0</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>p1</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">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>If an endpoint of one segment is near the interior of the other segment, add it as an intersection. EXCEPT if the endpoint is also close to a segment endpoint (since this can introduce "zigs" in the linework).</p>
|
||
|
<p>This resolves situations where a segment A endpoint is extremely close to another segment B, but is not quite crossing. Due to robustness issues in orientation detection, this can result in the snapped segment A crossing segment B without a node being introduced. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Data Documentation</h2>
|
||
|
<a class="anchor" id="a283fa08ee9894d2eee36c74dd4a1f0bb"></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<std::vector<<a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>> > geos::noding::snapround::SnapRoundingIntersectionAdder::intersections</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="SnapRoundingIntersectionAdder_8h_source.html#l00075">75</a> of file <a class="el" href="SnapRoundingIntersectionAdder_8h_source.html">SnapRoundingIntersectionAdder.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a693dfb91bd54d0f522375e4540fa1b11"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname"><a class="el" href="classgeos_1_1algorithm_1_1LineIntersector.html">algorithm::LineIntersector</a> geos::noding::snapround::SnapRoundingIntersectionAdder::li</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="SnapRoundingIntersectionAdder_8h_source.html#l00074">74</a> of file <a class="el" href="SnapRoundingIntersectionAdder_8h_source.html">SnapRoundingIntersectionAdder.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a6698f3a1ad24c3c96aeba0b63371d6bf"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">constexpr int geos::noding::snapround::SnapRoundingIntersectionAdder::NEARNESS_FACTOR = 100</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>The division factor used to determine nearness distance tolerance for interior intersection detection. </p>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="SnapRoundingIntersectionAdder_8h_source.html#l00072">72</a> of file <a class="el" href="SnapRoundingIntersectionAdder_8h_source.html">SnapRoundingIntersectionAdder.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="af9df99a17b5d8ced9cb90a6d033b3f3e"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">double geos::noding::snapround::SnapRoundingIntersectionAdder::nearnessTol</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="SnapRoundingIntersectionAdder_8h_source.html#l00077">77</a> of file <a class="el" href="SnapRoundingIntersectionAdder_8h_source.html">SnapRoundingIntersectionAdder.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
||
|
<li><a class="el" href="SnapRoundingIntersectionAdder_8h_source.html">SnapRoundingIntersectionAdder.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>
|