GEOS
3.14.0dev
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
b
c
g
j
l
n
o
p
r
s
Functions
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
c
d
e
h
i
m
n
p
r
s
t
z
Typedefs
Enumerations
Enumerator
Related Symbols
Files
File List
File Members
All
f
g
i
Functions
f
g
i
Typedefs
Enumerations
Enumerator
g
include
geos
algorithm
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
#pragma once
21
22
#include <geos/export.h>
23
24
namespace
geos
{
25
namespace
algorithm {
// geos::algorithm
26
50
class
GEOS_DLL
RobustDeterminant
{
51
public
:
52
61
static
int
signOfDet2x2
(
double
x1,
double
y1,
double
x2,
double
y2);
62
};
50
class
GEOS_DLL
RobustDeterminant
{
…
};
63
64
}
// namespace geos::algorithm
65
}
// namespace geos
66
geos::algorithm::RobustDeterminant
Implements an algorithm to compute the sign of a 2x2 determinant for double precision values robustly...
Definition
RobustDeterminant.h:50
geos::algorithm::RobustDeterminant::signOfDet2x2
static int signOfDet2x2(double x1, double y1, double x2, double y2)
Computes the sign of the determinant of the 2x2 matrix with the given entries, in a robust way.
geos
Basic namespace for all GEOS functionalities.
Definition
geos.h:39
Generated by
1.9.8