geos_390_docs/classgeos_1_1operation_1_1v...

164 lines
8.4 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::valid::MakeValid 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_1valid.html">valid</a></li><li class="navelem"><a class="el" href="classgeos_1_1operation_1_1valid_1_1MakeValid.html">MakeValid</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_1valid_1_1MakeValid-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">geos::operation::valid::MakeValid Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>The function attempts to create a valid representation of a given invalid geometry without losing any of the input vertices.
<a href="classgeos_1_1operation_1_1valid_1_1MakeValid.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="MakeValid_8h_source.html">MakeValid.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:ae93e2478fc05c9d331c1a0974f98f2df"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1valid_1_1MakeValid.html#ae93e2478fc05c9d331c1a0974f98f2df">MakeValid</a> ()=default</td></tr>
<tr class="memdesc:ae93e2478fc05c9d331c1a0974f98f2df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a <a class="el" href="classgeos_1_1operation_1_1valid_1_1MakeValid.html" title="The function attempts to create a valid representation of a given invalid geometry without losing any...">MakeValid</a> object. <a href="#ae93e2478fc05c9d331c1a0974f98f2df">More...</a><br /></td></tr>
<tr class="separator:ae93e2478fc05c9d331c1a0974f98f2df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2272e30e9e16133d54296fe25a635994"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1operation_1_1valid_1_1MakeValid.html#a2272e30e9e16133d54296fe25a635994">~MakeValid</a> ()=default</td></tr>
<tr class="separator:a2272e30e9e16133d54296fe25a635994"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a078fb5d91d5a325196ed87cdb5d5f04f"><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_1valid_1_1MakeValid.html#a078fb5d91d5a325196ed87cdb5d5f04f">build</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *geom)</td></tr>
<tr class="memdesc:a078fb5d91d5a325196ed87cdb5d5f04f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a valid version of the input geometry. <a href="#a078fb5d91d5a325196ed87cdb5d5f04f">More...</a><br /></td></tr>
<tr class="separator:a078fb5d91d5a325196ed87cdb5d5f04f"><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>The function attempts to create a valid representation of a given invalid geometry without losing any of the input vertices. </p>
<p>Already-valid geometries are returned without further intervention.</p>
<p>Supported inputs are: POINTS, MULTIPOINTS, LINESTRINGS, MULTILINESTRINGS, POLYGONS, MULTIPOLYGONS and GEOMETRYCOLLECTIONS containing any mix of them.</p>
<p>In case of full or partial dimensional collapses, the output geometry may be a collection of lower-to-equal dimension geometries or a geometry of lower dimension.</p>
<p>Single polygons may become multi-geometries in case of self-intersections. </p>
<p>Definition at line <a class="el" href="MakeValid_8h_source.html#l00056">56</a> of file <a class="el" href="MakeValid_8h_source.html">MakeValid.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ae93e2478fc05c9d331c1a0974f98f2df"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">geos::operation::valid::MakeValid::MakeValid </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_1valid_1_1MakeValid.html" title="The function attempts to create a valid representation of a given invalid geometry without losing any...">MakeValid</a> object. </p>
</div>
</div>
<a class="anchor" id="a2272e30e9e16133d54296fe25a635994"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">geos::operation::valid::MakeValid::~MakeValid </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="a078fb5d91d5a325196ed87cdb5d5f04f"></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::valid::MakeValid::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 a valid version 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="MakeValid_8h_source.html">MakeValid.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>