21 #ifndef GEOS_GEOM_QUADRANT_H 22 #define GEOS_GEOM_QUADRANT_H 24 #include <geos/export.h> 27 #include <geos/inline.h> 54 static const int NE = 0;
55 static const int NW = 1;
56 static const int SW = 2;
57 static const int SE = 3;
65 static int quadrant(
double dx,
double dy);
78 static bool isOpposite(
int quad1,
int quad2);
86 static int commonHalfPlane(
int quad1,
int quad2);
92 static bool isInHalfPlane(
int quad,
int halfPlane);
97 static bool isNorthern(
int quad);
105 # include "geos/geom/Quadrant.inl" 108 #endif // ifndef GEOS_GEOM_QUADRANT_H Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26
Utility functions for working with quadrants.
Definition: Quadrant.h:50