21#ifndef GEOS_GEOMGRAPH_QUADRANT_H
22#define GEOS_GEOMGRAPH_QUADRANT_H
24#include <geos/export.h>
27#include <geos/inline.h>
48class GEOS_DLL Quadrant {
52 static const int NE = 0;
53 static const int NW = 1;
54 static const int SW = 2;
55 static const int SE = 3;
63 static int quadrant(
double dx,
double dy);
70 static int quadrant(
const geom::Coordinate& p0,
71 const geom::Coordinate& p1);
76 static bool isOpposite(
int quad1,
int quad2);
84 static int commonHalfPlane(
int quad1,
int quad2);
90 static bool isInHalfPlane(
int quad,
int halfPlane);
95 static bool isNorthern(
int quad);
Coordinate is the lightweight class used to store coordinates.
Definition Coordinate.h:60
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
Contains classes that implement topology graphs.
Definition IndexedNestedRingTester.h:34
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25