1 #ifndef OPENPOSE_CORE_RECTANGLE_HPP
2 #define OPENPOSE_CORE_RECTANGLE_HPP
67 void recenter(
const T newWidth,
const T newHeight);
#define OVERLOAD_C_OUT(className)
Rectangle< T > recenter(const Rectangle< T > &rectangle, const T newWidth, const T newHeight)
Rectangle(const T x=0, const T y=0, const T width=0, const T height=0)
Point< T > center() const
void recenter(const T newWidth, const T newHeight)
Rectangle< T > & operator*=(const T value)
Point< T > topLeft() const
Rectangle< T > & operator/=(const T value)
Rectangle< T > operator*(const T value) const
Point< T > bottomRight() const
Rectangle< T > & operator=(const Rectangle< T > &rectangle)
Rectangle< T > & operator=(Rectangle< T > &&rectangle)
Rectangle< T > operator/(const T value) const
std::string toString() const