geos_390_docs/classgeos_1_1operation_1_1p...

163 lines
8.3 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::BuildArea 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
&#160;<span id="projectnumber">3.9.1dev</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li 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&#160;List</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;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_1BuildArea.html">BuildArea</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classgeos_1_1operation_1_1polygonize_1_1BuildArea-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">geos::operation::polygonize::BuildArea Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Creates an areal geometry formed by the constituent linework of given geometry.
<a href="classgeos_1_1operation_1_1polygonize_1_1BuildArea.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="BuildArea_8h_source.html">BuildArea.h</a>&gt;</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:aba3daa4ef6ba19fd8c483b918aaedebb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1BuildArea.html#aba3daa4ef6ba19fd8c483b918aaedebb">BuildArea</a> ()=default</td></tr>
<tr class="memdesc:aba3daa4ef6ba19fd8c483b918aaedebb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a <a class="el" href="classgeos_1_1operation_1_1polygonize_1_1BuildArea.html" title="Creates an areal geometry formed by the constituent linework of given geometry. ">BuildArea</a> object. <a href="#aba3daa4ef6ba19fd8c483b918aaedebb">More...</a><br /></td></tr>
<tr class="separator:aba3daa4ef6ba19fd8c483b918aaedebb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a290e98f4a5b8b354806d9fc71e0b66c0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1BuildArea.html#a290e98f4a5b8b354806d9fc71e0b66c0">~BuildArea</a> ()=default</td></tr>
<tr class="separator:a290e98f4a5b8b354806d9fc71e0b66c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae555b1e1cfccb46170ee3299840a7326"><td class="memItemLeft" align="right" valign="top">std::unique_ptr&lt; <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1polygonize_1_1BuildArea.html#ae555b1e1cfccb46170ee3299840a7326">build</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *geom)</td></tr>
<tr class="memdesc:ae555b1e1cfccb46170ee3299840a7326"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the area built fromthe constituent linework of the input geometry. <a href="#ae555b1e1cfccb46170ee3299840a7326">More...</a><br /></td></tr>
<tr class="separator:ae555b1e1cfccb46170ee3299840a7326"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Creates an areal geometry formed by the constituent linework of given geometry. </p>
<p>The return type can be a Polygon or MultiPolygon, depending on input. If the input lineworks do not form polygons NULL is returned. The inputs can be LINESTRINGS, MULTILINESTRINGS, POLYGONS, MULTIPOLYGONS, and GeometryCollections.</p>
<p>This algorithm will assume all inner geometries represent holes</p>
<p>This is the equivalent of the PostGIS ST_BuildArea() function. </p>
<p>Definition at line <a class="el" href="BuildArea_8h_source.html#l00055">55</a> of file <a class="el" href="BuildArea_8h_source.html">BuildArea.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aba3daa4ef6ba19fd8c483b918aaedebb"></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::BuildArea::BuildArea </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">
<p>Create a <a class="el" href="classgeos_1_1operation_1_1polygonize_1_1BuildArea.html" title="Creates an areal geometry formed by the constituent linework of given geometry. ">BuildArea</a> object. </p>
</div>
</div>
<a class="anchor" id="a290e98f4a5b8b354806d9fc71e0b66c0"></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::BuildArea::~BuildArea </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="ae555b1e1cfccb46170ee3299840a7326"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::unique_ptr&lt;<a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>&gt; geos::operation::polygonize::BuildArea::build </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *&#160;</td>
<td class="paramname"><em>geom</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the area built fromthe constituent linework of the input geometry. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="BuildArea_8h_source.html">BuildArea.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>