Castor3D 0.16.0
Multiplatform 3D engine
|
Classe de points à dimensions statiques. Plus de détails...
#include <Point.hpp>
Types publics | |
using | iterator = value_type * |
using | const_iterator = value_type const * |
Fonctions membres publiques | |
void | swap (Point &rhs) noexcept |
Echange les données de c epoint avec celles du point donné | |
std::size_t | size () const |
Récupère la taille totale du point. | |
T * | ptr () |
Récupère le pointeur sur les données. | |
T const * | constPtr () const |
Récupère un pointeur constant sur les données. | |
Construction / Destruction. | |
constexpr | Point () noexcept |
constexpr | ~Point () noexcept=default |
constexpr | Point (Point const &rhs) noexcept |
constexpr | Point (Point &&rhs) noexcept |
Point (T const *rhs) noexcept | |
template<typename U , uint32_t UCount> | |
Point (Point< U, UCount > const &rhs) noexcept | |
template<typename U , uint32_t UCount> | |
Point (Coords< U, UCount > const &rhs) noexcept | |
template<typename U > | |
Point (U const *rhs) noexcept | |
template<typename ValueA > | |
constexpr | Point (ValueA a) noexcept |
template<typename ValueA , typename ValueB > | |
constexpr | Point (ValueA a, ValueB b) noexcept |
template<typename ValueA , typename ValueB , typename ValueC > | |
constexpr | Point (ValueA a, ValueB b, ValueC c) noexcept |
template<typename ValueA , typename ValueB , typename ValueC , typename ValueD > | |
constexpr | Point (ValueA a, ValueB b, ValueC c, ValueD d) noexcept |
Opérateurs d'affectation. | |
constexpr Point & | operator= (Point const &rhs) noexcept |
constexpr Point & | operator= (Point &&rhs) noexcept |
Opérateurs arithmétiques. | |
template<typename U , uint32_t UCount> | |
Point & | operator+= (Point< U, UCount > const &rhs) |
template<typename U , uint32_t UCount> | |
Point & | operator-= (Point< U, UCount > const &rhs) |
template<typename U , uint32_t UCount> | |
Point & | operator*= (Point< U, UCount > const &rhs) |
template<typename U , uint32_t UCount> | |
Point & | operator/= (Point< U, UCount > const &rhs) |
template<typename U , uint32_t UCount> | |
Point & | operator+= (Coords< U, UCount > const &rhs) |
template<typename U , uint32_t UCount> | |
Point & | operator-= (Coords< U, UCount > const &rhs) |
template<typename U , uint32_t UCount> | |
Point & | operator*= (Coords< U, UCount > const &rhs) |
template<typename U , uint32_t UCount> | |
Point & | operator/= (Coords< U, UCount > const &rhs) |
template<typename U > | |
Point & | operator+= (U const *rhs) |
template<typename U > | |
Point & | operator-= (U const *rhs) |
template<typename U > | |
Point & | operator*= (U const *rhs) |
template<typename U > | |
Point & | operator/= (U const *rhs) |
Point & | operator+= (T const &rhs) |
Point & | operator-= (T const &rhs) |
Point & | operator*= (T const &rhs) |
Point & | operator/= (T const &rhs) |
T const & | operator[] (uint32_t index) const |
T & | operator[] (uint32_t index) |
iterator | begin () |
const_iterator | begin () const |
const_iterator | end () const |
iterator | end () |
PointData< T, TCount > * | operator-> () |
PointData< T, TCount > const * | operator-> () const |
Amis | |
template<typename U , uint32_t UCount> | |
class | Point |
Classe de points à dimensions statiques.
using castor::Point< T, TCount >::const_iterator = value_type const * |
Typedef d'un pointeur constant sur les données.
using castor::Point< T, TCount >::iterator = value_type * |
Typedef d'un pointeur sur les données.
|
constexprnoexcept |
|
constexprdefaultnoexcept |
|
constexprnoexcept |
|
constexprnoexcept |
|
explicitnoexcept |
|
explicitnoexcept |
|
explicitnoexcept |
|
explicitnoexcept |
|
explicitconstexprnoexcept |
|
constexprnoexcept |
|
constexprnoexcept |
|
constexprnoexcept |
|
inline |
|
inline |
|
inline |
Récupère un pointeur constant sur les données.
|
inline |
|
inline |
Point & castor::Point< T, TCount >::operator*= | ( | Coords< U, UCount > const & | rhs | ) |
Point & castor::Point< T, TCount >::operator*= | ( | Point< U, UCount > const & | rhs | ) |
Point & castor::Point< T, TCount >::operator*= | ( | T const & | rhs | ) |
Point & castor::Point< T, TCount >::operator*= | ( | U const * | rhs | ) |
Point & castor::Point< T, TCount >::operator+= | ( | Coords< U, UCount > const & | rhs | ) |
Point & castor::Point< T, TCount >::operator+= | ( | Point< U, UCount > const & | rhs | ) |
Point & castor::Point< T, TCount >::operator+= | ( | T const & | rhs | ) |
Point & castor::Point< T, TCount >::operator+= | ( | U const * | rhs | ) |
Point & castor::Point< T, TCount >::operator-= | ( | Coords< U, UCount > const & | rhs | ) |
Point & castor::Point< T, TCount >::operator-= | ( | Point< U, UCount > const & | rhs | ) |
Point & castor::Point< T, TCount >::operator-= | ( | T const & | rhs | ) |
Point & castor::Point< T, TCount >::operator-= | ( | U const * | rhs | ) |
|
inline |
|
inline |
Point & castor::Point< T, TCount >::operator/= | ( | Coords< U, UCount > const & | rhs | ) |
Point & castor::Point< T, TCount >::operator/= | ( | Point< U, UCount > const & | rhs | ) |
Point & castor::Point< T, TCount >::operator/= | ( | T const & | rhs | ) |
Point & castor::Point< T, TCount >::operator/= | ( | U const * | rhs | ) |
|
constexprnoexcept |
|
constexprnoexcept |
|
inline |
|
inline |
name Accesseurs de tableau.
|
inline |
Récupère le pointeur sur les données.
|
inline |
Récupère la taille totale du point.
|
noexcept |
Echange les données de c epoint avec celles du point donné
[in] | rhs | Le point à échanger |
|
friend |
Array< T, TCount > castor::Point< T, TCount >::coords |
PointData< T, TCount > castor::Point< T, TCount >::data |