1 #ifndef POINT_HPP_INCLUDED
2 #define POINT_HPP_INCLUDED
45 operator bool()
const;
bool InBox(const Box &B) const
std::int32_t Y
The Y-axis coordinate.
double DistanceFrom(const Point &P) const
bool operator!=(const Point &P) const
bool InCircle(const Point &P, std::int32_t Radius) const
Point & operator-=(const Point &P)
Point(std::int32_t X, std::int32_t Y)
Point operator-(const Point &P) const
friend std::ostream & operator<<(std::ostream &OS, const Point &P)
std::int32_t X
The X-axis coordinate.
bool operator==(const Point &P) const
Point operator+(const Point &P) const
Point & operator+=(const Point &P)