520 lines
30 KiB
HTML
520 lines
30 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::triangulate::VoronoiDiagramBuilder 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_1triangulate.html">triangulate</a></li><li class="navelem"><a class="el" href="classgeos_1_1triangulate_1_1VoronoiDiagramBuilder.html">VoronoiDiagramBuilder</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-static-methods">Static Private Member Functions</a> |
|
||
|
<a href="#pri-attribs">Private Attributes</a> |
|
||
|
<a href="classgeos_1_1triangulate_1_1VoronoiDiagramBuilder-members.html">List of all members</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<div class="title">geos::triangulate::VoronoiDiagramBuilder Class Reference</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
|
||
|
<p>A utility class which creates Voronoi Diagrams from collections of points.
|
||
|
<a href="classgeos_1_1triangulate_1_1VoronoiDiagramBuilder.html#details">More...</a></p>
|
||
|
|
||
|
<p><code>#include <<a class="el" href="VoronoiDiagramBuilder_8h_source.html">VoronoiDiagramBuilder.h</a>></code></p>
|
||
|
<div class="dynheader">
|
||
|
Collaboration diagram for geos::triangulate::VoronoiDiagramBuilder:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1triangulate_1_1VoronoiDiagramBuilder__coll__graph.svg" width="183" 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="pub-methods"></a>
|
||
|
Public Member Functions</h2></td></tr>
|
||
|
<tr class="memitem:aacbc760b174e37b71e6ca802c9cadea0"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1triangulate_1_1VoronoiDiagramBuilder.html#aacbc760b174e37b71e6ca802c9cadea0">VoronoiDiagramBuilder</a> ()</td></tr>
|
||
|
<tr class="memdesc:aacbc760b174e37b71e6ca802c9cadea0"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new Voronoi diagram builder. <a href="#aacbc760b174e37b71e6ca802c9cadea0">More...</a><br /></td></tr>
|
||
|
<tr class="separator:aacbc760b174e37b71e6ca802c9cadea0"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a00c0ba8bdc2d7cc673328b5c75f9a373"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1triangulate_1_1VoronoiDiagramBuilder.html#a00c0ba8bdc2d7cc673328b5c75f9a373">~VoronoiDiagramBuilder</a> ()=default</td></tr>
|
||
|
<tr class="separator:a00c0ba8bdc2d7cc673328b5c75f9a373"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a6169afe55e5e33caa65273047664e420"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1triangulate_1_1VoronoiDiagramBuilder.html#a6169afe55e5e33caa65273047664e420">setSites</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> &geom)</td></tr>
|
||
|
<tr class="memdesc:a6169afe55e5e33caa65273047664e420"><td class="mdescLeft"> </td><td class="mdescRight">Sets the sites (point or vertices) which will be diagrammed. All vertices of the given geometry will be used as sites. <a href="#a6169afe55e5e33caa65273047664e420">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a6169afe55e5e33caa65273047664e420"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a5993689ded378c5cbc6b7c17558985e9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1triangulate_1_1VoronoiDiagramBuilder.html#a5993689ded378c5cbc6b7c17558985e9">setSites</a> (const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> &coords)</td></tr>
|
||
|
<tr class="memdesc:a5993689ded378c5cbc6b7c17558985e9"><td class="mdescLeft"> </td><td class="mdescRight">Sets the sites (point or vertices) which will be diagrammed from a collection of <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>s. <a href="#a5993689ded378c5cbc6b7c17558985e9">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a5993689ded378c5cbc6b7c17558985e9"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a133000f655c3139370f1171804347ff4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1triangulate_1_1VoronoiDiagramBuilder.html#a133000f655c3139370f1171804347ff4">setClipEnvelope</a> (const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">geom::Envelope</a> *<a class="el" href="classgeos_1_1triangulate_1_1VoronoiDiagramBuilder.html#a7409a56ab4cb8e3229b106fdcd6c2950">clipEnv</a>)</td></tr>
|
||
|
<tr class="memdesc:a133000f655c3139370f1171804347ff4"><td class="mdescLeft"> </td><td class="mdescRight">Sets the envelope to clip the diagram to. <a href="#a133000f655c3139370f1171804347ff4">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a133000f655c3139370f1171804347ff4"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a9b98423ed335cee40c5d9de9d507d21d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1triangulate_1_1VoronoiDiagramBuilder.html#a9b98423ed335cee40c5d9de9d507d21d">setTolerance</a> (double <a class="el" href="classgeos_1_1triangulate_1_1VoronoiDiagramBuilder.html#a10f25b8ada1cdd1da9cda2c87861d5ea">tolerance</a>)</td></tr>
|
||
|
<tr class="memdesc:a9b98423ed335cee40c5d9de9d507d21d"><td class="mdescLeft"> </td><td class="mdescRight">Sets the snapping tolerance which will be used to improved the robustness of the triangulation computation. <a href="#a9b98423ed335cee40c5d9de9d507d21d">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a9b98423ed335cee40c5d9de9d507d21d"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a8290b851cfbda35bff077b775a9e4096"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< <a class="el" href="classgeos_1_1triangulate_1_1quadedge_1_1QuadEdgeSubdivision.html">quadedge::QuadEdgeSubdivision</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1triangulate_1_1VoronoiDiagramBuilder.html#a8290b851cfbda35bff077b775a9e4096">getSubdivision</a> ()</td></tr>
|
||
|
<tr class="memdesc:a8290b851cfbda35bff077b775a9e4096"><td class="mdescLeft"> </td><td class="mdescRight">Gets the <a class="el" href="classgeos_1_1triangulate_1_1quadedge_1_1QuadEdgeSubdivision.html" title="A class that contains the QuadEdges representing a planar subdivision that models a triangulation...">quadedge::QuadEdgeSubdivision</a> which models the computed diagram. <a href="#a8290b851cfbda35bff077b775a9e4096">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a8290b851cfbda35bff077b775a9e4096"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ab0d7c598ba479dfb79d48185ea0a2c34"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< <a class="el" href="classgeos_1_1geom_1_1GeometryCollection.html">geom::GeometryCollection</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1triangulate_1_1VoronoiDiagramBuilder.html#ab0d7c598ba479dfb79d48185ea0a2c34">getDiagram</a> (const <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html">geom::GeometryFactory</a> &geomFact)</td></tr>
|
||
|
<tr class="memdesc:ab0d7c598ba479dfb79d48185ea0a2c34"><td class="mdescLeft"> </td><td class="mdescRight">Gets the faces of the computed diagram as a <a class="el" href="classgeos_1_1geom_1_1GeometryCollection.html" title="Represents a collection of heterogeneous Geometry objects. ">geom::GeometryCollection</a> of <a class="el" href="classgeos_1_1geom_1_1Polygon.html">geom::Polygon</a>s, clipped as specified. <a href="#ab0d7c598ba479dfb79d48185ea0a2c34">More...</a><br /></td></tr>
|
||
|
<tr class="separator:ab0d7c598ba479dfb79d48185ea0a2c34"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a0a05dcb7c09822e9912086ebf5dde98f"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1triangulate_1_1VoronoiDiagramBuilder.html#a0a05dcb7c09822e9912086ebf5dde98f">getDiagramEdges</a> (const <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html">geom::GeometryFactory</a> &geomFact)</td></tr>
|
||
|
<tr class="memdesc:a0a05dcb7c09822e9912086ebf5dde98f"><td class="mdescLeft"> </td><td class="mdescRight">Gets the faces of the computed diagram as a <a class="el" href="classgeos_1_1geom_1_1GeometryCollection.html" title="Represents a collection of heterogeneous Geometry objects. ">geom::GeometryCollection</a> of <a class="el" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</a>s, clipped as specified. <a href="#a0a05dcb7c09822e9912086ebf5dde98f">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a0a05dcb7c09822e9912086ebf5dde98f"><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:a2cb1c90b38dc2b0253f6c70e24bfe154"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1triangulate_1_1VoronoiDiagramBuilder.html#a2cb1c90b38dc2b0253f6c70e24bfe154">create</a> ()</td></tr>
|
||
|
<tr class="separator:a2cb1c90b38dc2b0253f6c70e24bfe154"><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:a4bb33fc555022e461432a599006050b0"><td class="memItemLeft" align="right" valign="top">static std::unique_ptr< <a class="el" href="classgeos_1_1geom_1_1GeometryCollection.html">geom::GeometryCollection</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1triangulate_1_1VoronoiDiagramBuilder.html#a4bb33fc555022e461432a599006050b0">clipGeometryCollection</a> (std::vector< std::unique_ptr< <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> >> &geoms, const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">geom::Envelope</a> &<a class="el" href="classgeos_1_1triangulate_1_1VoronoiDiagramBuilder.html#a7409a56ab4cb8e3229b106fdcd6c2950">clipEnv</a>)</td></tr>
|
||
|
<tr class="separator:a4bb33fc555022e461432a599006050b0"><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:a47aff4ee5f85bae0b867f08c7ad77db6"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1triangulate_1_1VoronoiDiagramBuilder.html#a47aff4ee5f85bae0b867f08c7ad77db6">siteCoords</a></td></tr>
|
||
|
<tr class="separator:a47aff4ee5f85bae0b867f08c7ad77db6"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a10f25b8ada1cdd1da9cda2c87861d5ea"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1triangulate_1_1VoronoiDiagramBuilder.html#a10f25b8ada1cdd1da9cda2c87861d5ea">tolerance</a></td></tr>
|
||
|
<tr class="separator:a10f25b8ada1cdd1da9cda2c87861d5ea"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aba240844398eaae18cb680cb76a29bdd"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< <a class="el" href="classgeos_1_1triangulate_1_1quadedge_1_1QuadEdgeSubdivision.html">quadedge::QuadEdgeSubdivision</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1triangulate_1_1VoronoiDiagramBuilder.html#aba240844398eaae18cb680cb76a29bdd">subdiv</a></td></tr>
|
||
|
<tr class="separator:aba240844398eaae18cb680cb76a29bdd"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a7409a56ab4cb8e3229b106fdcd6c2950"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">geom::Envelope</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1triangulate_1_1VoronoiDiagramBuilder.html#a7409a56ab4cb8e3229b106fdcd6c2950">clipEnv</a></td></tr>
|
||
|
<tr class="separator:a7409a56ab4cb8e3229b106fdcd6c2950"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a3fe5c8cb7e6c98ad8df8709eca858085"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1geom_1_1Envelope.html">geom::Envelope</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1triangulate_1_1VoronoiDiagramBuilder.html#a3fe5c8cb7e6c98ad8df8709eca858085">diagramEnv</a></td></tr>
|
||
|
<tr class="separator:a3fe5c8cb7e6c98ad8df8709eca858085"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||
|
<div class="textblock"><p>A utility class which creates Voronoi Diagrams from collections of points. </p>
|
||
|
<p>The diagram is returned as a <a class="el" href="classgeos_1_1geom_1_1GeometryCollection.html" title="Represents a collection of heterogeneous Geometry objects. ">geom::GeometryCollection</a> of <a class="el" href="classgeos_1_1geom_1_1Polygon.html">geom::Polygon</a>s, clipped to the larger of a supplied envelope or to an envelope determined by the input sites.</p>
|
||
|
<dl class="section author"><dt>Author</dt><dd>Martin Davis </dd></dl>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="VoronoiDiagramBuilder_8h_source.html#l00046">46</a> of file <a class="el" href="VoronoiDiagramBuilder_8h_source.html">VoronoiDiagramBuilder.h</a>.</p>
|
||
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||
|
<a class="anchor" id="aacbc760b174e37b71e6ca802c9cadea0"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::triangulate::VoronoiDiagramBuilder::VoronoiDiagramBuilder </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Creates a new Voronoi diagram builder. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a00c0ba8bdc2d7cc673328b5c75f9a373"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::triangulate::VoronoiDiagramBuilder::~VoronoiDiagramBuilder </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="a4bb33fc555022e461432a599006050b0"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">static std::unique_ptr<<a class="el" href="classgeos_1_1geom_1_1GeometryCollection.html">geom::GeometryCollection</a>> geos::triangulate::VoronoiDiagramBuilder::clipGeometryCollection </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">std::vector< std::unique_ptr< <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> >> & </td>
|
||
|
<td class="paramname"><em>geoms</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">geom::Envelope</a> & </td>
|
||
|
<td class="paramname"><em>clipEnv</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="a2cb1c90b38dc2b0253f6c70e24bfe154"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::triangulate::VoronoiDiagramBuilder::create </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="ab0d7c598ba479dfb79d48185ea0a2c34"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::unique_ptr<<a class="el" href="classgeos_1_1geom_1_1GeometryCollection.html">geom::GeometryCollection</a>> geos::triangulate::VoronoiDiagramBuilder::getDiagram </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html">geom::GeometryFactory</a> & </td>
|
||
|
<td class="paramname"><em>geomFact</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Gets the faces of the computed diagram as a <a class="el" href="classgeos_1_1geom_1_1GeometryCollection.html" title="Represents a collection of heterogeneous Geometry objects. ">geom::GeometryCollection</a> of <a class="el" href="classgeos_1_1geom_1_1Polygon.html">geom::Polygon</a>s, clipped as specified. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">geomFact</td><td>the geometry factory to use to create the output </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>the faces of the diagram </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a0a05dcb7c09822e9912086ebf5dde98f"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::unique_ptr<<a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>> geos::triangulate::VoronoiDiagramBuilder::getDiagramEdges </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html">geom::GeometryFactory</a> & </td>
|
||
|
<td class="paramname"><em>geomFact</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Gets the faces of the computed diagram as a <a class="el" href="classgeos_1_1geom_1_1GeometryCollection.html" title="Represents a collection of heterogeneous Geometry objects. ">geom::GeometryCollection</a> of <a class="el" href="classgeos_1_1geom_1_1LineString.html">geom::LineString</a>s, clipped as specified. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">geomFact</td><td>the geometry factory to use to create the output </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>the faces of the diagram </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a8290b851cfbda35bff077b775a9e4096"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::unique_ptr<<a class="el" href="classgeos_1_1triangulate_1_1quadedge_1_1QuadEdgeSubdivision.html">quadedge::QuadEdgeSubdivision</a>> geos::triangulate::VoronoiDiagramBuilder::getSubdivision </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Gets the <a class="el" href="classgeos_1_1triangulate_1_1quadedge_1_1QuadEdgeSubdivision.html" title="A class that contains the QuadEdges representing a planar subdivision that models a triangulation...">quadedge::QuadEdgeSubdivision</a> which models the computed diagram. </p>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>the subdivision containing the triangulation </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a133000f655c3139370f1171804347ff4"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::triangulate::VoronoiDiagramBuilder::setClipEnvelope </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">geom::Envelope</a> * </td>
|
||
|
<td class="paramname"><em>clipEnv</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Sets the envelope to clip the diagram to. </p>
|
||
|
<p>The diagram will be clipped to the larger of this envelope or an envelope surrounding the sites.</p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">clipEnv</td><td>the clip envelope; must be kept alive by caller until done with this instance; set to 0 for no clipping. </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a6169afe55e5e33caa65273047664e420"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::triangulate::VoronoiDiagramBuilder::setSites </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>geom</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Sets the sites (point or vertices) which will be diagrammed. All vertices of the given geometry will be used as sites. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">geom</td><td>the geometry from which the sites will be extracted. </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a5993689ded378c5cbc6b7c17558985e9"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::triangulate::VoronoiDiagramBuilder::setSites </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> & </td>
|
||
|
<td class="paramname"><em>coords</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Sets the sites (point or vertices) which will be diagrammed from a collection of <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>s. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">coords</td><td>a collection of Coordinates. </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a9b98423ed335cee40c5d9de9d507d21d"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::triangulate::VoronoiDiagramBuilder::setTolerance </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>tolerance</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Sets the snapping tolerance which will be used to improved the robustness of the triangulation computation. </p>
|
||
|
<p>A tolerance of 0.0 specifies that no snapping will take place.</p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">tolerance</td><td>the tolerance distance to use </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Data Documentation</h2>
|
||
|
<a class="anchor" id="a7409a56ab4cb8e3229b106fdcd6c2950"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">const <a class="el" href="classgeos_1_1geom_1_1Envelope.html">geom::Envelope</a>* geos::triangulate::VoronoiDiagramBuilder::clipEnv</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="VoronoiDiagramBuilder_8h_source.html#l00124">124</a> of file <a class="el" href="VoronoiDiagramBuilder_8h_source.html">VoronoiDiagramBuilder.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a3fe5c8cb7e6c98ad8df8709eca858085"></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_1geom_1_1Envelope.html">geom::Envelope</a> geos::triangulate::VoronoiDiagramBuilder::diagramEnv</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="VoronoiDiagramBuilder_8h_source.html#l00125">125</a> of file <a class="el" href="VoronoiDiagramBuilder_8h_source.html">VoronoiDiagramBuilder.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a47aff4ee5f85bae0b867f08c7ad77db6"></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_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a>> geos::triangulate::VoronoiDiagramBuilder::siteCoords</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="VoronoiDiagramBuilder_8h_source.html#l00121">121</a> of file <a class="el" href="VoronoiDiagramBuilder_8h_source.html">VoronoiDiagramBuilder.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="aba240844398eaae18cb680cb76a29bdd"></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_1triangulate_1_1quadedge_1_1QuadEdgeSubdivision.html">quadedge::QuadEdgeSubdivision</a>> geos::triangulate::VoronoiDiagramBuilder::subdiv</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="VoronoiDiagramBuilder_8h_source.html#l00123">123</a> of file <a class="el" href="VoronoiDiagramBuilder_8h_source.html">VoronoiDiagramBuilder.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a10f25b8ada1cdd1da9cda2c87861d5ea"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">double geos::triangulate::VoronoiDiagramBuilder::tolerance</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="VoronoiDiagramBuilder_8h_source.html#l00122">122</a> of file <a class="el" href="VoronoiDiagramBuilder_8h_source.html">VoronoiDiagramBuilder.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
||
|
<li><a class="el" href="VoronoiDiagramBuilder_8h_source.html">VoronoiDiagramBuilder.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>
|