796 lines
41 KiB
HTML
796 lines
41 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::algorithm::MinimumDiameter 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_1algorithm.html">algorithm</a></li><li class="navelem"><a class="el" href="classgeos_1_1algorithm_1_1MinimumDiameter.html">MinimumDiameter</a></li> </ul>
|
||
|
</div>
|
||
|
</div><!-- top -->
|
||
|
<div class="header">
|
||
|
<div class="summary">
|
||
|
<a href="#pub-methods">Public Member Functions</a> |
|
||
|
<a href="#pub-static-methods">Static 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_1algorithm_1_1MinimumDiameter-members.html">List of all members</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<div class="title">geos::algorithm::MinimumDiameter Class Reference</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
|
||
|
<p>Computes the minimum diameter of a <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory. ">geom::Geometry</a>.
|
||
|
<a href="classgeos_1_1algorithm_1_1MinimumDiameter.html#details">More...</a></p>
|
||
|
|
||
|
<p><code>#include <<a class="el" href="MinimumDiameter_8h_source.html">MinimumDiameter.h</a>></code></p>
|
||
|
<div class="dynheader">
|
||
|
Collaboration diagram for geos::algorithm::MinimumDiameter:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="classgeos_1_1algorithm_1_1MinimumDiameter__coll__graph.svg" width="100%" height="501"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||
|
</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:afa3b3df034fc3e72c48e09ae9f882c3d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1MinimumDiameter.html#afa3b3df034fc3e72c48e09ae9f882c3d">~MinimumDiameter</a> ()=default</td></tr>
|
||
|
<tr class="separator:afa3b3df034fc3e72c48e09ae9f882c3d"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ab3986f0716ce07de04dbd988c16db4b3"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1MinimumDiameter.html#ab3986f0716ce07de04dbd988c16db4b3">MinimumDiameter</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *newInputGeom)</td></tr>
|
||
|
<tr class="memdesc:ab3986f0716ce07de04dbd988c16db4b3"><td class="mdescLeft"> </td><td class="mdescRight">Compute a minimum diameter for a given <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a>. <a href="#ab3986f0716ce07de04dbd988c16db4b3">More...</a><br /></td></tr>
|
||
|
<tr class="separator:ab3986f0716ce07de04dbd988c16db4b3"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:add67a087e3ee67750f08b26eef52bd6e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1MinimumDiameter.html#add67a087e3ee67750f08b26eef52bd6e">MinimumDiameter</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *newInputGeom, const bool newIsConvex)</td></tr>
|
||
|
<tr class="memdesc:add67a087e3ee67750f08b26eef52bd6e"><td class="mdescLeft"> </td><td class="mdescRight">Compute a minimum diameter for a given Geometry, with a hint if the Geometry is convex (e.g. a convex Polygon or LinearRing, or a two-point LineString, or a Point). <a href="#add67a087e3ee67750f08b26eef52bd6e">More...</a><br /></td></tr>
|
||
|
<tr class="separator:add67a087e3ee67750f08b26eef52bd6e"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a8761c629d0aee8f0c45f587ca0898ea3"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1MinimumDiameter.html#a8761c629d0aee8f0c45f587ca0898ea3">getLength</a> ()</td></tr>
|
||
|
<tr class="memdesc:a8761c629d0aee8f0c45f587ca0898ea3"><td class="mdescLeft"> </td><td class="mdescRight">Gets the length of the minimum diameter of the input Geometry. <a href="#a8761c629d0aee8f0c45f587ca0898ea3">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a8761c629d0aee8f0c45f587ca0898ea3"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a16d50521cdbdb69d46d2979e60124b5d"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1MinimumDiameter.html#a16d50521cdbdb69d46d2979e60124b5d">getWidthCoordinate</a> ()</td></tr>
|
||
|
<tr class="memdesc:a16d50521cdbdb69d46d2979e60124b5d"><td class="mdescLeft"> </td><td class="mdescRight">Gets the <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> forming one end of the minimum diameter. <a href="#a16d50521cdbdb69d46d2979e60124b5d">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a16d50521cdbdb69d46d2979e60124b5d"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a384340ccaff682c80653dcae651abffd"><td class="memItemLeft" align="right" valign="top">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_1algorithm_1_1MinimumDiameter.html#a384340ccaff682c80653dcae651abffd">getSupportingSegment</a> ()</td></tr>
|
||
|
<tr class="memdesc:a384340ccaff682c80653dcae651abffd"><td class="mdescLeft"> </td><td class="mdescRight">Gets the segment forming the base of the minimum diameter. <a href="#a384340ccaff682c80653dcae651abffd">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a384340ccaff682c80653dcae651abffd"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ae9de89b6811dc28471d6a7886748f621"><td class="memItemLeft" align="right" valign="top">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_1algorithm_1_1MinimumDiameter.html#ae9de89b6811dc28471d6a7886748f621">getDiameter</a> ()</td></tr>
|
||
|
<tr class="memdesc:ae9de89b6811dc28471d6a7886748f621"><td class="mdescLeft"> </td><td class="mdescRight">Gets a LineString which is a minimum diameter. <a href="#ae9de89b6811dc28471d6a7886748f621">More...</a><br /></td></tr>
|
||
|
<tr class="separator:ae9de89b6811dc28471d6a7886748f621"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a503cb5f3281902beafd2561dd83c2c78"><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_1algorithm_1_1MinimumDiameter.html#a503cb5f3281902beafd2561dd83c2c78">getMinimumRectangle</a> ()</td></tr>
|
||
|
<tr class="memdesc:a503cb5f3281902beafd2561dd83c2c78"><td class="mdescLeft"> </td><td class="mdescRight">Gets the minimum rectangular Polygon which encloses the input geometry. <a href="#a503cb5f3281902beafd2561dd83c2c78">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a503cb5f3281902beafd2561dd83c2c78"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
|
||
|
Static Public Member Functions</h2></td></tr>
|
||
|
<tr class="memitem:a5cc466adaf96af9ef703b1b1ba8f0ade"><td class="memItemLeft" align="right" valign="top">static 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_1algorithm_1_1MinimumDiameter.html#a5cc466adaf96af9ef703b1b1ba8f0ade">getMinimumRectangle</a> (<a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *geom)</td></tr>
|
||
|
<tr class="memdesc:a5cc466adaf96af9ef703b1b1ba8f0ade"><td class="mdescLeft"> </td><td class="mdescRight">Gets the minimum rectangle enclosing a geometry. <a href="#a5cc466adaf96af9ef703b1b1ba8f0ade">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a5cc466adaf96af9ef703b1b1ba8f0ade"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a69928d5be1428f58731078dd59b1b7a1"><td class="memItemLeft" align="right" valign="top">static 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_1algorithm_1_1MinimumDiameter.html#a69928d5be1428f58731078dd59b1b7a1">getMinimumDiameter</a> (<a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *geom)</td></tr>
|
||
|
<tr class="memdesc:a69928d5be1428f58731078dd59b1b7a1"><td class="mdescLeft"> </td><td class="mdescRight">Gets the length of the minimum diameter enclosing a geometry. <a href="#a69928d5be1428f58731078dd59b1b7a1">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a69928d5be1428f58731078dd59b1b7a1"><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:a6b989d1cffcc53a85147a2a37b9e897e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1MinimumDiameter.html#a6b989d1cffcc53a85147a2a37b9e897e">computeMinimumDiameter</a> ()</td></tr>
|
||
|
<tr class="separator:a6b989d1cffcc53a85147a2a37b9e897e"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a2689964d8d5ab77d6aaeed8c0c0373ad"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1MinimumDiameter.html#a2689964d8d5ab77d6aaeed8c0c0373ad">computeWidthConvex</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a> *geom)</td></tr>
|
||
|
<tr class="separator:a2689964d8d5ab77d6aaeed8c0c0373ad"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a48da750b81ec7c2ed89cf5abb75c0820"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1MinimumDiameter.html#a48da750b81ec7c2ed89cf5abb75c0820">computeConvexRingMinDiameter</a> (const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> *pts)</td></tr>
|
||
|
<tr class="separator:a48da750b81ec7c2ed89cf5abb75c0820"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ac50bef9b2a054c6e89edaea2fcf23c5b"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1MinimumDiameter.html#ac50bef9b2a054c6e89edaea2fcf23c5b">findMaxPerpDistance</a> (const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> *pts, const <a class="el" href="classgeos_1_1geom_1_1LineSegment.html">geom::LineSegment</a> *seg, unsigned int startIndex)</td></tr>
|
||
|
<tr class="separator:ac50bef9b2a054c6e89edaea2fcf23c5b"><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:adfd8130241515cfd1c053b25dfe91558"><td class="memItemLeft" align="right" valign="top">static unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1MinimumDiameter.html#adfd8130241515cfd1c053b25dfe91558">getNextIndex</a> (const <a class="el" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a> *pts, unsigned int index)</td></tr>
|
||
|
<tr class="separator:adfd8130241515cfd1c053b25dfe91558"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a7a7978709b53684d939280b5b6969af9"><td class="memItemLeft" align="right" valign="top">static double </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1MinimumDiameter.html#a7a7978709b53684d939280b5b6969af9">computeC</a> (double a, double b, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &p)</td></tr>
|
||
|
<tr class="separator:a7a7978709b53684d939280b5b6969af9"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a3f9886ec2812644a5f72aab632c13853"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classgeos_1_1geom_1_1LineSegment.html">geom::LineSegment</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1MinimumDiameter.html#a3f9886ec2812644a5f72aab632c13853">computeSegmentForLine</a> (double a, double b, double c)</td></tr>
|
||
|
<tr class="separator:a3f9886ec2812644a5f72aab632c13853"><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:ae8402e87a00a3b9ded585a3b49493932"><td class="memItemLeft" align="right" valign="top">const <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_1algorithm_1_1MinimumDiameter.html#ae8402e87a00a3b9ded585a3b49493932">inputGeom</a></td></tr>
|
||
|
<tr class="separator:ae8402e87a00a3b9ded585a3b49493932"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a51d8fc7fd976b8e7be902ba1a59ab032"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1MinimumDiameter.html#a51d8fc7fd976b8e7be902ba1a59ab032">isConvex</a></td></tr>
|
||
|
<tr class="separator:a51d8fc7fd976b8e7be902ba1a59ab032"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a5c6beef02f3a59549a517e6d236aa041"><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_1algorithm_1_1MinimumDiameter.html#a5c6beef02f3a59549a517e6d236aa041">convexHullPts</a></td></tr>
|
||
|
<tr class="separator:a5c6beef02f3a59549a517e6d236aa041"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a80f13938f12d0c94fbfebd791bf569fd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1geom_1_1LineSegment.html">geom::LineSegment</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1MinimumDiameter.html#a80f13938f12d0c94fbfebd791bf569fd">minBaseSeg</a></td></tr>
|
||
|
<tr class="separator:a80f13938f12d0c94fbfebd791bf569fd"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aeb38c30c98bbb8c6212e680e2a00e52e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1MinimumDiameter.html#aeb38c30c98bbb8c6212e680e2a00e52e">minWidthPt</a></td></tr>
|
||
|
<tr class="separator:aeb38c30c98bbb8c6212e680e2a00e52e"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a9b7500666f38e22957c4a808e8d3a46f"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1MinimumDiameter.html#a9b7500666f38e22957c4a808e8d3a46f">minPtIndex</a></td></tr>
|
||
|
<tr class="separator:a9b7500666f38e22957c4a808e8d3a46f"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a0fa35c41bc81ca2d0d4b51ce22a6e93f"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1MinimumDiameter.html#a0fa35c41bc81ca2d0d4b51ce22a6e93f">minWidth</a></td></tr>
|
||
|
<tr class="separator:a0fa35c41bc81ca2d0d4b51ce22a6e93f"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||
|
<div class="textblock"><p>Computes the minimum diameter of a <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory. ">geom::Geometry</a>. </p>
|
||
|
<p>The minimum diameter is defined to be the width of the smallest band that contains the geometry, where a band is a strip of the plane defined by two parallel lines. This can be thought of as the smallest hole that the geometry can be moved through, with a single rotation.</p>
|
||
|
<p>The first step in the algorithm is computing the convex hull of the Geometry. If the input Geometry is known to be convex, a hint can be supplied to avoid this computation.</p>
|
||
|
<p>This class can also be used to compute a line segment representing the minimum diameter, the supporting line segment of the minimum diameter, and a minimum rectangle enclosing the input geometry. This rectangle will have width equal to the minimum diameter, and have one side parallel to the supporting segment.</p>
|
||
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classgeos_1_1algorithm_1_1ConvexHull.html" title="Computes the convex hull of a Geometry. ">ConvexHull</a> </dd></dl>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="MinimumDiameter_8h_source.html#l00063">63</a> of file <a class="el" href="MinimumDiameter_8h_source.html">MinimumDiameter.h</a>.</p>
|
||
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||
|
<a class="anchor" id="afa3b3df034fc3e72c48e09ae9f882c3d"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::algorithm::MinimumDiameter::~MinimumDiameter </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>
|
||
|
<a class="anchor" id="ab3986f0716ce07de04dbd988c16db4b3"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::algorithm::MinimumDiameter::MinimumDiameter </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>newInputGeom</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Compute a minimum diameter for a given <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a>. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">newInputGeom</td><td>a Geometry </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="add67a087e3ee67750f08b26eef52bd6e"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::algorithm::MinimumDiameter::MinimumDiameter </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>newInputGeom</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const bool </td>
|
||
|
<td class="paramname"><em>newIsConvex</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Compute a minimum diameter for a given Geometry, with a hint if the Geometry is convex (e.g. a convex Polygon or LinearRing, or a two-point LineString, or a Point). </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">newInputGeom</td><td>a Geometry which is convex </td></tr>
|
||
|
<tr><td class="paramname">newIsConvex</td><td><code>true</code> if the input geometry is convex </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Function Documentation</h2>
|
||
|
<a class="anchor" id="a7a7978709b53684d939280b5b6969af9"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">static double geos::algorithm::MinimumDiameter::computeC </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>a</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>b</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> & </td>
|
||
|
<td class="paramname"><em>p</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="a48da750b81ec7c2ed89cf5abb75c0820"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::algorithm::MinimumDiameter::computeConvexRingMinDiameter </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>pts</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>Compute the width information for a ring of <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>s. Leaves the width information in the instance variables.</p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">pts</td><td></td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a6b989d1cffcc53a85147a2a37b9e897e"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::algorithm::MinimumDiameter::computeMinimumDiameter </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="a3f9886ec2812644a5f72aab632c13853"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">static <a class="el" href="classgeos_1_1geom_1_1LineSegment.html">geom::LineSegment</a> geos::algorithm::MinimumDiameter::computeSegmentForLine </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>a</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>b</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>c</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="a2689964d8d5ab77d6aaeed8c0c0373ad"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void geos::algorithm::MinimumDiameter::computeWidthConvex </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>
|
||
|
</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="ac50bef9b2a054c6e89edaea2fcf23c5b"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">unsigned int geos::algorithm::MinimumDiameter::findMaxPerpDistance </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>pts</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1LineSegment.html">geom::LineSegment</a> * </td>
|
||
|
<td class="paramname"><em>seg</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">unsigned int </td>
|
||
|
<td class="paramname"><em>startIndex</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ae9de89b6811dc28471d6a7886748f621"></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_1LineString.html">geom::LineString</a>> geos::algorithm::MinimumDiameter::getDiameter </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Gets a LineString which is a minimum diameter. </p>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>a LineString which is a minimum diameter </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a8761c629d0aee8f0c45f587ca0898ea3"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">double geos::algorithm::MinimumDiameter::getLength </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Gets the length of the minimum diameter of the input Geometry. </p>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>the length of the minimum diameter </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a69928d5be1428f58731078dd59b1b7a1"></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_1Geometry.html">geom::Geometry</a>> geos::algorithm::MinimumDiameter::getMinimumDiameter </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><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>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Gets the length of the minimum diameter enclosing a geometry. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">geom</td><td>the geometry </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>the length of the minimum diameter of the geometry </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a503cb5f3281902beafd2561dd83c2c78"></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::algorithm::MinimumDiameter::getMinimumRectangle </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Gets the minimum rectangular Polygon which encloses the input geometry. </p>
|
||
|
<p>The rectangle has width equal to the minimum diameter, and a longer length. If the convex hill of the input is degenerate (a line or point) a LineString or Point is returned. The minimum rectangle can be used as an extremely generalized representation for the given geometry.</p>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>the minimum rectangle enclosing the input (or a line or point if degenerate) </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a5cc466adaf96af9ef703b1b1ba8f0ade"></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_1Geometry.html">geom::Geometry</a>> geos::algorithm::MinimumDiameter::getMinimumRectangle </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><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>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Gets the minimum rectangle enclosing a geometry. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">geom</td><td>the geometry </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>the minimum rectangle enclosing the geometry </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="adfd8130241515cfd1c053b25dfe91558"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">static unsigned int geos::algorithm::MinimumDiameter::getNextIndex </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>pts</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">unsigned int </td>
|
||
|
<td class="paramname"><em>index</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="a384340ccaff682c80653dcae651abffd"></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_1LineString.html">geom::LineString</a>> geos::algorithm::MinimumDiameter::getSupportingSegment </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Gets the segment forming the base of the minimum diameter. </p>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>the segment forming the base of the minimum diameter </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a16d50521cdbdb69d46d2979e60124b5d"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>& geos::algorithm::MinimumDiameter::getWidthCoordinate </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_1geom_1_1Coordinate.html">geom::Coordinate</a> forming one end of the minimum diameter. </p>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>a coordinate forming one end of the minimum diameter </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Data Documentation</h2>
|
||
|
<a class="anchor" id="a5c6beef02f3a59549a517e6d236aa041"></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::algorithm::MinimumDiameter::convexHullPts</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="MinimumDiameter_8h_source.html#l00068">68</a> of file <a class="el" href="MinimumDiameter_8h_source.html">MinimumDiameter.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ae8402e87a00a3b9ded585a3b49493932"></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_1Geometry.html">geom::Geometry</a>* geos::algorithm::MinimumDiameter::inputGeom</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="MinimumDiameter_8h_source.html#l00065">65</a> of file <a class="el" href="MinimumDiameter_8h_source.html">MinimumDiameter.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a51d8fc7fd976b8e7be902ba1a59ab032"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">bool geos::algorithm::MinimumDiameter::isConvex</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="MinimumDiameter_8h_source.html#l00066">66</a> of file <a class="el" href="MinimumDiameter_8h_source.html">MinimumDiameter.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a80f13938f12d0c94fbfebd791bf569fd"></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_1LineSegment.html">geom::LineSegment</a> geos::algorithm::MinimumDiameter::minBaseSeg</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="MinimumDiameter_8h_source.html#l00070">70</a> of file <a class="el" href="MinimumDiameter_8h_source.html">MinimumDiameter.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a9b7500666f38e22957c4a808e8d3a46f"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">size_t geos::algorithm::MinimumDiameter::minPtIndex</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="MinimumDiameter_8h_source.html#l00072">72</a> of file <a class="el" href="MinimumDiameter_8h_source.html">MinimumDiameter.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a0fa35c41bc81ca2d0d4b51ce22a6e93f"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">double geos::algorithm::MinimumDiameter::minWidth</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="MinimumDiameter_8h_source.html#l00073">73</a> of file <a class="el" href="MinimumDiameter_8h_source.html">MinimumDiameter.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="aeb38c30c98bbb8c6212e680e2a00e52e"></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_1Coordinate.html">geom::Coordinate</a> geos::algorithm::MinimumDiameter::minWidthPt</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="MinimumDiameter_8h_source.html#l00071">71</a> of file <a class="el" href="MinimumDiameter_8h_source.html">MinimumDiameter.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
||
|
<li><a class="el" href="MinimumDiameter_8h_source.html">MinimumDiameter.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>
|