21 #include <geos/export.h> 22 #include <geos/algorithm/Orientation.h> 41 static constexpr
double PI_TIMES_2 = 2.0 * MATH_PI;
42 static constexpr
double PI_OVER_2 = MATH_PI / 2.0;
43 static constexpr
double PI_OVER_4 = MATH_PI / 4.0;
46 static const int COUNTERCLOCKWISE = Orientation::COUNTERCLOCKWISE;
49 static const int CLOCKWISE = Orientation::CLOCKWISE;
52 static const int NONE = Orientation::COLLINEAR;
59 static double toDegrees(
double radians);
66 static double toRadians(
double angleDegrees);
176 static int getTurn(
double ang1,
double ang2);
185 static double normalize(
double angle);
205 static double normalizePositive(
double angle);
218 static double diff(
double ang1,
double ang2);
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:58
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25
Utility functions for working with angles.
Definition: Angle.h:38