molecular
|
Integer vector with three components. More...
#include <Vector.h>
Public Member Functions | |
IntVector3 ()=default | |
IntVector3 (int32_t x, int32_t y, int32_t z) | |
![]() | |
VectorTmpl () | |
T | operator[] (const int n) const |
T & | operator[] (const int n) |
operator const T * () const | |
operator T * () | |
Subclass | operator* (T r) const |
Component-wise multiplication. More... | |
Subclass | operator* (const VectorTmpl &in) const |
Component-wise multiplication. More... | |
Subclass & | operator+= (const VectorTmpl &in) |
Subclass & | operator*= (T r) |
Component-wise in-place multiplication. More... | |
Subclass & | operator*= (const VectorTmpl &in) |
Component-wise in-place multiplication. More... | |
Subclass | operator/ (T r) const |
Component-wise scalar division. More... | |
Subclass & | operator/= (T r) |
Component-wise in-place scalar division. More... | |
Subclass & | operator/= (const VectorTmpl &in) |
Component-wise in-place division. More... | |
Subclass | operator- (const VectorTmpl &in) const |
Subclass | operator- () const |
Subclass | operator+ (const VectorTmpl &in) const |
bool | operator== (const VectorTmpl &in) const |
T | LengthSquared () const |
T | Length () const |
Subclass | Normalized () const |
T | Dot (const VectorTmpl &in) |
Dot product. More... | |
Additional Inherited Members | |
![]() | |
typedef int32_t | T |
using | Subclass = IntVector3 |
![]() | |
T | v [components] |
Integer vector with three components.
|
default |
|
inline |