76 lines
22 KiB
HTML
76 lines
22 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: SegmentPointComparator.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_45d6d9d02973e76e5a8f8dc6273892cb.html">noding</a></li> </ul>
|
||
|
</div>
|
||
|
</div><!-- top -->
|
||
|
<div class="header">
|
||
|
<div class="headertitle">
|
||
|
<div class="title">SegmentPointComparator.h</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
<a href="SegmentPointComparator_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) 2006 Refractions Research Inc.</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: noding/SegmentPointComparator.java r320 (JTS-1.12)</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_NODING_SEGMENTPOINTCOMPARATOR_H</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#define GEOS_NODING_SEGMENTPOINTCOMPARATOR_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="export_8h.html">geos/export.h</a>></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></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <cassert></span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="keyword">namespace </span><a class="code" href="namespacegeos.html">geos</a> {</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">namespace </span>noding { <span class="comment">// geos.noding</s
|
||
|
<div class="ttc" id="classgeos_1_1geom_1_1Coordinate_html_acdeb58356624ebe25cbbf5b6021c3d9d"><div class="ttname"><a href="classgeos_1_1geom_1_1Coordinate.html#acdeb58356624ebe25cbbf5b6021c3d9d">geos::geom::Coordinate::y</a></div><div class="ttdeci">double y</div><div class="ttdoc">y-coordinate </div><div class="ttdef"><b>Definition:</b> <a href="Coordinate_8h_source.html#l00083">Coordinate.h:83</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1noding_1_1SegmentPointComparator_html_ad46e6c91ff33c9b14be08072a094ac4a"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentPointComparator.html#ad46e6c91ff33c9b14be08072a094ac4a">geos::noding::SegmentPointComparator::compare</a></div><div class="ttdeci">static int compare(int octant, const geom::Coordinate &p0, const geom::Coordinate &p1)</div><div class="ttdoc">Compares two Coordinates for their relative position along a segment lying in the specified Octant...</div><div class="ttdef"><b>Definition:</b> <a href="SegmentPointComparator_8h_source.html#l00053">SegmentPointComparator.h:53</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="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_1noding_1_1SegmentPointComparator_html_a0dacaf6187868de20cab6b03da25a968"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentPointComparator.html#a0dacaf6187868de20cab6b03da25a968">geos::noding::SegmentPointComparator::relativeSign</a></div><div class="ttdeci">static int relativeSign(double x0, double x1)</div><div class="ttdef"><b>Definition:</b> <a href="SegmentPointComparator_8h_source.html#l00088">SegmentPointComparator.h:88</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_1geom_1_1Coordinate_html_ad809a77e5715e490a7e5f95c8611737e"><div class="ttname"><a href="classgeos_1_1geom_1_1Coordinate.html#ad809a77e5715e490a7e5f95c8611737e">geos::geom::Coordinate::x</a></div><div class="ttdeci">double x</div><div class="ttdoc">x-coordinate </div><div class="ttdef"><b>Definition:</b> <a href="Coordinate_8h_source.html#l00080">Coordinate.h:80</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1geom_1_1Coordinate_html_a2c21bb7a17fd64f70d6ee55990cb87b9"><div class="ttname"><a href="classgeos_1_1geom_1_1Coordinate.html#a2c21bb7a17fd64f70d6ee55990cb87b9">geos::geom::Coordinate::equals2D</a></div><div class="ttdeci">bool equals2D(const Coordinate &other) const </div></div>
|
||
|
<div class="ttc" id="classgeos_1_1noding_1_1SegmentPointComparator_html"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentPointComparator.html">geos::noding::SegmentPointComparator</a></div><div class="ttdoc">Implements a robust method of comparing the relative position of two points along the same segment...</div><div class="ttdef"><b>Definition:</b> <a href="SegmentPointComparator_8h_source.html#l00040">SegmentPointComparator.h:40</a></div></div>
|
||
|
<div class="ttc" id="classgeos_1_1noding_1_1SegmentPointComparator_html_afad72511ac465cacf690bd6398629f3c"><div class="ttname"><a href="classgeos_1_1noding_1_1SegmentPointComparator.html#afad72511ac465cacf690bd6398629f3c">geos::noding::SegmentPointComparator::compareValue</a></div><div class="ttdeci">static int compareValue(int compareSign0, int compareSign1)</div><div class="ttdef"><b>Definition:</b> <a href="SegmentPointComparator_8h_source.html#l00100">SegmentPointComparator.h:100</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>
|