Template Struct Rectangle¶
Defined in File rectangle.h
Struct Documentation¶
-
template<typename T>
struct Rectangle¶ Public Functions
- constexpr constexpr Rectangle ()=default
- inline constexpr constexpr Rectangle (Point< T > const &top_left, Size< T > const &size)
-
inline Point<T> bottom_right() const¶
The bottom right boundary point of the rectangle.
Note that the returned point is not included in the rectangle area, that is, the rectangle is represented as [top_left,bottom_right).