611 lines
31 KiB
HTML
611 lines
31 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::distance::PointPairDistance 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="namespacegeos_1_1algorithm_1_1distance.html">distance</a></li><li class="navelem"><a class="el" href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html">PointPairDistance</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-attribs">Private Attributes</a> |
|
||
|
<a href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance-members.html">List of all members</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<div class="title">geos::algorithm::distance::PointPairDistance Class Reference</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
|
||
|
<p><code>#include <<a class="el" href="PointPairDistance_8h_source.html">PointPairDistance.h</a>></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:a4456c1f2b43166ec1023f68f897c2c6e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html#a4456c1f2b43166ec1023f68f897c2c6e">PointPairDistance</a> ()</td></tr>
|
||
|
<tr class="separator:a4456c1f2b43166ec1023f68f897c2c6e"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:abcab8d3b0a1c1b4de5476f9653ee2765"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html#abcab8d3b0a1c1b4de5476f9653ee2765">initialize</a> ()</td></tr>
|
||
|
<tr class="separator:abcab8d3b0a1c1b4de5476f9653ee2765"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:af1ff17c0e4231c778725bc5f47a1df90"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html#af1ff17c0e4231c778725bc5f47a1df90">initialize</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &p0, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &p1)</td></tr>
|
||
|
<tr class="separator:af1ff17c0e4231c778725bc5f47a1df90"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ab2cc0a0f7b206e6c6534af00e7fe1f41"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html#ab2cc0a0f7b206e6c6534af00e7fe1f41">getDistance</a> () const </td></tr>
|
||
|
<tr class="separator:ab2cc0a0f7b206e6c6534af00e7fe1f41"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a134dfddc3f7a152c59834e4ed30ea6ff"><td class="memItemLeft" align="right" valign="top">const std::array< <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>, 2 > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html#a134dfddc3f7a152c59834e4ed30ea6ff">getCoordinates</a> () const </td></tr>
|
||
|
<tr class="separator:a134dfddc3f7a152c59834e4ed30ea6ff"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a68713017283b3694a3229f8aaa151586"><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_1distance_1_1PointPairDistance.html#a68713017283b3694a3229f8aaa151586">getCoordinate</a> (size_t i) const </td></tr>
|
||
|
<tr class="separator:a68713017283b3694a3229f8aaa151586"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a56e4b0fd099be15d23b69665718541c4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html#a56e4b0fd099be15d23b69665718541c4">setMaximum</a> (const <a class="el" href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html">PointPairDistance</a> &ptDist)</td></tr>
|
||
|
<tr class="separator:a56e4b0fd099be15d23b69665718541c4"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a75f76c93b062360eb97e72b969a55dc0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html#a75f76c93b062360eb97e72b969a55dc0">setMaximum</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &p0, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &p1)</td></tr>
|
||
|
<tr class="separator:a75f76c93b062360eb97e72b969a55dc0"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a6503fbd556c618ef9cfbbac72a2e7010"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html#a6503fbd556c618ef9cfbbac72a2e7010">setMinimum</a> (const <a class="el" href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html">PointPairDistance</a> &ptDist)</td></tr>
|
||
|
<tr class="separator:a6503fbd556c618ef9cfbbac72a2e7010"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aa4e0d8f8d1de6ce834374e098902b87e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html#aa4e0d8f8d1de6ce834374e098902b87e">setMinimum</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &p0, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &p1)</td></tr>
|
||
|
<tr class="separator:aa4e0d8f8d1de6ce834374e098902b87e"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a678439ba0bd5bd1b6f513d208122e42c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html#a678439ba0bd5bd1b6f513d208122e42c">getIsNull</a> ()</td></tr>
|
||
|
<tr class="separator:a678439ba0bd5bd1b6f513d208122e42c"><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:a0821c281dae300de7e8a827cd0e1cb87"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html#a0821c281dae300de7e8a827cd0e1cb87">initialize</a> (const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &p0, const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> &p1, double distSquared)</td></tr>
|
||
|
<tr class="separator:a0821c281dae300de7e8a827cd0e1cb87"><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:a95acc21d371e566497765282ad60c751"><td class="memItemLeft" align="right" valign="top">std::array< <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>, 2 > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html#a95acc21d371e566497765282ad60c751">pt</a></td></tr>
|
||
|
<tr class="separator:a95acc21d371e566497765282ad60c751"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a3644b8765ca90f3bb87b7e044baf2390"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html#a3644b8765ca90f3bb87b7e044baf2390">distanceSquared</a></td></tr>
|
||
|
<tr class="separator:a3644b8765ca90f3bb87b7e044baf2390"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ade69fa62c7490e20a3cc2b983a09b086"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html#ade69fa62c7490e20a3cc2b983a09b086">isNull</a></td></tr>
|
||
|
<tr class="separator:ade69fa62c7490e20a3cc2b983a09b086"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||
|
<div class="textblock"><p>Contains a pair of points and the distance between them. Provides methods to update with a new point pair with either maximum or minimum distance. </p>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="PointPairDistance_8h_source.html#l00037">37</a> of file <a class="el" href="PointPairDistance_8h_source.html">PointPairDistance.h</a>.</p>
|
||
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||
|
<a class="anchor" id="a4456c1f2b43166ec1023f68f897c2c6e"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">geos::algorithm::distance::PointPairDistance::PointPairDistance </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="PointPairDistance_8h_source.html#l00040">40</a> of file <a class="el" href="PointPairDistance_8h_source.html">PointPairDistance.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Function Documentation</h2>
|
||
|
<a class="anchor" id="a68713017283b3694a3229f8aaa151586"></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_1Coordinate.html">geom::Coordinate</a>& geos::algorithm::distance::PointPairDistance::getCoordinate </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">size_t </td>
|
||
|
<td class="paramname"><em>i</em></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="PointPairDistance_8h_source.html#l00074">74</a> of file <a class="el" href="PointPairDistance_8h_source.html">PointPairDistance.h</a>.</p>
|
||
|
|
||
|
<p>References <a class="el" href="PointPairDistance_8h_source.html#l00142">pt</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a134dfddc3f7a152c59834e4ed30ea6ff"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">const std::array<<a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>, 2>& geos::algorithm::distance::PointPairDistance::getCoordinates </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="PointPairDistance_8h_source.html#l00068">68</a> of file <a class="el" href="PointPairDistance_8h_source.html">PointPairDistance.h</a>.</p>
|
||
|
|
||
|
<p>References <a class="el" href="PointPairDistance_8h_source.html#l00142">pt</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ab2cc0a0f7b206e6c6534af00e7fe1f41"></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::distance::PointPairDistance::getDistance </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td> const</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="PointPairDistance_8h_source.html#l00062">62</a> of file <a class="el" href="PointPairDistance_8h_source.html">PointPairDistance.h</a>.</p>
|
||
|
|
||
|
<p>References <a class="el" href="PointPairDistance_8h_source.html#l00144">distanceSquared</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a678439ba0bd5bd1b6f513d208122e42c"></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::distance::PointPairDistance::getIsNull </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="PointPairDistance_8h_source.html#l00119">119</a> of file <a class="el" href="PointPairDistance_8h_source.html">PointPairDistance.h</a>.</p>
|
||
|
|
||
|
<p>References <a class="el" href="PointPairDistance_8h_source.html#l00146">isNull</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="abcab8d3b0a1c1b4de5476f9653ee2765"></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::distance::PointPairDistance::initialize </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="PointPairDistance_8h_source.html#l00047">47</a> of file <a class="el" href="PointPairDistance_8h_source.html">PointPairDistance.h</a>.</p>
|
||
|
|
||
|
<p>References <a class="el" href="PointPairDistance_8h_source.html#l00146">isNull</a>.</p>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="PointPairDistance_8h_source.html#l00087">setMaximum()</a>, and <a class="el" href="PointPairDistance_8h_source.html#l00106">setMinimum()</a>.</p>
|
||
|
|
||
|
<p><div class="dynheader">
|
||
|
Here is the caller graph for this function:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance_abcab8d3b0a1c1b4de5476f9653ee2765_icgraph.svg" width="496" height="123"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||
|
</div>
|
||
|
</div>
|
||
|
</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="af1ff17c0e4231c778725bc5f47a1df90"></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::distance::PointPairDistance::initialize </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>p0</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>p1</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">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="PointPairDistance_8h_source.html#l00053">53</a> of file <a class="el" href="PointPairDistance_8h_source.html">PointPairDistance.h</a>.</p>
|
||
|
|
||
|
<p>References <a class="el" href="classgeos_1_1geom_1_1Coordinate.html#af351abe86cf377f506413aa869f8959a">geos::geom::Coordinate::distanceSquared()</a>, <a class="el" href="PointPairDistance_8h_source.html#l00144">distanceSquared</a>, <a class="el" href="PointPairDistance_8h_source.html#l00146">isNull</a>, and <a class="el" href="PointPairDistance_8h_source.html#l00142">pt</a>.</p>
|
||
|
|
||
|
<p><div class="dynheader">
|
||
|
Here is the call graph for this function:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance_af1ff17c0e4231c778725bc5f47a1df90_cgraph.svg" width="438" height="55"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||
|
</div>
|
||
|
</div>
|
||
|
</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a0821c281dae300de7e8a827cd0e1cb87"></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::distance::PointPairDistance::initialize </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>p0</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>p1</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">double </td>
|
||
|
<td class="paramname"><em>distSquared</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">inline</span><span class="mlabel">private</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>Initializes the points, avoiding recomputing the distance. </p><dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">p0</td><td></td></tr>
|
||
|
<tr><td class="paramname">p1</td><td></td></tr>
|
||
|
<tr><td class="paramname">dist</td><td>the distance between p0 and p1 </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
<p>Definition at line <a class="el" href="PointPairDistance_8h_source.html#l00133">133</a> of file <a class="el" href="PointPairDistance_8h_source.html">PointPairDistance.h</a>.</p>
|
||
|
|
||
|
<p>References <a class="el" href="PointPairDistance_8h_source.html#l00144">distanceSquared</a>, <a class="el" href="PointPairDistance_8h_source.html#l00146">isNull</a>, and <a class="el" href="PointPairDistance_8h_source.html#l00142">pt</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a56e4b0fd099be15d23b69665718541c4"></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::distance::PointPairDistance::setMaximum </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html">PointPairDistance</a> & </td>
|
||
|
<td class="paramname"><em>ptDist</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="PointPairDistance_8h_source.html#l00081">81</a> of file <a class="el" href="PointPairDistance_8h_source.html">PointPairDistance.h</a>.</p>
|
||
|
|
||
|
<p>References <a class="el" href="PointPairDistance_8h_source.html#l00142">pt</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a75f76c93b062360eb97e72b969a55dc0"></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::distance::PointPairDistance::setMaximum </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>p0</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>p1</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">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="PointPairDistance_8h_source.html#l00087">87</a> of file <a class="el" href="PointPairDistance_8h_source.html">PointPairDistance.h</a>.</p>
|
||
|
|
||
|
<p>References <a class="el" href="classgeos_1_1geom_1_1Coordinate.html#af351abe86cf377f506413aa869f8959a">geos::geom::Coordinate::distanceSquared()</a>, <a class="el" href="PointPairDistance_8h_source.html#l00144">distanceSquared</a>, <a class="el" href="PointPairDistance_8h_source.html#l00047">initialize()</a>, and <a class="el" href="PointPairDistance_8h_source.html#l00146">isNull</a>.</p>
|
||
|
|
||
|
<p><div class="dynheader">
|
||
|
Here is the call graph for this function:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance_a75f76c93b062360eb97e72b969a55dc0_cgraph.svg" width="496" height="123"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||
|
</div>
|
||
|
</div>
|
||
|
</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a6503fbd556c618ef9cfbbac72a2e7010"></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::distance::PointPairDistance::setMinimum </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const <a class="el" href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html">PointPairDistance</a> & </td>
|
||
|
<td class="paramname"><em>ptDist</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td class="mlabels-right">
|
||
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="PointPairDistance_8h_source.html#l00100">100</a> of file <a class="el" href="PointPairDistance_8h_source.html">PointPairDistance.h</a>.</p>
|
||
|
|
||
|
<p>References <a class="el" href="PointPairDistance_8h_source.html#l00142">pt</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="aa4e0d8f8d1de6ce834374e098902b87e"></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::distance::PointPairDistance::setMinimum </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>p0</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>p1</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">inline</span></span> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="PointPairDistance_8h_source.html#l00106">106</a> of file <a class="el" href="PointPairDistance_8h_source.html">PointPairDistance.h</a>.</p>
|
||
|
|
||
|
<p>References <a class="el" href="classgeos_1_1geom_1_1Coordinate.html#af351abe86cf377f506413aa869f8959a">geos::geom::Coordinate::distanceSquared()</a>, <a class="el" href="PointPairDistance_8h_source.html#l00144">distanceSquared</a>, <a class="el" href="PointPairDistance_8h_source.html#l00047">initialize()</a>, and <a class="el" href="PointPairDistance_8h_source.html#l00146">isNull</a>.</p>
|
||
|
|
||
|
<p><div class="dynheader">
|
||
|
Here is the call graph for this function:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center"><iframe scrolling="no" frameborder="0" src="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance_aa4e0d8f8d1de6ce834374e098902b87e_cgraph.svg" width="492" height="123"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||
|
</div>
|
||
|
</div>
|
||
|
</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Data Documentation</h2>
|
||
|
<a class="anchor" id="a3644b8765ca90f3bb87b7e044baf2390"></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::distance::PointPairDistance::distanceSquared</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="PointPairDistance_8h_source.html#l00144">144</a> of file <a class="el" href="PointPairDistance_8h_source.html">PointPairDistance.h</a>.</p>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="PointPairDistance_8h_source.html#l00062">getDistance()</a>, <a class="el" href="PointPairDistance_8h_source.html#l00053">initialize()</a>, <a class="el" href="PointPairDistance_8h_source.html#l00087">setMaximum()</a>, and <a class="el" href="PointPairDistance_8h_source.html#l00106">setMinimum()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ade69fa62c7490e20a3cc2b983a09b086"></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::distance::PointPairDistance::isNull</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="PointPairDistance_8h_source.html#l00146">146</a> of file <a class="el" href="PointPairDistance_8h_source.html">PointPairDistance.h</a>.</p>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="PointPairDistance_8h_source.html#l00119">getIsNull()</a>, <a class="el" href="PointPairDistance_8h_source.html#l00047">initialize()</a>, <a class="el" href="PointPairDistance_8h_source.html#l00087">setMaximum()</a>, and <a class="el" href="PointPairDistance_8h_source.html#l00106">setMinimum()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="a95acc21d371e566497765282ad60c751"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">std::array<<a class="el" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a>, 2> geos::algorithm::distance::PointPairDistance::pt</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="PointPairDistance_8h_source.html#l00142">142</a> of file <a class="el" href="PointPairDistance_8h_source.html">PointPairDistance.h</a>.</p>
|
||
|
|
||
|
<p>Referenced by <a class="el" href="PointPairDistance_8h_source.html#l00074">getCoordinate()</a>, <a class="el" href="PointPairDistance_8h_source.html#l00068">getCoordinates()</a>, <a class="el" href="PointPairDistance_8h_source.html#l00053">initialize()</a>, <a class="el" href="PointPairDistance_8h_source.html#l00081">setMaximum()</a>, and <a class="el" href="PointPairDistance_8h_source.html#l00100">setMinimum()</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
||
|
<li><a class="el" href="PointPairDistance_8h_source.html">PointPairDistance.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>
|