19 #ifndef GEOS_ALGORITHM_CGALGORITHMDD_H 20 #define GEOS_ALGORITHM_CGALGORITHMDD_H 21 #include <geos/export.h> 22 #include <geos/algorithm/ttmath/ttmath.h> 29 typedef ttmath::Big<TTMATH_BITS(32), TTMATH_BITS(128)>
DD;
38 class CoordinateSequence;
103 orientation(
double x)
106 return CGAlgorithmsDD::RIGHT;
109 return CGAlgorithmsDD::LEFT;
111 return CGAlgorithmsDD::STRAIGHT;
126 static int signOfDet2x2(
double dx1,
double dy1,
double dx2,
double dy2);
128 static DD detDD(
double x1,
double y1,
double x2,
double y2);
129 static DD detDD(
const DD& x1,
const DD& y1,
const DD& x2,
const DD& y2);
158 static int signOfDet2x2(
const DD& x1,
const DD& y1,
const DD& x2,
const DD& y2);
165 #endif // GEOS_ALGORITHM_CGALGORITHM_H Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
ttmath::Big< TTMATH_BITS(32), TTMATH_BITS(128)> DD
Close to DoubleDouble equivalent used by JTS.
Definition: CGAlgorithmsDD.h:29
Implements basic computational geometry algorithms using extended precision float-point arithmetic.
Definition: CGAlgorithmsDD.h:46
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25