96 T c2 =
c.square_magnitude();
constexpr T epsilon_v
Definition Constants.hpp:32
Definition Constants.hpp:14
Vector2< T > p1
Definition Shape.hpp:61
bool operator==(const Line &other) const
Definition Shape.hpp:64
bool same(const Line &other) const
Definition Shape.hpp:70
Vector2< T > p2
Definition Shape.hpp:61
Vector2< T > size() const
Definition Shape.hpp:42
Vector2< T > half() const
Definition Shape.hpp:39
T w
Definition Shape.hpp:33
T h
Definition Shape.hpp:33
T y
Definition Shape.hpp:33
T x
Definition Shape.hpp:33
bool intersects(const Rect &o, T margin=T(0)) const
Definition Shape.hpp:46
Vector2< T > corner() const
Definition Shape.hpp:41
Vector2< T > center() const
Definition Shape.hpp:38
bool isInsideCircumcircle(const Vector2< T > &p)
Definition Shape.hpp:87
Vector2< T > p3
Definition Shape.hpp:84
bool same(const Triangle< T > &other) const
Definition Shape.hpp:128
bool isInside(Vector2< T > P)
Definition Shape.hpp:107
Vector2< T > p2
Definition Shape.hpp:84
Vector2< T > p1
Definition Shape.hpp:84
bool operator==(const Triangle< T > &other) const
Definition Shape.hpp:118
Definition Vector2.hpp:20
T y
Definition Vector2.hpp:21
T x
Definition Vector2.hpp:21
T cross(const Vector2 &other) const
Definition Vector2.hpp:65
T square_magnitude() const
Definition Vector2.hpp:68