GEOS  3.8.0dev
RobustDeterminant.h
1 /**********************************************************************
2  *
3  * GEOS - Geometry Engine Open Source
4  * http://geos.osgeo.org
5  *
6  * Copyright (C) 2005-2006 Refractions Research Inc.
7  * Copyright (C) 2001-2002 Vivid Solutions Inc.
8  *
9  * This is free software; you can redistribute and/or modify it under
10  * the terms of the GNU Lesser General Public Licence as published
11  * by the Free Software Foundation.
12  * See the COPYING file for more information.
13  *
14  **********************************************************************
15  *
16  * Last port: algorithm/RobustDeterminant.java 1.15 (JTS-1.10)
17  *
18  **********************************************************************/
19 
20 #ifndef GEOS_ALGORITHM_ROBUSTDETERMINANT_H
21 #define GEOS_ALGORITHM_ROBUSTDETERMINANT_H
22 
23 #include <geos/export.h>
24 
25 namespace geos {
26 namespace algorithm { // geos::algorithm
27 
51 class GEOS_DLL RobustDeterminant {
52 public:
53 
62  static int signOfDet2x2(double x1, double y1, double x2, double y2);
63 };
64 
65 } // namespace geos::algorithm
66 } // namespace geos
67 
68 
69 
70 #endif // GEOS_ALGORITHM_ROBUSTDETERMINANT_H
Implements an algorithm to compute the sign of a 2x2 determinant for double precision values robustly...
Definition: RobustDeterminant.h:51
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25