42 double cross = BA.
cross(BC);
55 return clockwise ? (cross < 0) : (cross > 0);
bool is_convex(Vector2f A, Vector2f B, Vector2f C, bool clockwise=true)
check if the angle is convex or concave
Definition geometry.hpp:37
bool is_concave(Vector2f A, Vector2f B, Vector2f C, bool clockwise=true)
check if the angle is concave
Definition geometry.hpp:74
constexpr double epsilond
Definition Constants.hpp:35
Vector2< double > Vector2f
Definition Vector2.hpp:112
T y
Definition Vector2.hpp:21
T x
Definition Vector2.hpp:21
T cross(const Vector2 &other) const
Definition Vector2.hpp:65