19 #ifndef GEOS_ALGORITHM_ANGLE_H 20 #define GEOS_ALGORITHM_ANGLE_H 22 #include <geos/export.h> 23 #include <geos/algorithm/Orientation.h> 42 static const double PI_TIMES_2;
43 static const double PI_OVER_2;
44 static const double PI_OVER_4;
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 Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
Utility functions for working with angles.
Definition: Angle.h:39