Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 5035839f674c88dea1f7928a86fbdc64 > files > 501

geos-devel-3.2.1-3.fc14.x86_64.rpm

<!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"/>
<title>GEOS: LineIntersector.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;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 class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<h1>LineIntersector.h</h1>  </div>
</div>
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/**********************************************************************</span>
<a name="l00002"></a>00002 <span class="comment"> * $Id: LineIntersector.h 2556 2009-06-06 22:22:28Z strk $</span>
<a name="l00003"></a>00003 <span class="comment"> *</span>
<a name="l00004"></a>00004 <span class="comment"> * GEOS - Geometry Engine Open Source</span>
<a name="l00005"></a>00005 <span class="comment"> * http://geos.refractions.net</span>
<a name="l00006"></a>00006 <span class="comment"> *</span>
<a name="l00007"></a>00007 <span class="comment"> * Copyright (C) 2005-2006 Refractions Research Inc.</span>
<a name="l00008"></a>00008 <span class="comment"> * Copyright (C) 2001-2002 Vivid Solutions Inc.</span>
<a name="l00009"></a>00009 <span class="comment"> *</span>
<a name="l00010"></a>00010 <span class="comment"> * This is free software; you can redistribute and/or modify it under</span>
<a name="l00011"></a>00011 <span class="comment"> * the terms of the GNU Lesser General Public Licence as published</span>
<a name="l00012"></a>00012 <span class="comment"> * by the Free Software Foundation. </span>
<a name="l00013"></a>00013 <span class="comment"> * See the COPYING file for more information.</span>
<a name="l00014"></a>00014 <span class="comment"> *</span>
<a name="l00015"></a>00015 <span class="comment"> **********************************************************************</span>
<a name="l00016"></a>00016 <span class="comment"> *</span>
<a name="l00017"></a>00017 <span class="comment"> * Last port: algorithm/RobustLineIntersector.java rev. 1.38 (JTS-1.10)</span>
<a name="l00018"></a>00018 <span class="comment"> *</span>
<a name="l00019"></a>00019 <span class="comment"> **********************************************************************/</span>
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 <span class="preprocessor">#ifndef GEOS_ALGORITHM_LINEINTERSECTOR_H</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#define GEOS_ALGORITHM_LINEINTERSECTOR_H</span>
<a name="l00023"></a>00023 <span class="preprocessor"></span>
<a name="l00024"></a>00024 <span class="preprocessor">#include &lt;geos/export.h&gt;</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &lt;string&gt;</span>
<a name="l00026"></a>00026 
<a name="l00027"></a>00027 <span class="preprocessor">#include &lt;geos/geom/Coordinate.h&gt;</span>
<a name="l00028"></a>00028 
<a name="l00029"></a>00029 <span class="comment">// Forward declarations</span>
<a name="l00030"></a>00030 <span class="keyword">namespace </span>geos {
<a name="l00031"></a>00031         <span class="keyword">namespace </span>geom {
<a name="l00032"></a>00032                 <span class="keyword">class </span>PrecisionModel;
<a name="l00033"></a>00033         }
<a name="l00034"></a>00034 }
<a name="l00035"></a>00035 
<a name="l00036"></a>00036 <span class="keyword">namespace </span>geos {
<a name="l00037"></a>00037 <span class="keyword">namespace </span>algorithm { <span class="comment">// geos::algorithm</span>
<a name="l00038"></a>00038 
<a name="l00050"></a><a class="code" href="classgeos_1_1algorithm_1_1LineIntersector.html">00050</a> <span class="keyword">class </span>GEOS_DLL <a class="code" href="classgeos_1_1algorithm_1_1LineIntersector.html" title="A LineIntersector is an algorithm that can both test whether two line segments intersect and compute ...">LineIntersector</a> {
<a name="l00051"></a>00051 <span class="keyword">public</span>: 
<a name="l00052"></a>00052 
<a name="l00056"></a>00056         <span class="keyword">static</span> <span class="keywordtype">double</span> interpolateZ(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a> &amp;p, <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a> &amp;p0, <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a> &amp;p1);
<a name="l00057"></a>00057 
<a name="l00058"></a>00058 
<a name="l00060"></a>00060         <span class="comment">//</span>
<a name="l00077"></a>00077 <span class="comment"></span>        <span class="keyword">static</span> <span class="keywordtype">double</span> computeEdgeDistance(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a>&amp; p, <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a>&amp; p0, <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a>&amp; p1);
<a name="l00078"></a>00078 
<a name="l00079"></a>00079         <span class="keyword">static</span> <span class="keywordtype">double</span> nonRobustComputeEdgeDistance(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a>&amp; p,<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a>&amp; p1,<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a>&amp; p2);
<a name="l00080"></a>00080 
<a name="l00081"></a>00081         <a class="code" href="classgeos_1_1algorithm_1_1LineIntersector.html" title="A LineIntersector is an algorithm that can both test whether two line segments intersect and compute ...">LineIntersector</a>(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1PrecisionModel.html" title="Specifies the precision model of the Coordinate in a Geometry.">geom::PrecisionModel</a>* initialPrecisionModel=NULL)
<a name="l00082"></a>00082                 :
<a name="l00083"></a>00083                 precisionModel(initialPrecisionModel),
<a name="l00084"></a>00084                 result(0)
<a name="l00085"></a>00085         {}
<a name="l00086"></a>00086 
<a name="l00087"></a>00087         ~<a class="code" href="classgeos_1_1algorithm_1_1LineIntersector.html" title="A LineIntersector is an algorithm that can both test whether two line segments intersect and compute ...">LineIntersector</a>() {}
<a name="l00088"></a>00088 
<a name="l00096"></a>00096         <span class="keywordtype">bool</span> isInteriorIntersection();
<a name="l00097"></a>00097 
<a name="l00105"></a>00105         <span class="keywordtype">bool</span> isInteriorIntersection(<span class="keywordtype">int</span> inputLineIndex);
<a name="l00106"></a>00106 
<a name="l00108"></a>00108         <span class="comment">//</span>
<a name="l00113"></a><a class="code" href="classgeos_1_1algorithm_1_1LineIntersector.html#a742294f2808e7d07387771ca31a6c07f">00113</a> <span class="comment"></span>        <span class="keywordtype">void</span> <a class="code" href="classgeos_1_1algorithm_1_1LineIntersector.html#a742294f2808e7d07387771ca31a6c07f" title="Force computed intersection to be rounded to a given precision model.">setPrecisionModel</a>(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1PrecisionModel.html" title="Specifies the precision model of the Coordinate in a Geometry.">geom::PrecisionModel</a> *newPM) {
<a name="l00114"></a>00114                 precisionModel=newPM;
<a name="l00115"></a>00115         }
<a name="l00116"></a>00116 
<a name="l00118"></a>00118         <span class="comment">//</span>
<a name="l00123"></a>00123 <span class="comment"></span>        <span class="keywordtype">void</span> computeIntersection(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a>&amp; p, <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a>&amp; p1, <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a>&amp; p2);
<a name="l00124"></a>00124 
<a name="l00126"></a>00126         <span class="keyword">static</span> <span class="keywordtype">bool</span> hasIntersection(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a>&amp; p,<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a>&amp; p1,<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a>&amp; p2);
<a name="l00127"></a>00127 
<a name="l00128"></a>00128         <span class="comment">// These are deprecated, due to ambiguous naming</span>
<a name="l00129"></a>00129         <span class="keyword">enum</span> {
<a name="l00130"></a>00130                 DONT_INTERSECT=0,
<a name="l00131"></a>00131                 DO_INTERSECT=1,
<a name="l00132"></a>00132                 COLLINEAR=2
<a name="l00133"></a>00133         };
<a name="l00134"></a>00134 
<a name="l00135"></a>00135         <span class="keyword">enum</span> {
<a name="l00137"></a><a class="code" href="classgeos_1_1algorithm_1_1LineIntersector.html#abe8a444de55358c303d74c765e24b109a41ea06e310475a259b08e43598705fed">00137</a>                 NO_INTERSECTION=0,
<a name="l00138"></a>00138 
<a name="l00140"></a><a class="code" href="classgeos_1_1algorithm_1_1LineIntersector.html#abe8a444de55358c303d74c765e24b109ac27172d289eac55bb325f5eb73564b56">00140</a>                 POINT_INTERSECTION=1,
<a name="l00141"></a>00141 
<a name="l00143"></a><a class="code" href="classgeos_1_1algorithm_1_1LineIntersector.html#abe8a444de55358c303d74c765e24b109a7feb3f604c1af5bfe7e422a084b0eade">00143</a>                 COLLINEAR_INTERSECTION=2
<a name="l00144"></a>00144         };
<a name="l00145"></a>00145 
<a name="l00147"></a>00147         <span class="keywordtype">void</span> computeIntersection(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a>&amp; p1, <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a>&amp; p2,
<a name="l00148"></a>00148                         <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a>&amp; p3, <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a>&amp; p4);
<a name="l00149"></a>00149 
<a name="l00150"></a>00150         std::string toString() <span class="keyword">const</span>;
<a name="l00151"></a>00151 
<a name="l00157"></a><a class="code" href="classgeos_1_1algorithm_1_1LineIntersector.html#a6189821070c6a9081cb2bce8c3c54091">00157</a>         <span class="keywordtype">bool</span> <a class="code" href="classgeos_1_1algorithm_1_1LineIntersector.html#a6189821070c6a9081cb2bce8c3c54091">hasIntersection</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> result!=NO_INTERSECTION; }
<a name="l00158"></a>00158 
<a name="l00160"></a>00160         <span class="comment">//</span>
<a name="l00163"></a><a class="code" href="classgeos_1_1algorithm_1_1LineIntersector.html#a7e383aa9d5f900c1d107ce78c4de9d79">00163</a> <span class="comment"></span>        <span class="keywordtype">int</span> <a class="code" href="classgeos_1_1algorithm_1_1LineIntersector.html#a7e383aa9d5f900c1d107ce78c4de9d79" title="Returns the number of intersection points found.">getIntersectionNum</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> result; }
<a name="l00164"></a>00164 
<a name="l00165"></a>00165         
<a name="l00167"></a>00167         <span class="comment">//</span>
<a name="l00172"></a><a class="code" href="classgeos_1_1algorithm_1_1LineIntersector.html#a938b9f5eb11695238aa68754e6b3b25a">00172</a> <span class="comment"></span>        <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a>&amp; <a class="code" href="classgeos_1_1algorithm_1_1LineIntersector.html#a938b9f5eb11695238aa68754e6b3b25a" title="Returns the intIndex&amp;#39;th intersection point.">getIntersection</a>(<span class="keywordtype">int</span> intIndex)<span class="keyword"> const </span>{
<a name="l00173"></a>00173                 <span class="keywordflow">return</span> intPt[intIndex];
<a name="l00174"></a>00174         }
<a name="l00175"></a>00175 
<a name="l00177"></a>00177         <span class="comment">//</span>
<a name="l00180"></a>00180 <span class="comment"></span>        <span class="keyword">static</span> <span class="keywordtype">bool</span> isSameSignAndNonZero(<span class="keywordtype">double</span> a,<span class="keywordtype">double</span> b);
<a name="l00181"></a>00181 
<a name="l00192"></a>00192         <span class="keywordtype">bool</span> isIntersection(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a>&amp; pt) <span class="keyword">const</span>;
<a name="l00193"></a>00193 
<a name="l00208"></a><a class="code" href="classgeos_1_1algorithm_1_1LineIntersector.html#a19d15a24c61e942bd83be9ae43cda5fc">00208</a>         <span class="keywordtype">bool</span> <a class="code" href="classgeos_1_1algorithm_1_1LineIntersector.html#a19d15a24c61e942bd83be9ae43cda5fc" title="Tests whether an intersection is proper.">isProper</a>()<span class="keyword"> const </span>{
<a name="l00209"></a>00209                 <span class="keywordflow">return</span> hasIntersection()&amp;&amp;isProperVar;
<a name="l00210"></a>00210         }
<a name="l00211"></a>00211 
<a name="l00222"></a>00222         <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a>&amp; getIntersectionAlongSegment(<span class="keywordtype">int</span> segmentIndex,<span class="keywordtype">int</span> intIndex);
<a name="l00223"></a>00223 
<a name="l00233"></a>00233         <span class="keywordtype">int</span> getIndexAlongSegment(<span class="keywordtype">int</span> segmentIndex,<span class="keywordtype">int</span> intIndex);
<a name="l00234"></a>00234 
<a name="l00244"></a>00244         <span class="keywordtype">double</span> getEdgeDistance(<span class="keywordtype">int</span> geomIndex,<span class="keywordtype">int</span> intIndex) <span class="keyword">const</span>;
<a name="l00245"></a>00245 
<a name="l00246"></a>00246 <span class="keyword">private</span>:
<a name="l00247"></a>00247 
<a name="l00248"></a>00248         <span class="keywordtype">void</span> intersectionWithNormalization(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a>&amp; p1,
<a name="l00249"></a>00249                 <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a>&amp; p2,
<a name="l00250"></a>00250                 <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a>&amp; q1,
<a name="l00251"></a>00251                 <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a>&amp; q2,
<a name="l00252"></a>00252                 <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a> &amp;ret) <span class="keyword">const</span>;
<a name="l00253"></a>00253 
<a name="l00258"></a>00258         <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1PrecisionModel.html" title="Specifies the precision model of the Coordinate in a Geometry.">geom::PrecisionModel</a> *precisionModel;
<a name="l00259"></a>00259 
<a name="l00260"></a>00260         <span class="keywordtype">int</span> result;
<a name="l00261"></a>00261 
<a name="l00262"></a>00262         <span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a> *inputLines[2][2];
<a name="l00263"></a>00263 
<a name="l00268"></a>00268         <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a> intPt[2];
<a name="l00269"></a>00269 
<a name="l00274"></a>00274         <span class="keywordtype">int</span> intLineIndex[2][2];
<a name="l00275"></a>00275 
<a name="l00276"></a>00276         <span class="keywordtype">bool</span> isProperVar;
<a name="l00277"></a>00277         <span class="comment">//Coordinate &amp;pa;</span>
<a name="l00278"></a>00278         <span class="comment">//Coordinate &amp;pb;</span>
<a name="l00279"></a>00279 
<a name="l00280"></a>00280         <span class="keywordtype">bool</span> isCollinear()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> result==COLLINEAR_INTERSECTION; }
<a name="l00281"></a>00281 
<a name="l00282"></a>00282         <span class="keywordtype">int</span> computeIntersect(<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a>&amp; p1,<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a>&amp; p2,<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a>&amp; q1,<span class="keyword">const</span> <a class="code" href="classgeos_1_1geom_1_1Coordinate.html" title="Coordinate is the lightweight class used to store coordinates.">geom::Coordinate</a>&amp; q2);
<a name="l00283"></a>00283 
<a name="l00284"></a>00284         <span class="keywordtype">bool</span> isEndPoint()<span class="keyword"> const </span>{
<a name="l00285"></a>00285                 <span class="keywordflow">return</span> hasIntersection()&amp;&amp;!isProperVar;
<a name="l00286"></a>00286         }
<a name="l00287"></a>00287 
<a name="l00288"></a>00288         <span class="keywordtype">void</span> computeIntLineIndex();
<a name="l00289"></a>00289 
<a name="l00290"></a>00290         <span class="keywordtype">void</span> computeIntLineIndex(<span class="keywordtype">int</span> segmentIndex);
<a name="l00291"></a>00291 
<a name="l00292"></a>00292         <span class="keywordtype">int</span> computeCollinearIntersection(<span class="keyword">const</span> geom::Coordinate&amp; p1,
<a name="l00293"></a>00293                 <span class="keyword">const</span> geom::Coordinate&amp; p2, <span class="keyword">const</span> geom::Coordinate&amp; q1,
<a name="l00294"></a>00294                 <span class="keyword">const</span> geom::Coordinate&amp; q2);
<a name="l00295"></a>00295 
<a name="l00305"></a>00305         <span class="keywordtype">void</span> intersection(<span class="keyword">const</span> geom::Coordinate&amp; p1,
<a name="l00306"></a>00306                 <span class="keyword">const</span> geom::Coordinate&amp; p2,
<a name="l00307"></a>00307                 <span class="keyword">const</span> geom::Coordinate&amp; q1,
<a name="l00308"></a>00308                 <span class="keyword">const</span> geom::Coordinate&amp; q2,
<a name="l00309"></a>00309                 geom::Coordinate &amp;ret) <span class="keyword">const</span>;
<a name="l00310"></a>00310 
<a name="l00311"></a>00311         <span class="keywordtype">double</span> smallestInAbsValue(<span class="keywordtype">double</span> x1, <span class="keywordtype">double</span> x2,
<a name="l00312"></a>00312                 <span class="keywordtype">double</span> x3, <span class="keywordtype">double</span> x4) <span class="keyword">const</span>;
<a name="l00313"></a>00313 
<a name="l00324"></a>00324         <span class="keywordtype">bool</span> isInSegmentEnvelopes(<span class="keyword">const</span> geom::Coordinate&amp; intPt) <span class="keyword">const</span>;
<a name="l00325"></a>00325 
<a name="l00337"></a>00337         <span class="keywordtype">void</span> normalizeToEnvCentre(geom::Coordinate &amp;n00, geom::Coordinate &amp;n01,
<a name="l00338"></a>00338                 geom::Coordinate &amp;n10, geom::Coordinate &amp;n11,
<a name="l00339"></a>00339                 geom::Coordinate &amp;normPt) <span class="keyword">const</span>;
<a name="l00340"></a>00340 
<a name="l00353"></a>00353          <span class="keywordtype">void</span> safeHCoordinateIntersection(<span class="keyword">const</span> geom::Coordinate&amp; p1,
<a name="l00354"></a>00354                          <span class="keyword">const</span> geom::Coordinate&amp; p2,
<a name="l00355"></a>00355                          <span class="keyword">const</span> geom::Coordinate&amp; q1,
<a name="l00356"></a>00356                          <span class="keyword">const</span> geom::Coordinate&amp; q2,
<a name="l00357"></a>00357                          geom::Coordinate&amp; intPt) <span class="keyword">const</span>;
<a name="l00358"></a>00358                    
<a name="l00359"></a>00359 };
<a name="l00360"></a>00360 
<a name="l00361"></a>00361 } <span class="comment">// namespace geos::algorithm</span>
<a name="l00362"></a>00362 } <span class="comment">// namespace geos</span>
<a name="l00363"></a>00363 
<a name="l00364"></a>00364 
<a name="l00365"></a>00365 <span class="preprocessor">#endif // GEOS_ALGORITHM_LINEINTERSECTOR_H</span>
<a name="l00366"></a>00366 <span class="preprocessor"></span>
<a name="l00367"></a>00367 <span class="comment">/**********************************************************************</span>
<a name="l00368"></a>00368 <span class="comment"> * $Log$</span>
<a name="l00369"></a>00369 <span class="comment"> * Revision 1.3  2006/04/20 14:16:25  strk</span>
<a name="l00370"></a>00370 <span class="comment"> * Added some more doxygen comments</span>
<a name="l00371"></a>00371 <span class="comment"> *</span>
<a name="l00372"></a>00372 <span class="comment"> * Revision 1.2  2006/04/06 21:31:40  strk</span>
<a name="l00373"></a>00373 <span class="comment"> * Const correctness for debugging function</span>
<a name="l00374"></a>00374 <span class="comment"> *</span>
<a name="l00375"></a>00375 <span class="comment"> * Revision 1.1  2006/03/09 16:46:48  strk</span>
<a name="l00376"></a>00376 <span class="comment"> * geos::geom namespace definition, first pass at headers split</span>
<a name="l00377"></a>00377 <span class="comment"> *</span>
<a name="l00378"></a>00378 <span class="comment"> **********************************************************************/</span>
<a name="l00379"></a>00379 
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Thu Jul 22 2010 for GEOS by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>