IDS peak IPL  v1.10.0
peak::ipl::Rect2D Class Reference

Rectangle type. More...

#include <peak_ipl/types/peak_ipl_rect.hpp>

Public Member Functions

constexpr Rect2D (size_t x, size_t y, size_t width, size_t height)
 
constexpr Rect2D (const Point2D &point, const Size2D &size)
 

Public Attributes

 PEAK_IPL_MAYBE_UNUSED
 

Detailed Description

Rectangle type.

Constructor & Destructor Documentation

◆ Rect2D() [1/2]

constexpr peak::ipl::Rect2D::Rect2D ( size_t  x,
size_t  y,
size_t  width,
size_t  height 
)
inline

◆ Rect2D() [2/2]

constexpr peak::ipl::Rect2D::Rect2D ( const Point2D &  point,
const Size2D &  size 
)
inline

Member Data Documentation

◆ PEAK_IPL_MAYBE_UNUSED

peak::ipl::Rect2D::PEAK_IPL_MAYBE_UNUSED
Initial value:
= constexpr Point2D topLeft() const
{
return m_point;
}

The documentation for this class was generated from the following file: