1 #ifndef OPENPOSE_CORE_POINT_HPP
2 #define OPENPOSE_CORE_POINT_HPP
15 Point(
const T
x = 0,
const T
y = 0);
72 inline bool operator<(const Point<T>& point)
const
74 return area() < point.area();
92 inline bool operator<=(const Point<T>& point)
const
94 return area() <= point.area();
161 #endif // OPENPOSE_CORE_POINT_HPP
Point(const T x=0, const T y=0)
std::string toString() const
T y
Definition: point.hpp:13
bool operator!=(const Point< T > &point) const
Definition: point.hpp:122
Point< T > operator+(const Point< T > &point) const
Point< T > & operator=(const Point< T > &point)
Point< T > & operator*=(const T value)
#define OVERLOAD_C_OUT(className)
Definition: macros.hpp:60
Point< T > & operator-=(const Point< T > &point)
bool operator==(const Point< T > &point) const
Definition: point.hpp:112
bool operator>=(const Point< T > &point) const
Definition: point.hpp:102
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:82
Point< T > & operator+=(const Point< T > &point)
Point< T > & operator/=(const T value)
T area() const
Definition: point.hpp:50
T x
Definition: point.hpp:12
Point< T > operator/(const T value) const
std::string string
Definition: cl2.hpp:574