libkipr  1.0.0
kipr::geometry::Rect< T > Class Template Reference

#include <geometry.hpp>

Public Member Functions

 Rect (const T &x, const T &y, const T &width, const T &height)
 
const T & x () const
 
const T & y () const
 
const T & width () const
 
const T & height () const
 
Point2< T > center () const
 
void setX (const T &x)
 
void setY (const T &y)
 
void setWidth (const T &width)
 
void setHeight (const T &height)
 
area () const
 
rectangle toCRectangle () const
 

Constructor & Destructor Documentation

◆ Rect()

template<typename T >
kipr::geometry::Rect< T >::Rect ( const T &  x,
const T &  y,
const T &  width,
const T &  height 
)
inline

Member Function Documentation

◆ area()

template<typename T >
T kipr::geometry::Rect< T >::area ( ) const
inline

◆ center()

template<typename T >
Point2<T> kipr::geometry::Rect< T >::center ( ) const
inline

◆ height()

template<typename T >
const T& kipr::geometry::Rect< T >::height ( ) const
inline

◆ setHeight()

template<typename T >
void kipr::geometry::Rect< T >::setHeight ( const T &  height)
inline

◆ setWidth()

template<typename T >
void kipr::geometry::Rect< T >::setWidth ( const T &  width)
inline

◆ setX()

template<typename T >
void kipr::geometry::Rect< T >::setX ( const T &  x)
inline

◆ setY()

template<typename T >
void kipr::geometry::Rect< T >::setY ( const T &  y)
inline

◆ toCRectangle()

template<typename T >
rectangle kipr::geometry::Rect< T >::toCRectangle ( ) const
inline

References create_rectangle().

◆ width()

template<typename T >
const T& kipr::geometry::Rect< T >::width ( ) const
inline

◆ x()

template<typename T >
const T& kipr::geometry::Rect< T >::x ( ) const
inline

◆ y()

template<typename T >
const T& kipr::geometry::Rect< T >::y ( ) const
inline

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