Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CPointGen< T > Class Template Reference

#include <Geometry.h>

Public Types

typedef CPointGen< T > this_type
 

Public Member Functions

 CPointGen () noexcept=default
 
constexpr CPointGen (T a, T b)
 
template<class U >
constexpr CPointGen (const CPointGen< U > &rhs)
 
constexpr this_type operator+ (const this_type &point) const
 
this_typeoperator+= (const this_type &point)
 
constexpr this_type operator- (const this_type &point) const
 
this_typeoperator-= (const this_type &point)
 
constexpr this_type operator* (T factor) const
 
this_typeoperator*= (T factor)
 
constexpr this_type operator/ (T factor) const
 
this_typeoperator/= (T factor)
 

Public Attributes

x {}
 
y {}
 

Member Typedef Documentation

◆ this_type

template<typename T >
CPointGen<T> CPointGen< T >::this_type

Constructor & Destructor Documentation

◆ CPointGen() [1/3]

template<typename T >
CPointGen< T >::CPointGen ( )
defaultnoexcept

◆ CPointGen() [2/3]

template<typename T >
CPointGen< T >::CPointGen ( T a,
T b )
inlineconstexpr

◆ CPointGen() [3/3]

template<typename T >
template<class U >
CPointGen< T >::CPointGen ( const CPointGen< U > & rhs)
inlineexplicitconstexpr

Member Function Documentation

◆ operator*()

template<typename T >
this_type CPointGen< T >::operator* ( T factor) const
inlineconstexpr

◆ operator*=()

template<typename T >
this_type & CPointGen< T >::operator*= ( T factor)
inline

◆ operator+()

template<typename T >
this_type CPointGen< T >::operator+ ( const this_type & point) const
inlineconstexpr

◆ operator+=()

template<typename T >
this_type & CPointGen< T >::operator+= ( const this_type & point)
inline

◆ operator-()

template<typename T >
this_type CPointGen< T >::operator- ( const this_type & point) const
inlineconstexpr

◆ operator-=()

template<typename T >
this_type & CPointGen< T >::operator-= ( const this_type & point)
inline

◆ operator/()

template<typename T >
this_type CPointGen< T >::operator/ ( T factor) const
inlineconstexpr

◆ operator/=()

template<typename T >
this_type & CPointGen< T >::operator/= ( T factor)
inline

Member Data Documentation

◆ x

template<typename T >
T CPointGen< T >::x {}

◆ y

template<typename T >
T CPointGen< T >::y {}

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