22 #ifndef GEOS_GEOMGRAPH_QUADRANT_H
23 #define GEOS_GEOMGRAPH_QUADRANT_H
25 #include <geos/export.h>
28 #include <geos/inline.h>
53 static const int NE = 0;
54 static const int NW = 1;
55 static const int SW = 2;
56 static const int SE = 3;
64 static int quadrant(
double dx,
double dy);
77 static bool isOpposite(
int quad1,
int quad2);
85 static int commonHalfPlane(
int quad1,
int quad2);
91 static bool isInHalfPlane(
int quad,
int halfPlane);
96 static bool isNorthern(
int quad);
107 #endif // ifndef GEOS_GEOMGRAPH_QUADRANT_H