1 #ifndef OPENPOSE_CORE_POINT_HPP
2 #define OPENPOSE_CORE_POINT_HPP
14 Point(
const T
x = 0,
const T
y = 0);
70 inline bool operator<(const Point<T>& point)
const
72 return area() < point.area();
90 inline bool operator<=(const Point<T>& point)
const
92 return area() <= point.area();
156 #endif // OPENPOSE_CORE_POINT_HPP
Point(const T x=0, const T y=0)
std::string toString() const
T y
Definition: point.hpp:12
bool operator!=(const Point< T > &point) const
Definition: point.hpp:120
Point< T > operator+(const Point< T > &point) const
Point< T > & operator=(const Point< T > &point)
Point< T > & operator*=(const T value)
Point< T > & operator-=(const Point< T > &point)
bool operator==(const Point< T > &point) const
Definition: point.hpp:110
bool operator>=(const Point< T > &point) const
Definition: point.hpp:100
Point< T > operator*(const T value) const
Point< T > operator-(const Point< T > &point) const
bool operator>(const Point< T > &point) const
Definition: point.hpp:80
Point< T > & operator+=(const Point< T > &point)
Point< T > & operator/=(const T value)
T area() const
Definition: point.hpp:48
T x
Definition: point.hpp:11
Point< T > operator/(const T value) const