86 lines
38 KiB
HTML
86 lines
38 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: PointPairDistance.h Source File</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><a href="annotated.html"><span>Classes</span></a></li>
|
||
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div id="navrow2" class="tabs2">
|
||
|
<ul class="tablist">
|
||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||
|
<li><a href="globals.html"><span>File Members</span></a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div id="nav-path" class="navpath">
|
||
|
<ul>
|
||
|
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_0bc14b2fb119a11b6a0f32f4d350db61.html">geos</a></li><li class="navelem"><a class="el" href="dir_fba022f40ef995f34b1af53ee3c8dd03.html">algorithm</a></li><li class="navelem"><a class="el" href="dir_2856fe9b95ebf472efb12599ea10791d.html">distance</a></li> </ul>
|
||
|
</div>
|
||
|
</div><!-- top -->
|
||
|
<div class="header">
|
||
|
<div class="headertitle">
|
||
|
<div class="title">PointPairDistance.h</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
<a href="PointPairDistance_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/**********************************************************************</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> *</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * GEOS - Geometry Engine Open Source</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * http://geos.osgeo.org</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * Copyright (C) 2009 Sandro Santilli <strk@kbt.io></span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> *</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * This is free software; you can redistribute and/or modify it under</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * the terms of the GNU Lesser General Public Licence as published</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * by the Free Software Foundation.</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * See the COPYING file for more information.</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> *</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> **********************************************************************</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> *</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * Last port: algorithm/distance/PointPairDistance.java 1.1 (JTS-1.9)</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> *</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> **********************************************************************/</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#ifndef GEOS_ALGORITHM_DISTANCE_POINTPAIRDISTANCE_H</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#define GEOS_ALGORITHM_DISTANCE_POINTPAIRDISTANCE_H</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <<a class="code" href="constants_8h.html">geos/constants.h</a>></span> <span class="comment">// for DoubleNotANumber</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <<a class="code" href="Coordinate_8h.html">geos/geom/Coordinate.h</a>></span> <span class="comment">// for inlines</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <array></span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <cassert></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> 
|
||
|
<div class="ttc" id="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance_html_ab2cc0a0f7b206e6c6534af00e7fe1f41"><div class="ttname"><a href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html#ab2cc0a0f7b206e6c6534af00e7fe1f41">geos::algorithm::distance::PointPairDistance::getDistance</a></div><div class="ttdeci">double getDistance() const </div><div class="ttdef"><b>Definition:</b> <a href="PointPairDistance_8h_source.html#l00062">PointPairDistance.h:62</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1geom_1_1Coordinate_html"><div class="ttname"><a href="classgeos_1_1geom_1_1Coordinate.html">geos::geom::Coordinate</a></div><div class="ttdoc">Coordinate is the lightweight class used to store coordinates. </div><div class="ttdef"><b>Definition:</b> <a href="Coordinate_8h_source.html#l00060">Coordinate.h:60</a></div></div>
|
||
|
<div class="ttc" id="constants_8h_html"><div class="ttname"><a href="constants_8h.html">constants.h</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance_html_a4456c1f2b43166ec1023f68f897c2c6e"><div class="ttname"><a href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html#a4456c1f2b43166ec1023f68f897c2c6e">geos::algorithm::distance::PointPairDistance::PointPairDistance</a></div><div class="ttdeci">PointPairDistance()</div><div class="ttdef"><b>Definition:</b> <a href="PointPairDistance_8h_source.html#l00040">PointPairDistance.h:40</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance_html_af1ff17c0e4231c778725bc5f47a1df90"><div class="ttname"><a href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html#af1ff17c0e4231c778725bc5f47a1df90">geos::algorithm::distance::PointPairDistance::initialize</a></div><div class="ttdeci">void initialize(const geom::Coordinate &p0, const geom::Coordinate &p1)</div><div class="ttdef"><b>Definition:</b> <a href="PointPairDistance_8h_source.html#l00053">PointPairDistance.h:53</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance_html_a68713017283b3694a3229f8aaa151586"><div class="ttname"><a href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html#a68713017283b3694a3229f8aaa151586">geos::algorithm::distance::PointPairDistance::getCoordinate</a></div><div class="ttdeci">const geom::Coordinate & getCoordinate(size_t i) const </div><div class="ttdef"><b>Definition:</b> <a href="PointPairDistance_8h_source.html#l00074">PointPairDistance.h:74</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance_html_a56e4b0fd099be15d23b69665718541c4"><div class="ttname"><a href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html#a56e4b0fd099be15d23b69665718541c4">geos::algorithm::distance::PointPairDistance::setMaximum</a></div><div class="ttdeci">void setMaximum(const PointPairDistance &ptDist)</div><div class="ttdef"><b>Definition:</b> <a href="PointPairDistance_8h_source.html#l00081">PointPairDistance.h:81</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance_html_a678439ba0bd5bd1b6f513d208122e42c"><div class="ttname"><a href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html#a678439ba0bd5bd1b6f513d208122e42c">geos::algorithm::distance::PointPairDistance::getIsNull</a></div><div class="ttdeci">bool getIsNull()</div><div class="ttdef"><b>Definition:</b> <a href="PointPairDistance_8h_source.html#l00119">PointPairDistance.h:119</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance_html_abcab8d3b0a1c1b4de5476f9653ee2765"><div class="ttname"><a href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html#abcab8d3b0a1c1b4de5476f9653ee2765">geos::algorithm::distance::PointPairDistance::initialize</a></div><div class="ttdeci">void initialize()</div><div class="ttdef"><b>Definition:</b> <a href="PointPairDistance_8h_source.html#l00047">PointPairDistance.h:47</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance_html_a0821c281dae300de7e8a827cd0e1cb87"><div class="ttname"><a href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html#a0821c281dae300de7e8a827cd0e1cb87">geos::algorithm::distance::PointPairDistance::initialize</a></div><div class="ttdeci">void initialize(const geom::Coordinate &p0, const geom::Coordinate &p1, double distSquared)</div><div class="ttdef"><b>Definition:</b> <a href="PointPairDistance_8h_source.html#l00133">PointPairDistance.h:133</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance_html_ade69fa62c7490e20a3cc2b983a09b086"><div class="ttname"><a href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html#ade69fa62c7490e20a3cc2b983a09b086">geos::algorithm::distance::PointPairDistance::isNull</a></div><div class="ttdeci">bool isNull</div><div class="ttdef"><b>Definition:</b> <a href="PointPairDistance_8h_source.html#l00146">PointPairDistance.h:146</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance_html_a134dfddc3f7a152c59834e4ed30ea6ff"><div class="ttname"><a href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html#a134dfddc3f7a152c59834e4ed30ea6ff">geos::algorithm::distance::PointPairDistance::getCoordinates</a></div><div class="ttdeci">const std::array< geom::Coordinate, 2 > & getCoordinates() const </div><div class="ttdef"><b>Definition:</b> <a href="PointPairDistance_8h_source.html#l00068">PointPairDistance.h:68</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance_html"><div class="ttname"><a href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html">geos::algorithm::distance::PointPairDistance</a></div><div class="ttdef"><b>Definition:</b> <a href="PointPairDistance_8h_source.html#l00037">PointPairDistance.h:37</a></div></div>
|
||
|
<div class="ttc" id="namespacegeos_html"><div class="ttname"><a href="namespacegeos.html">geos</a></div><div class="ttdoc">Basic namespace for all GEOS functionalities. </div><div class="ttdef"><b>Definition:</b> <a href="IndexedNestedRingTester_8h_source.html#l00026">IndexedNestedRingTester.h:26</a></div></div>
|
||
|
<div class="ttc" id="namespacegeos_html_a3207604faf2271d877e558c0c7fd2dcc"><div class="ttname"><a href="namespacegeos.html#a3207604faf2271d877e558c0c7fd2dcc">geos::DoubleNotANumber</a></div><div class="ttdeci">constexpr double DoubleNotANumber</div><div class="ttdef"><b>Definition:</b> <a href="constants_8h_source.html#l00044">constants.h:44</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance_html_a3644b8765ca90f3bb87b7e044baf2390"><div class="ttname"><a href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html#a3644b8765ca90f3bb87b7e044baf2390">geos::algorithm::distance::PointPairDistance::distanceSquared</a></div><div class="ttdeci">double distanceSquared</div><div class="ttdef"><b>Definition:</b> <a href="PointPairDistance_8h_source.html#l00144">PointPairDistance.h:144</a></div></div>
|
||
|
<div class="ttc" id="Coordinate_8h_html"><div class="ttname"><a href="Coordinate_8h.html">Coordinate.h</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance_html_a6503fbd556c618ef9cfbbac72a2e7010"><div class="ttname"><a href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html#a6503fbd556c618ef9cfbbac72a2e7010">geos::algorithm::distance::PointPairDistance::setMinimum</a></div><div class="ttdeci">void setMinimum(const PointPairDistance &ptDist)</div><div class="ttdef"><b>Definition:</b> <a href="PointPairDistance_8h_source.html#l00100">PointPairDistance.h:100</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance_html_aa4e0d8f8d1de6ce834374e098902b87e"><div class="ttname"><a href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html#aa4e0d8f8d1de6ce834374e098902b87e">geos::algorithm::distance::PointPairDistance::setMinimum</a></div><div class="ttdeci">void setMinimum(const geom::Coordinate &p0, const geom::Coordinate &p1)</div><div class="ttdef"><b>Definition:</b> <a href="PointPairDistance_8h_source.html#l00106">PointPairDistance.h:106</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance_html_a75f76c93b062360eb97e72b969a55dc0"><div class="ttname"><a href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html#a75f76c93b062360eb97e72b969a55dc0">geos::algorithm::distance::PointPairDistance::setMaximum</a></div><div class="ttdeci">void setMaximum(const geom::Coordinate &p0, const geom::Coordinate &p1)</div><div class="ttdef"><b>Definition:</b> <a href="PointPairDistance_8h_source.html#l00087">PointPairDistance.h:87</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance_html_a95acc21d371e566497765282ad60c751"><div class="ttname"><a href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html#a95acc21d371e566497765282ad60c751">geos::algorithm::distance::PointPairDistance::pt</a></div><div class="ttdeci">std::array< geom::Coordinate, 2 > pt</div><div class="ttdef"><b>Definition:</b> <a href="PointPairDistance_8h_source.html#l00142">PointPairDistance.h:142</a></div></div>
|
||
|
</div><!-- fragment --></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>
|