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;
86 static int commonHalfPlane(
int quad1,
int quad2);
105 # include "geos/geom/Quadrant.inl"
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
Utility functions for working with quadrants.
Definition: Quadrant.h:50
static int quadrant(double dx, double dy)
static bool isOpposite(int quad1, int quad2)
static bool isInHalfPlane(int quad, int halfPlane)
static bool isNorthern(int quad)
static int quadrant(const geom::Coordinate &p0, const geom::Coordinate &p1)
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26