19 #ifndef GEOS_ALGORITHM_ANGLE_H 20 #define GEOS_ALGORITHM_ANGLE_H 47 static const int COUNTERCLOCKWISE = Orientation::COUNTERCLOCKWISE;
50 static const int CLOCKWISE = Orientation::CLOCKWISE;
53 static const int NONE = Orientation::COLLINEAR;
60 static double toDegrees(
double radians);
67 static double toRadians(
double angleDegrees);
177 static int getTurn(
double ang1,
double ang2);
186 static double normalize(
double angle);
206 static double normalizePositive(
double angle);
219 static double diff(
double ang1,
double ang2);
227 #endif // GEOS_ALGORITHM_ANGLE_H static const double PI_OVER_4
Coordinate is the lightweight class used to store coordinates.
static const double PI_OVER_2
Basic namespace for all GEOS functionalities.
static const double PI_TIMES_2
Utility functions for working with angles.