|
| Color3d ()=default |
|
| Color3d (double r, double g, double b) |
|
| VectorN () |
|
| VectorN (Uninit) |
|
| VectorN (doubles) |
|
| VectorN (const std::array< double, N > &arr) |
|
| VectorN (const vector< double > &vec) |
|
| VectorN (const double *begin, const double *end) |
|
bool | operator== (const Color3d &rhs) const |
| Return true if the given vector is identical to this one. More...
|
|
bool | operator!= (const Color3d &rhs) const |
| Return true if the given vector differs from this one. More...
|
|
bool | operator< (const Color3d &rhs) const |
| Compare two vectors lexicographically. More...
|
|
double & | operator[] (size_t i) |
| Return the scalar value at the given index. More...
|
|
const double & | operator[] (size_t i) const |
| Return the const scalar value at the given index. More...
|
|
Color3d | operator+ (const Color3d &rhs) const |
| Component-wise addition of two vectors. More...
|
|
VectorN & | operator+= (const Color3d &rhs) |
| Component-wise addition of two vectors. More...
|
|
Color3d | operator- (const Color3d &rhs) const |
| Component-wise subtraction of two vectors. More...
|
|
Color3d | operator- () const |
| Unary negation of a vector. More...
|
|
VectorN & | operator-= (const Color3d &rhs) |
| Component-wise subtraction of two vectors. More...
|
|
Color3d | operator* (const Color3d &rhs) const |
| Component-wise multiplication of two vectors. More...
|
|
Color3d | operator* (doubles) const |
| Component-wise multiplication of a vector by a scalar. More...
|
|
VectorN & | operator*= (const Color3d &rhs) |
| Component-wise multiplication of two vectors. More...
|
|
VectorN & | operator*= (doubles) |
| Component-wise multiplication of a vector by a scalar. More...
|
|
Color3d | operator/ (const Color3d &rhs) const |
| Component-wise division of two vectors. More...
|
|
Color3d | operator/ (doubles) const |
| Component-wise division of a vector by a scalar. More...
|
|
VectorN & | operator/= (const Color3d &rhs) |
| Component-wise division of two vectors. More...
|
|
VectorN & | operator/= (doubles) |
| Component-wise division of a vector by a scalar. More...
|
|
double | getMagnitude () const |
| Return the magnitude of the vector. More...
|
|
Color3d | getNormalized () const |
| Return a normalized vector. More...
|
|
double | dot (const Color3d &rhs) const |
| Return the dot product of two vectors. More...
|
|
Iterator | begin () |
|
ConstIterator | begin () const |
|
Iterator | end () |
|
ConstIterator | end () const |
|
double * | data () |
| Return a pointer to the underlying data array. More...
|
|
const double * | data () const |
| Return a const pointer to the underlying data array. More...
|
|