geos_390_docs/DiscreteFrechetDistance_8h_...

88 lines
33 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: DiscreteFrechetDistance.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
&#160;<span id="projectnumber">3.9.1dev</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><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&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;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">DiscreteFrechetDistance.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="DiscreteFrechetDistance_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>&#160;<span class="comment">/**********************************************************************</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * GEOS - Geometry Engine Open Source</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * http://geos.osgeo.org</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * Copyright (C) 2016 Shinichi SUGIYAMA (shin.sugi@gmail.com)</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<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>&#160;<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>&#160;<span class="comment"> * by the Free Software Foundation.</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * See the COPYING file for more information.</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> **********************************************************************</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> * Last port: original work</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> * Developed by Shinichi SUGIYAMA (shin.sugi@gmail.com)</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> * based on http://www.kr.tuwien.ac.at/staff/eiter/et-archive/cdtr9464.pdf</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment"> **********************************************************************/</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#ifndef GEOS_ALGORITHM_DISTANCE_DISCRETEFRECHETDISTANCE_H</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#define GEOS_ALGORITHM_DISTANCE_DISCRETEFRECHETDISTANCE_H</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="export_8h.html">geos/export.h</a>&gt;</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="PointPairDistance_8h.html">geos/algorithm/distance/PointPairDistance.h</a>&gt;</span> <span class="comment">// for composition</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="DistanceToPoint_8h.html">geos/algorithm/distance/DistanceToPoint.h</a>&gt;</span> <span class="comment">// for composition</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="IllegalArgumentException_8h.html">geos/util/IllegalArgumentException.h</a>&gt;</span> <span class="comment">// for inlines</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="Geometry_8h.html">geos/geom/Geometry.h</a>&gt;</span> <span class="comment">// for inlines</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="math_8h.html">geos/util/math.h</a>&gt;</span> <span class="comment">// for inlines</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="CoordinateFilter_8h.html">geos/geom/CoordinateFilter.h</a>&gt;</span> <span class="comment">// for inheritance</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="CoordinateSequence_8h.html">geos/geom/CoordinateSequence.h</a>&gt;</span> <span class="comment">// for inheritance</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#include &lt;cstddef&gt;</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="preprocessor">#ifdef _MSC_VER</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="preprocessor">#pragma warning(push)</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="preprocessor">#pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacegeos.html">geos</a> {</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="keyword">namespace </span>algorithm {</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="comment">//class RayCrossingCounter;</span></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;}</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="keyword">namespace </span>geom {</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="keyword">class </span>Geometry;</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="keyword">class </span>Coordinate;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="comment">//class CoordinateSequence;</span></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;}</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;<span class="keyword">namespace </span>index {</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="namespacegeos_1_1index_1_1intervalrtree.html"> 52</a></span>&#160;<span class="keyword">namespace </span>intervalrtree {</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="comment">//class SortedPackedIntervalRTree;</span></div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;}</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;}</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;}</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacegeos.html">geos</a> {</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;<span class="keyword">namespace </span>algorithm { <span class="comment">// geos::algorithm</span></div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="namespacegeos_1_1algorithm_1_1distance.html"> 60</a></span>&#160;<span class="keyword">namespace </span>distance { <span class="comment">// geos::algorithm::distance</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;</div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html"> 106</a></span>&#160;<span class="keyword">class </span><a class="code" href="export_8h.html#ae36df939090171f6e9a28a8cb6254fea">GEOS_DLL</a> <a class="code" href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html">DiscreteFrechetDistance</a> {</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="keyword">static</span> <span class="keywordtype">double</span> distance(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>&amp; g0,</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>&amp; g1);</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160;</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <span class="keyword">static</span> <span class="keywordtype">double</span> distance(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>&amp; g0,</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>&amp; g1, <span class="keywordtype">double</span> densifyFrac);</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;</div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html#ae0ab3df06b0d02bec47df4b218cde132"> 115</a></span>&#160; <a class="code" href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html#ae0ab3df06b0d02bec47df4b218cde132">DiscreteFrechetDistance</a>(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>&amp; p_g0,</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>&amp; p_g1)</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; :</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; g0(p_g0),</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; g1(p_g1),</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; ptDist(),</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; densifyFrac(0.0)</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; {}</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160;</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <span class="keywordtype">void</span></div><div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html#ac62530b30f16fb7697d366766e79dad9"> 133</a></span>&#160; <a class="code" href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html#ac62530b30f16fb7697d366766e79dad9">setDensifyFraction</a>(<span class="keywordtype">double</span> dFrac)</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; {</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; <span class="keywordflow">if</span>(dFrac &gt; 1.0 || dFrac &lt;= 0.0) {</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; <span class="keywordflow">throw</span> <a class="code" href="classgeos_1_1util_1_1IllegalArgumentException.html">util::IllegalArgumentException</a>(</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <span class="stringliteral">&quot;Fraction is not in range (0.0 - 1.0]&quot;</span>);</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; }</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160;</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; densifyFrac = dFrac;</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; }</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160;</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <span class="keywordtype">double</span></div><div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html#a6e160bcb3116a3634841cbfdecc567f7"> 144</a></span>&#160; <a class="code" href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html#a6e160bcb3116a3634841cbfdecc567f7">distance</a>()</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; {</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; compute(g0, g1);</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <span class="keywordflow">return</span> ptDist.getDistance();</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; }</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <span class="keyword">const</span> std::array&lt;geom::Coordinate, 2&gt;</div><div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html#a1e704fe2e0b11f7633f8f475ca589959"> 151</a></span>&#160; <a class="code" href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html#a1e704fe2e0b11f7633f8f475ca589959">getCoordinates</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <span class="keywordflow">return</span> ptDist.getCoordinates();</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; }</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <a class="code" href="classgeos_1_1geom_1_1Coordinate.html">geom::Coordinate</a> getSegementAt(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a>&amp; seq, <span class="keywordtype">size_t</span> index);</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160;</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <a class="code" href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html">PointPairDistance</a>&amp; getFrecheDistance(std::vector&lt; std::vector&lt;PointPairDistance&gt; &gt;&amp; ca, <span class="keywordtype">size_t</span> i, <span class="keywordtype">size_t</span> j,</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a>&amp; p, <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1CoordinateSequence.html">geom::CoordinateSequence</a>&amp; q);</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; <span class="keywordtype">void</span> compute(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>&amp; discreteGeom, <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>&amp; geom);</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160;</div><div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html#a3884a48bae26d12b9eda21e1e2d70269"> 164</a></span>&#160; <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>&amp; <a class="code" href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html#a3884a48bae26d12b9eda21e1e2d70269">g0</a>;</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160;</div><div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html#a20ead202ac121ae64caf6723dfbde1e2"> 166</a></span>&#160; <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Geometry.html">geom::Geometry</a>&amp; <a class="code" href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html#a20ead202ac121ae64caf6723dfbde1e2">g1</a>;</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;</div><div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html#ae44d32353523c849352578a4432bcdab"> 168</a></span>&#160; <a class="code" href="classgeos_1_1algorithm_1_1distance_1_1PointPairDistance.html">PointPairDistance</a> <a class="code" href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html#ae44d32353523c849352578a4432bcdab">ptDist</a>;</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160;</div><div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html#adb7b3d16f4b203d77a93c43996db80a4"> 171</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html#adb7b3d16f4b203d77a93c43996db80a4">densifyFrac</a>; <span class="comment">// = 0.0;</span></div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160;</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; <span class="comment">// Declare type as noncopyable</span></div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <a class="code" href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html">DiscreteFrechetDistance</a>(<span class="keyword">const</span> <a class="code" href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html">DiscreteFrechetDistance</a>&amp; other) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; <a class="code" href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html">DiscreteFrechetDistance</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html">DiscreteFrechetDistance</a>&amp; rhs) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160;};</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160;</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160;} <span class="comment">// geos::algorithm::distance</span></div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160;} <span class="comment">// geos::algorithm</span></div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160;} <span class="comment">// geos</span></div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160;</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160;<span class="preprocessor">#ifdef _MSC_VER</span></div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160;<span class="preprocessor">#pragma warning(pop)</span></div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160;</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160;<span class="preprocessor">#endif // GEOS_ALGORITHM_DISTANCE_DISCRETEFRECHETDISTANCE_H</span></div><div class="ttc" id="math_8h_html"><div class="ttname"><a href="math_8h.html">math.h</a></div></div>
<div class="ttc" id="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance_html_ac62530b30f16fb7697d366766e79dad9"><div class="ttname"><a href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html#ac62530b30f16fb7697d366766e79dad9">geos::algorithm::distance::DiscreteFrechetDistance::setDensifyFraction</a></div><div class="ttdeci">void setDensifyFraction(double dFrac)</div><div class="ttdef"><b>Definition:</b> <a href="DiscreteFrechetDistance_8h_source.html#l00133">DiscreteFrechetDistance.h:133</a></div></div>
<div class="ttc" id="export_8h_html_ae36df939090171f6e9a28a8cb6254fea"><div class="ttname"><a href="export_8h.html#ae36df939090171f6e9a28a8cb6254fea">GEOS_DLL</a></div><div class="ttdeci">#define GEOS_DLL</div><div class="ttdef"><b>Definition:</b> <a href="export_8h_source.html#l00028">export.h:28</a></div></div>
<div class="ttc" id="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance_html_ae44d32353523c849352578a4432bcdab"><div class="ttname"><a href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html#ae44d32353523c849352578a4432bcdab">geos::algorithm::distance::DiscreteFrechetDistance::ptDist</a></div><div class="ttdeci">PointPairDistance ptDist</div><div class="ttdef"><b>Definition:</b> <a href="DiscreteFrechetDistance_8h_source.html#l00168">DiscreteFrechetDistance.h:168</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="export_8h_html"><div class="ttname"><a href="export_8h.html">export.h</a></div></div>
<div class="ttc" id="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance_html_adb7b3d16f4b203d77a93c43996db80a4"><div class="ttname"><a href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html#adb7b3d16f4b203d77a93c43996db80a4">geos::algorithm::distance::DiscreteFrechetDistance::densifyFrac</a></div><div class="ttdeci">double densifyFrac</div><div class="ttdoc">Value of 0.0 indicates that no densification should take place. </div><div class="ttdef"><b>Definition:</b> <a href="DiscreteFrechetDistance_8h_source.html#l00171">DiscreteFrechetDistance.h:171</a></div></div>
<div class="ttc" id="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance_html_a20ead202ac121ae64caf6723dfbde1e2"><div class="ttname"><a href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html#a20ead202ac121ae64caf6723dfbde1e2">geos::algorithm::distance::DiscreteFrechetDistance::g1</a></div><div class="ttdeci">const geom::Geometry &amp; g1</div><div class="ttdef"><b>Definition:</b> <a href="DiscreteFrechetDistance_8h_source.html#l00166">DiscreteFrechetDistance.h:166</a></div></div>
<div class="ttc" id="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance_html_a1e704fe2e0b11f7633f8f475ca589959"><div class="ttname"><a href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html#a1e704fe2e0b11f7633f8f475ca589959">geos::algorithm::distance::DiscreteFrechetDistance::getCoordinates</a></div><div class="ttdeci">const std::array&lt; geom::Coordinate, 2 &gt; getCoordinates() const </div><div class="ttdef"><b>Definition:</b> <a href="DiscreteFrechetDistance_8h_source.html#l00151">DiscreteFrechetDistance.h:151</a></div></div>
<div class="ttc" id="CoordinateFilter_8h_html"><div class="ttname"><a href="CoordinateFilter_8h.html">CoordinateFilter.h</a></div></div>
<div class="ttc" id="classgeos_1_1geom_1_1Geometry_html"><div class="ttname"><a href="classgeos_1_1geom_1_1Geometry.html">geos::geom::Geometry</a></div><div class="ttdoc">Basic implementation of Geometry, constructed and destructed by GeometryFactory. </div><div class="ttdef"><b>Definition:</b> <a href="Geometry_8h_source.html#l00188">Geometry.h:188</a></div></div>
<div class="ttc" id="classgeos_1_1util_1_1IllegalArgumentException_html"><div class="ttname"><a href="classgeos_1_1util_1_1IllegalArgumentException.html">geos::util::IllegalArgumentException</a></div><div class="ttdoc">Indicates one or more illegal arguments. </div><div class="ttdef"><b>Definition:</b> <a href="IllegalArgumentException_8h_source.html#l00034">IllegalArgumentException.h:34</a></div></div>
<div class="ttc" id="PointPairDistance_8h_html"><div class="ttname"><a href="PointPairDistance_8h.html">PointPairDistance.h</a></div></div>
<div class="ttc" id="CoordinateSequence_8h_html"><div class="ttname"><a href="CoordinateSequence_8h.html">CoordinateSequence.h</a></div></div>
<div class="ttc" id="IllegalArgumentException_8h_html"><div class="ttname"><a href="IllegalArgumentException_8h.html">IllegalArgumentException.h</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="classgeos_1_1geom_1_1CoordinateSequence_html"><div class="ttname"><a href="classgeos_1_1geom_1_1CoordinateSequence.html">geos::geom::CoordinateSequence</a></div><div class="ttdoc">The internal representation of a list of coordinates inside a Geometry. </div><div class="ttdef"><b>Definition:</b> <a href="CoordinateSequence_8h_source.html#l00058">CoordinateSequence.h:58</a></div></div>
<div class="ttc" id="DistanceToPoint_8h_html"><div class="ttname"><a href="DistanceToPoint_8h.html">DistanceToPoint.h</a></div></div>
<div class="ttc" id="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance_html"><div class="ttname"><a href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html">geos::algorithm::distance::DiscreteFrechetDistance</a></div><div class="ttdoc">An algorithm for computing a distance metric which is an approximation to the Frechet Distance based ...</div><div class="ttdef"><b>Definition:</b> <a href="DiscreteFrechetDistance_8h_source.html#l00106">DiscreteFrechetDistance.h:106</a></div></div>
<div class="ttc" id="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance_html_a6e160bcb3116a3634841cbfdecc567f7"><div class="ttname"><a href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html#a6e160bcb3116a3634841cbfdecc567f7">geos::algorithm::distance::DiscreteFrechetDistance::distance</a></div><div class="ttdeci">double distance()</div><div class="ttdef"><b>Definition:</b> <a href="DiscreteFrechetDistance_8h_source.html#l00144">DiscreteFrechetDistance.h:144</a></div></div>
<div class="ttc" id="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance_html_ae0ab3df06b0d02bec47df4b218cde132"><div class="ttname"><a href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html#ae0ab3df06b0d02bec47df4b218cde132">geos::algorithm::distance::DiscreteFrechetDistance::DiscreteFrechetDistance</a></div><div class="ttdeci">DiscreteFrechetDistance(const geom::Geometry &amp;p_g0, const geom::Geometry &amp;p_g1)</div><div class="ttdef"><b>Definition:</b> <a href="DiscreteFrechetDistance_8h_source.html#l00115">DiscreteFrechetDistance.h:115</a></div></div>
<div class="ttc" id="Geometry_8h_html"><div class="ttname"><a href="Geometry_8h.html">Geometry.h</a></div></div>
<div class="ttc" id="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance_html_a3884a48bae26d12b9eda21e1e2d70269"><div class="ttname"><a href="classgeos_1_1algorithm_1_1distance_1_1DiscreteFrechetDistance.html#a3884a48bae26d12b9eda21e1e2d70269">geos::algorithm::distance::DiscreteFrechetDistance::g0</a></div><div class="ttdeci">const geom::Geometry &amp; g0</div><div class="ttdef"><b>Definition:</b> <a href="DiscreteFrechetDistance_8h_source.html#l00164">DiscreteFrechetDistance.h:164</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>