An array of SG_MAXPOINT values of type T, indexed by SgPoint. More...
#include <SgPointArray.h>
Public Member Functions | |
SgPointArray () | |
Constructor; values are initialized by default value. | |
SgPointArray (const T &value) | |
Constructor; values are initialized by init value. | |
SgPointArray (const SgPointArray &pointArray) | |
Constructor; initialized as copy of other point array. | |
T & | operator[] (int index) |
const T & | operator[] (int index) const |
SgArray & | operator*= (T val) |
void | Fill (const T &val) |
An array of SG_MAXPOINT values of type T, indexed by SgPoint.
Also enforces that all elements are initialized in the constructor, either with T(0), if T can be constructed in such a way or be providing an initialization value.
Definition at line 22 of file SgPointArray.h.
SgPointArray< T >::SgPointArray | ( | ) |
Constructor; values are initialized by default value.
Definition at line 37 of file SgPointArray.h.
SgPointArray< T >::SgPointArray | ( | const T & | value | ) |
Constructor; values are initialized by init value.
Definition at line 42 of file SgPointArray.h.
SgPointArray< T >::SgPointArray | ( | const SgPointArray< T > & | pointArray | ) |
Constructor; initialized as copy of other point array.
Definition at line 48 of file SgPointArray.h.
void SgArray< T, SIZE >::Fill | ( | const T & | val | ) | [inherited] |
T& SgArray< T, SIZE >::operator[] | ( | int | index | ) | [inherited] |
const T& SgArray< T, SIZE >::operator[] | ( | int | index | ) | const [inherited] |