INFO804 Introduction à l'informatique graphique
|
#include <PointVector.h>
Public Types | |
typedef PointVector< T, N > | Self |
typedef std::array< T, N > | Base |
typedef std::size_t | Size |
Public Member Functions | |
PointVector (std::initializer_list< T > L) | |
PointVector (T val0) | |
PointVector (T val0, T val1) | |
PointVector (T val0, T val1, T val2) | |
PointVector (T val0, T val1, T val2, T val3) | |
PointVector (const T *vals) | |
operator T* () | |
operator const T * () const | |
void | selfDisplay (std::ostream &out) const |
Self & | operator+= (const Self &other) |
Self & | operator-= (const Self &other) |
Self & | operator*= (T val) |
Self & | operator/= (T val) |
T | dot (const Self &other) const |
dot product (produit scalaire). | |
Self | cross (const Self &other) const |
cross product (produit vectoriel). | |
Self | operator+ (const Self &other) const |
Self | operator- (const Self &other) const |
T | norm () const |
Model a static vector T[N], with some operations.
Definition at line 20 of file PointVector.h.
typedef std::array<T, N> rt::PointVector< T, N >::Base |
Definition at line 22 of file PointVector.h.
typedef PointVector<T, N> rt::PointVector< T, N >::Self |
Definition at line 21 of file PointVector.h.
typedef std::size_t rt::PointVector< T, N >::Size |
Definition at line 23 of file PointVector.h.
|
inline |
Definition at line 35 of file PointVector.h.
|
inline |
Definition at line 37 of file PointVector.h.
|
inline |
Definition at line 42 of file PointVector.h.
|
inline |
Definition at line 47 of file PointVector.h.
|
inline |
Definition at line 53 of file PointVector.h.
|
inline |
Definition at line 60 of file PointVector.h.
|
inline |
Definition at line 68 of file PointVector.h.
|
inline |
cross product (produit vectoriel).
Definition at line 113 of file PointVector.h.
|
inline |
dot product (produit scalaire).
Definition at line 106 of file PointVector.h.
|
inline |
Definition at line 135 of file PointVector.h.
|
inline |
Definition at line 75 of file PointVector.h.
|
inline |
Definition at line 73 of file PointVector.h.
|
inline |
Definition at line 94 of file PointVector.h.
|
inline |
Definition at line 121 of file PointVector.h.
|
inline |
Definition at line 84 of file PointVector.h.
|
inline |
Definition at line 128 of file PointVector.h.
|
inline |
Definition at line 89 of file PointVector.h.
|
inline |
Definition at line 99 of file PointVector.h.
|
inline |
Definition at line 77 of file PointVector.h.