923 lines
50 KiB
HTML
923 lines
50 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::operation::polygonize::Polygonizer 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_1operation.html">operation</a></li><li class="navelem"><a class="el" href="namespacegeos_1_1operation_1_1polygonize.html">polygonize</a></li><li class="navelem"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html">Polygonizer</a></li> </ul>
|
||
|
</div>
|
||
|
</div><!-- top -->
|
||
|
<div class="header">
|
||
|
<div class="summary">
|
||
|
<a href="#nested-classes">Classes</a> |
|
||
|
<a href="#pub-methods">Public Member Functions</a> |
|
||
|
<a href="#pro-attribs">Protected Attributes</a> |
|
||
|
<a href="#pri-methods">Private Member Functions</a> |
|
||
|
<a href="#pri-static-methods">Static Private Member Functions</a> |
|
||
|
<a href="#pri-attribs">Private Attributes</a> |
|
||
|
<a href="#friends">Friends</a> |
|
||
|
<a href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer-members.html">List of all members</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<div class="title">geos::operation::polygonize::Polygonizer Class Reference</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
|
||
|
<p>Polygonizes a set of Geometrys which contain linework that represents the edges of a planar graph.
|
||
|
<a href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#details">More...</a></p>
|
||
|
|
||
|
<p><code>#include <<a class="el" href="Polygonizer_8h_source.html">Polygonizer.h</a>></code></p>
|
||
|
<div class="dynheader">
|
||
|
Collaboration diagram for geos::operation::polygonize::Polygonizer:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1operation_1_1polygonize_1_1Polygonizer__coll__graph.svg" width="475" height="163"><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="nested-classes"></a>
|
||
|
Classes</h2></td></tr>
|
||
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer_1_1LineStringAdder.html">LineStringAdder</a></td></tr>
|
||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><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:a5013ff858a03f387fa026a0b8e9b781a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#a5013ff858a03f387fa026a0b8e9b781a">Polygonizer</a> (bool onlyPolygonal=false)</td></tr>
|
||
|
<tr class="memdesc:a5013ff858a03f387fa026a0b8e9b781a"><td class="mdescLeft"> </td><td class="mdescRight">Create a <a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html" title="Polygonizes a set of Geometrys which contain linework that represents the edges of a planar graph...">Polygonizer</a> with the same GeometryFactory as the input Geometrys. <a href="#a5013ff858a03f387fa026a0b8e9b781a">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a5013ff858a03f387fa026a0b8e9b781a"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a8fd123601c69ff8ab71d9fdc1e5e60a3"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#a8fd123601c69ff8ab71d9fdc1e5e60a3">~Polygonizer</a> ()=default</td></tr>
|
||
|
<tr class="separator:a8fd123601c69ff8ab71d9fdc1e5e60a3"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ad4faf520a6b996535440cf368878012f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#ad4faf520a6b996535440cf368878012f">add</a> (std::vector< <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * > *geomList)</td></tr>
|
||
|
<tr class="memdesc:ad4faf520a6b996535440cf368878012f"><td class="mdescLeft"> </td><td class="mdescRight">Add a collection of geometries to be polygonized. May be called multiple times. Any dimension of Geometry may be added; the constituent linework will be extracted and used. <a href="#ad4faf520a6b996535440cf368878012f">More...</a><br /></td></tr>
|
||
|
<tr class="separator:ad4faf520a6b996535440cf368878012f"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a3d6eba30fe37c83c036fe7c25f0624fa"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#a3d6eba30fe37c83c036fe7c25f0624fa">add</a> (std::vector< const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * > *geomList)</td></tr>
|
||
|
<tr class="memdesc:a3d6eba30fe37c83c036fe7c25f0624fa"><td class="mdescLeft"> </td><td class="mdescRight">Add a collection of geometries to be polygonized. May be called multiple times. Any dimension of Geometry may be added; the constituent linework will be extracted and used. <a href="#a3d6eba30fe37c83c036fe7c25f0624fa">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a3d6eba30fe37c83c036fe7c25f0624fa"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a7b1fb0421e283c019beccb32bd9fa313"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#a7b1fb0421e283c019beccb32bd9fa313">add</a> (<a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *g)</td></tr>
|
||
|
<tr class="separator:a7b1fb0421e283c019beccb32bd9fa313"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a55c8d19b82467e50c7728103e0cf4fd3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#a55c8d19b82467e50c7728103e0cf4fd3">add</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *g)</td></tr>
|
||
|
<tr class="separator:a55c8d19b82467e50c7728103e0cf4fd3"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:accd244bb3b17a1601b1ed69e92af4208"><td class="memItemLeft" align="right" valign="top">std::vector< std::unique_ptr< <a class="el" href="classgeos_1_1geom_1_1Polygon.html">geom::Polygon</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#accd244bb3b17a1601b1ed69e92af4208">getPolygons</a> ()</td></tr>
|
||
|
<tr class="memdesc:accd244bb3b17a1601b1ed69e92af4208"><td class="mdescLeft"> </td><td class="mdescRight">Gets the list of polygons formed by the polygonization. <a href="#accd244bb3b17a1601b1ed69e92af4208">More...</a><br /></td></tr>
|
||
|
<tr class="separator:accd244bb3b17a1601b1ed69e92af4208"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a43ae3cc833a832b43986236d982ae2db"><td class="memItemLeft" align="right" valign="top">const std::vector< const <a class="el" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</a> * > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#a43ae3cc833a832b43986236d982ae2db">getDangles</a> ()</td></tr>
|
||
|
<tr class="memdesc:a43ae3cc833a832b43986236d982ae2db"><td class="mdescLeft"> </td><td class="mdescRight">Get the list of dangling lines found during polygonization. <a href="#a43ae3cc833a832b43986236d982ae2db">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a43ae3cc833a832b43986236d982ae2db"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ab22e876dd816f34884263ef8ce3abc90"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#ab22e876dd816f34884263ef8ce3abc90">hasDangles</a> ()</td></tr>
|
||
|
<tr class="separator:ab22e876dd816f34884263ef8ce3abc90"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ab8393d7c2be26585c89f7edc247da45c"><td class="memItemLeft" align="right" valign="top">const std::vector< const <a class="el" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</a> * > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#ab8393d7c2be26585c89f7edc247da45c">getCutEdges</a> ()</td></tr>
|
||
|
<tr class="memdesc:ab8393d7c2be26585c89f7edc247da45c"><td class="mdescLeft"> </td><td class="mdescRight">Get the list of cut edges found during polygonization. <a href="#ab8393d7c2be26585c89f7edc247da45c">More...</a><br /></td></tr>
|
||
|
<tr class="separator:ab8393d7c2be26585c89f7edc247da45c"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ad7213ba16fce7e3de7458451204cc294"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#ad7213ba16fce7e3de7458451204cc294">hasCutEdges</a> ()</td></tr>
|
||
|
<tr class="separator:ad7213ba16fce7e3de7458451204cc294"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a84d1a409d441add8030e80664282fa63"><td class="memItemLeft" align="right" valign="top">const std::vector< std::unique_ptr< <a class="el" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</a> > > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#a84d1a409d441add8030e80664282fa63">getInvalidRingLines</a> ()</td></tr>
|
||
|
<tr class="memdesc:a84d1a409d441add8030e80664282fa63"><td class="mdescLeft"> </td><td class="mdescRight">Get the list of lines forming invalid rings found during polygonization. <a href="#a84d1a409d441add8030e80664282fa63">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a84d1a409d441add8030e80664282fa63"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a1826ff6d7176af121c8a96995390f2a9"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#a1826ff6d7176af121c8a96995390f2a9">hasInvalidRingLines</a> ()</td></tr>
|
||
|
<tr class="separator:a1826ff6d7176af121c8a96995390f2a9"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a492253534b6e9f523ddb226222f56e16"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#a492253534b6e9f523ddb226222f56e16">allInputsFormPolygons</a> ()</td></tr>
|
||
|
<tr class="separator:a492253534b6e9f523ddb226222f56e16"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
|
||
|
Protected Attributes</h2></td></tr>
|
||
|
<tr class="memitem:ad6beec393943e173e2d0fcce33da1e1a"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< <a class="el" href="classgeos_1_1operation_1_1polygonize_1_1PolygonizeGraph.html">PolygonizeGraph</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#ad6beec393943e173e2d0fcce33da1e1a">graph</a></td></tr>
|
||
|
<tr class="separator:ad6beec393943e173e2d0fcce33da1e1a"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a6b79ee79263dbd21b13f1c5f8e905a91"><td class="memItemLeft" align="right" valign="top">std::vector< const <a class="el" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#a6b79ee79263dbd21b13f1c5f8e905a91">dangles</a></td></tr>
|
||
|
<tr class="separator:a6b79ee79263dbd21b13f1c5f8e905a91"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ac9f75481fd14fcb2f6ccc8f61a0c9534"><td class="memItemLeft" align="right" valign="top">std::vector< const <a class="el" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#ac9f75481fd14fcb2f6ccc8f61a0c9534">cutEdges</a></td></tr>
|
||
|
<tr class="separator:ac9f75481fd14fcb2f6ccc8f61a0c9534"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ab8ebf8ee4d1f46b4c04b5f5486c7dc90"><td class="memItemLeft" align="right" valign="top">std::vector< std::unique_ptr< <a class="el" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#ab8ebf8ee4d1f46b4c04b5f5486c7dc90">invalidRingLines</a></td></tr>
|
||
|
<tr class="separator:ab8ebf8ee4d1f46b4c04b5f5486c7dc90"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a3cd1e4c5f6605c2bf0aef135087007c9"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="classgeos_1_1operation_1_1polygonize_1_1EdgeRing.html">EdgeRing</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#a3cd1e4c5f6605c2bf0aef135087007c9">holeList</a></td></tr>
|
||
|
<tr class="separator:a3cd1e4c5f6605c2bf0aef135087007c9"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a3b6361191173fa4fd2ad6c61bb1f02c8"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="classgeos_1_1operation_1_1polygonize_1_1EdgeRing.html">EdgeRing</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#a3b6361191173fa4fd2ad6c61bb1f02c8">shellList</a></td></tr>
|
||
|
<tr class="separator:a3b6361191173fa4fd2ad6c61bb1f02c8"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:afd17330162ec1a53bccf5db2bdc83012"><td class="memItemLeft" align="right" valign="top">std::vector< std::unique_ptr< <a class="el" href="classgeos_1_1geom_1_1Polygon.html">geom::Polygon</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#afd17330162ec1a53bccf5db2bdc83012">polyList</a></td></tr>
|
||
|
<tr class="separator:afd17330162ec1a53bccf5db2bdc83012"><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:a602784e155353d7b0f270c30363aa20c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#a602784e155353d7b0f270c30363aa20c">add</a> (const <a class="el" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</a> *line)</td></tr>
|
||
|
<tr class="separator:a602784e155353d7b0f270c30363aa20c"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ad1e2ec4ed01b56f88bbd6fe5466314b8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#ad1e2ec4ed01b56f88bbd6fe5466314b8">polygonize</a> ()</td></tr>
|
||
|
<tr class="separator:ad1e2ec4ed01b56f88bbd6fe5466314b8"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:afe360c103f2d295cd5b19f95f2d41e83"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#afe360c103f2d295cd5b19f95f2d41e83">findShellsAndHoles</a> (const std::vector< <a class="el" href="classgeos_1_1operation_1_1polygonize_1_1EdgeRing.html">EdgeRing</a> * > &edgeRingList)</td></tr>
|
||
|
<tr class="separator:afe360c103f2d295cd5b19f95f2d41e83"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a83e6fcaa69593269fa7a0100a3aa22f4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#a83e6fcaa69593269fa7a0100a3aa22f4">findDisjointShells</a> ()</td></tr>
|
||
|
<tr class="separator:a83e6fcaa69593269fa7a0100a3aa22f4"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-methods"></a>
|
||
|
Static Private Member Functions</h2></td></tr>
|
||
|
<tr class="memitem:a7f9f9e1ef538c5a5195feea1ab437e94"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#a7f9f9e1ef538c5a5195feea1ab437e94">findValidRings</a> (const std::vector< <a class="el" href="classgeos_1_1operation_1_1polygonize_1_1EdgeRing.html">EdgeRing</a> * > &edgeRingList, std::vector< <a class="el" href="classgeos_1_1operation_1_1polygonize_1_1EdgeRing.html">EdgeRing</a> * > &validEdgeRingList, std::vector< std::unique_ptr< <a class="el" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</a> >> &invalidRingList)</td></tr>
|
||
|
<tr class="separator:a7f9f9e1ef538c5a5195feea1ab437e94"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aa5786d8aaefe8c539c206736de5cb866"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#aa5786d8aaefe8c539c206736de5cb866">findOuterShells</a> (std::vector< <a class="el" href="classgeos_1_1operation_1_1polygonize_1_1EdgeRing.html">EdgeRing</a> * > &<a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#a3b6361191173fa4fd2ad6c61bb1f02c8">shellList</a>)</td></tr>
|
||
|
<tr class="separator:aa5786d8aaefe8c539c206736de5cb866"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a87ffdcea6e974cd0a8b1b10da8abde34"><td class="memItemLeft" align="right" valign="top">static std::vector< std::unique_ptr< <a class="el" href="classgeos_1_1geom_1_1Polygon.html">geom::Polygon</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#a87ffdcea6e974cd0a8b1b10da8abde34">extractPolygons</a> (std::vector< <a class="el" href="classgeos_1_1operation_1_1polygonize_1_1EdgeRing.html">EdgeRing</a> * > &<a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#a3b6361191173fa4fd2ad6c61bb1f02c8">shellList</a>, bool includeAll)</td></tr>
|
||
|
<tr class="separator:a87ffdcea6e974cd0a8b1b10da8abde34"><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:a35e6592eedfdfc173d0838e3225ad072"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer_1_1LineStringAdder.html">LineStringAdder</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#a35e6592eedfdfc173d0838e3225ad072">lineStringAdder</a></td></tr>
|
||
|
<tr class="separator:a35e6592eedfdfc173d0838e3225ad072"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:acc318d3eb9b9af1bbcccb61bd5df5c56"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#acc318d3eb9b9af1bbcccb61bd5df5c56">extractOnlyPolygonal</a></td></tr>
|
||
|
<tr class="separator:acc318d3eb9b9af1bbcccb61bd5df5c56"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a0bbb351d9e61bb9f40ae3b6896fac707"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#a0bbb351d9e61bb9f40ae3b6896fac707">computed</a></td></tr>
|
||
|
<tr class="separator:a0bbb351d9e61bb9f40ae3b6896fac707"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
|
||
|
Friends</h2></td></tr>
|
||
|
<tr class="memitem:ae56d25e6c5388d3e0eac5c7b4aaa72fb"><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html#ae56d25e6c5388d3e0eac5c7b4aaa72fb">Polygonizer::LineStringAdder</a></td></tr>
|
||
|
<tr class="separator:ae56d25e6c5388d3e0eac5c7b4aaa72fb"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||
|
<div class="textblock"><p>Polygonizes a set of Geometrys which contain linework that represents the edges of a planar graph. </p>
|
||
|
<p>All types of Geometry are accepted as input; the constituent linework is extracted as the edges to be polygonized. The edges must be correctly noded; that is, they must only meet at their endpoints. Polygonization will accept incorrectly noded input but will not form polygons from non-noded edges, and reports them as errors.</p>
|
||
|
<p>The <a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html" title="Polygonizes a set of Geometrys which contain linework that represents the edges of a planar graph...">Polygonizer</a> reports the follow kinds of errors:</p>
|
||
|
<ul>
|
||
|
<li><b>Dangles</b> - edges which have one or both ends which are not incident on another edge endpoint</li>
|
||
|
<li><b>Cut Edges</b> - edges which are connected at both ends but which do not form part of a polygon</li>
|
||
|
<li><p class="startli"><b>Invalid Ring Lines</b> - edges which form rings which are invalid (e.g. the component lines contain a self-intersection)</p>
|
||
|
<p class="startli">The <a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html" title="Polygonizes a set of Geometrys which contain linework that represents the edges of a planar graph...">Polygonizer</a> constructor allows extracting only polygons which form a valid polygonal result. The set of extracted polygons is guaranteed to be edge-disjoint. This is useful when it is known that the input lines form a valid polygonal geometry (which may include holes or nested polygons). </p>
|
||
|
</li>
|
||
|
</ul>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Polygonizer_8h_source.html#l00083">83</a> of file <a class="el" href="Polygonizer_8h_source.html">Polygonizer.h</a>.</p>
|
||
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||
|
<a class="anchor" id="a5013ff858a03f387fa026a0b8e9b781a"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::operation::polygonize::Polygonizer::Polygonizer </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">bool </td>
|
||
|
<td class="paramname"><em>onlyPolygonal</em> = <code>false</code></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Create a <a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer.html" title="Polygonizes a set of Geometrys which contain linework that represents the edges of a planar graph...">Polygonizer</a> with the same GeometryFactory as the input Geometrys. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">onlyPolygonal</td><td>true if only polygons which form a valid polygonal geometry should be extracted </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a8fd123601c69ff8ab71d9fdc1e5e60a3"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::operation::polygonize::Polygonizer::~Polygonizer </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">default</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Function Documentation</h2>
|
||
|
<a class="anchor" id="a602784e155353d7b0f270c30363aa20c"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::operation::polygonize::Polygonizer::add </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</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">
|
||
|
<p>Add a linestring to the graph of polygon edges.</p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">line</td><td>the <a class="el" href="">LineString</a> to add </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ad4faf520a6b996535440cf368878012f"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::operation::polygonize::Polygonizer::add </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">std::vector< <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * > * </td>
|
||
|
<td class="paramname"><em>geomList</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Add a collection of geometries to be polygonized. May be called multiple times. Any dimension of Geometry may be added; the constituent linework will be extracted and used. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">geomList</td><td>a list of Geometry with linework to be polygonized </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a3d6eba30fe37c83c036fe7c25f0624fa"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::operation::polygonize::Polygonizer::add </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">std::vector< const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * > * </td>
|
||
|
<td class="paramname"><em>geomList</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Add a collection of geometries to be polygonized. May be called multiple times. Any dimension of Geometry may be added; the constituent linework will be extracted and used. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">geomList</td><td>a list of Geometry with linework to be polygonized </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a7b1fb0421e283c019beccb32bd9fa313"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::operation::polygonize::Polygonizer::add </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td>
|
||
|
<td class="paramname"><em>g</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Add a geometry to the linework to be polygonized. May be called multiple times. Any dimension of Geometry may be added; the constituent linework will be extracted and used</p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">g</td><td>a Geometry with linework to be polygonized </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a55c8d19b82467e50c7728103e0cf4fd3"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::operation::polygonize::Polygonizer::add </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> * </td>
|
||
|
<td class="paramname"><em>g</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Add a geometry to the linework to be polygonized. May be called multiple times. Any dimension of Geometry may be added; the constituent linework will be extracted and used</p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">g</td><td>a Geometry with linework to be polygonized </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a492253534b6e9f523ddb226222f56e16"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::operation::polygonize::Polygonizer::allInputsFormPolygons </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a87ffdcea6e974cd0a8b1b10da8abde34"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">static std::vector<std::unique_ptr<<a class="el" href="classgeos_1_1geom_1_1Polygon.html">geom::Polygon</a>> > geos::operation::polygonize::Polygonizer::extractPolygons </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">std::vector< <a class="el" href="classgeos_1_1operation_1_1polygonize_1_1EdgeRing.html">EdgeRing</a> * > & </td>
|
||
|
<td class="paramname"><em>shellList</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">bool </td>
|
||
|
<td class="paramname"><em>includeAll</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">static</span><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a83e6fcaa69593269fa7a0100a3aa22f4"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::operation::polygonize::Polygonizer::findDisjointShells </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></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>
|
||
|
<a class="anchor" id="aa5786d8aaefe8c539c206736de5cb866"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">static void geos::operation::polygonize::Polygonizer::findOuterShells </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">std::vector< <a class="el" href="classgeos_1_1operation_1_1polygonize_1_1EdgeRing.html">EdgeRing</a> * > & </td>
|
||
|
<td class="paramname"><em>shellList</em></td><td>)</td>
|
||
|
<td></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">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="afe360c103f2d295cd5b19f95f2d41e83"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::operation::polygonize::Polygonizer::findShellsAndHoles </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const std::vector< <a class="el" href="classgeos_1_1operation_1_1polygonize_1_1EdgeRing.html">EdgeRing</a> * > & </td>
|
||
|
<td class="paramname"><em>edgeRingList</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>
|
||
|
<a class="anchor" id="a7f9f9e1ef538c5a5195feea1ab437e94"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">static void geos::operation::polygonize::Polygonizer::findValidRings </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const std::vector< <a class="el" href="classgeos_1_1operation_1_1polygonize_1_1EdgeRing.html">EdgeRing</a> * > & </td>
|
||
|
<td class="paramname"><em>edgeRingList</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">std::vector< <a class="el" href="classgeos_1_1operation_1_1polygonize_1_1EdgeRing.html">EdgeRing</a> * > & </td>
|
||
|
<td class="paramname"><em>validEdgeRingList</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">std::vector< std::unique_ptr< <a class="el" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</a> >> & </td>
|
||
|
<td class="paramname"><em>invalidRingList</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">static</span><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ab8393d7c2be26585c89f7edc247da45c"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">const std::vector<const <a class="el" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</a>*>& geos::operation::polygonize::Polygonizer::getCutEdges </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Get the list of cut edges found during polygonization. </p>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>a (possibly empty) collection of pointers to the input LineStrings which are cut edges. </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a43ae3cc833a832b43986236d982ae2db"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">const std::vector<const <a class="el" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</a>*>& geos::operation::polygonize::Polygonizer::getDangles </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Get the list of dangling lines found during polygonization. </p>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>a (possibly empty) collection of pointers to the input LineStrings which are dangles. </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a84d1a409d441add8030e80664282fa63"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">const std::vector<std::unique_ptr<<a class="el" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</a>> >& geos::operation::polygonize::Polygonizer::getInvalidRingLines </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Get the list of lines forming invalid rings found during polygonization. </p>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>a (possibly empty) collection of pointers to the input LineStrings which form invalid rings </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="accd244bb3b17a1601b1ed69e92af4208"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::vector<std::unique_ptr<<a class="el" href="classgeos_1_1geom_1_1Polygon.html">geom::Polygon</a>> > geos::operation::polygonize::Polygonizer::getPolygons </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Gets the list of polygons formed by the polygonization. </p>
|
||
|
<p>Ownership of vector is transferred to caller, subsequent calls will return NULL. </p><dl class="section return"><dt>Returns</dt><dd>a collection of Polygons </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ad7213ba16fce7e3de7458451204cc294"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::operation::polygonize::Polygonizer::hasCutEdges </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ab22e876dd816f34884263ef8ce3abc90"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::operation::polygonize::Polygonizer::hasDangles </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a1826ff6d7176af121c8a96995390f2a9"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::operation::polygonize::Polygonizer::hasInvalidRingLines </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ad1e2ec4ed01b56f88bbd6fe5466314b8"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::operation::polygonize::Polygonizer::polygonize </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></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>Perform the polygonization, if it has not already been carried out. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Friends And Related Function Documentation</h2>
|
||
|
<a class="anchor" id="ae56d25e6c5388d3e0eac5c7b4aaa72fb"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">friend class <a class="el" href="classgeos_1_1operation_1_1polygonize_1_1Polygonizer_1_1LineStringAdder.html">Polygonizer::LineStringAdder</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Polygonizer_8h_source.html#l00237">237</a> of file <a class="el" href="Polygonizer_8h_source.html">Polygonizer.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Data Documentation</h2>
|
||
|
<a class="anchor" id="a0bbb351d9e61bb9f40ae3b6896fac707"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::operation::polygonize::Polygonizer::computed</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="Polygonizer_8h_source.html#l00124">124</a> of file <a class="el" href="Polygonizer_8h_source.html">Polygonizer.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ac9f75481fd14fcb2f6ccc8f61a0c9534"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::vector<const <a class="el" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</a>*> geos::operation::polygonize::Polygonizer::cutEdges</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Polygonizer_8h_source.html#l00132">132</a> of file <a class="el" href="Polygonizer_8h_source.html">Polygonizer.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a6b79ee79263dbd21b13f1c5f8e905a91"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::vector<const <a class="el" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</a>*> geos::operation::polygonize::Polygonizer::dangles</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Polygonizer_8h_source.html#l00131">131</a> of file <a class="el" href="Polygonizer_8h_source.html">Polygonizer.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="acc318d3eb9b9af1bbcccb61bd5df5c56"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::operation::polygonize::Polygonizer::extractOnlyPolygonal</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="Polygonizer_8h_source.html#l00123">123</a> of file <a class="el" href="Polygonizer_8h_source.html">Polygonizer.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ad6beec393943e173e2d0fcce33da1e1a"></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_1operation_1_1polygonize_1_1PolygonizeGraph.html">PolygonizeGraph</a>> geos::operation::polygonize::Polygonizer::graph</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Polygonizer_8h_source.html#l00128">128</a> of file <a class="el" href="Polygonizer_8h_source.html">Polygonizer.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a3cd1e4c5f6605c2bf0aef135087007c9"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::vector<<a class="el" href="classgeos_1_1operation_1_1polygonize_1_1EdgeRing.html">EdgeRing</a>*> geos::operation::polygonize::Polygonizer::holeList</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Polygonizer_8h_source.html#l00135">135</a> of file <a class="el" href="Polygonizer_8h_source.html">Polygonizer.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ab8ebf8ee4d1f46b4c04b5f5486c7dc90"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::vector<std::unique_ptr<<a class="el" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</a>> > geos::operation::polygonize::Polygonizer::invalidRingLines</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Polygonizer_8h_source.html#l00133">133</a> of file <a class="el" href="Polygonizer_8h_source.html">Polygonizer.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a35e6592eedfdfc173d0838e3225ad072"></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_1operation_1_1polygonize_1_1Polygonizer_1_1LineStringAdder.html">LineStringAdder</a> geos::operation::polygonize::Polygonizer::lineStringAdder</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="Polygonizer_8h_source.html#l00097">97</a> of file <a class="el" href="Polygonizer_8h_source.html">Polygonizer.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="afd17330162ec1a53bccf5db2bdc83012"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::vector<std::unique_ptr<<a class="el" href="classgeos_1_1geom_1_1Polygon.html">geom::Polygon</a>> > geos::operation::polygonize::Polygonizer::polyList</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Polygonizer_8h_source.html#l00137">137</a> of file <a class="el" href="Polygonizer_8h_source.html">Polygonizer.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a3b6361191173fa4fd2ad6c61bb1f02c8"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::vector<<a class="el" href="classgeos_1_1operation_1_1polygonize_1_1EdgeRing.html">EdgeRing</a>*> geos::operation::polygonize::Polygonizer::shellList</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="Polygonizer_8h_source.html#l00136">136</a> of file <a class="el" href="Polygonizer_8h_source.html">Polygonizer.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
||
|
<li><a class="el" href="Polygonizer_8h_source.html">Polygonizer.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>
|