Sophie

Sophie

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

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: geos::algorithm::RobustDeterminant Class Reference</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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath">
    <ul>
      <li><a class="el" href="namespacegeos.html">geos</a>      </li>
      <li><a class="el" href="namespacegeos_1_1algorithm.html">algorithm</a>      </li>
      <li><a class="el" href="classgeos_1_1algorithm_1_1RobustDeterminant.html">geos::algorithm::RobustDeterminant</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<h1>geos::algorithm::RobustDeterminant Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="geos::algorithm::RobustDeterminant" -->
<p>Implements an algorithm to compute the sign of a 2x2 determinant for double precision values robustly.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="RobustDeterminant_8h_source.html">RobustDeterminant.h</a>&gt;</code></p>

<p><a href="classgeos_1_1algorithm_1_1RobustDeterminant-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1algorithm_1_1RobustDeterminant.html#aa4281973e2c4ae3940eeb1ad3aaa0dd2">signOfDet2x2</a> (double x1, double y1, double x2, double y2)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Computes the sign of the determinant of the 2x2 matrix with the given entries, in a robust way.  <a href="#aa4281973e2c4ae3940eeb1ad3aaa0dd2"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Implements an algorithm to compute the sign of a 2x2 determinant for double precision values robustly. </p>
<p>It is a direct translation of code developed by Olivier Devillers.</p>
<p>The original code carries the following copyright notice:</p>
<pre></pre><pre> The original code carries the following copyright notice:
 Author : Olivier Devillers
 <a href="mailto:Olivier.Devillers@sophia.inria.fr">Olivier.Devillers@sophia.inria.fr</a>
 <a href="http:/www.inria.fr:/prisme/personnel/devillers/anglais/determinant.html">http:/www.inria.fr:/prisme/personnel/devillers/anglais/determinant.html</a></pre><pre>              Copyright (c) 1995  by  INRIA Prisme Project
                  BP 93 06902 Sophia Antipolis Cedex, France.
                           All rights reserved</pre><pre> </pre> <hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aa4281973e2c4ae3940eeb1ad3aaa0dd2"></a><!-- doxytag: member="geos::algorithm::RobustDeterminant::signOfDet2x2" ref="aa4281973e2c4ae3940eeb1ad3aaa0dd2" args="(double x1, double y1, double x2, double y2)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int geos::algorithm::RobustDeterminant::signOfDet2x2 </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>y2</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Computes the sign of the determinant of the 2x2 matrix with the given entries, in a robust way. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>-1 if the determinant is negative, </dd>
<dd>
1 if the determinant is positive, </dd>
<dd>
0 if the determinant is 0. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="RobustDeterminant_8h_source.html">RobustDeterminant.h</a></li>
</ul>
</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>