#include <vec_3f.h>
Public Types | |
typedef T::meta_type | U |
Public Member Functions | |
Vec3fX () | |
Vec3fX (const Vec3fX &other) | |
Vec3fX (U x, U y, U z) | |
create Vector (x, y, z) | |
Vec3fX (U x) | |
create vector (x, x, x) | |
Vec3fX (const T &data_) | |
create vector using the internal data type | |
U | operator[] (size_t i) const |
U & | operator[] (size_t i) |
Vec3fX | operator+ (const Vec3fX &other) const |
Vec3fX | operator- (const Vec3fX &other) const |
Vec3fX | operator * (const Vec3fX &other) const |
Vec3fX | operator/ (const Vec3fX &other) const |
Vec3fX & | operator+= (const Vec3fX &other) |
Vec3fX & | operator-= (const Vec3fX &other) |
Vec3fX & | operator *= (const Vec3fX &other) |
Vec3fX & | operator/= (const Vec3fX &other) |
Vec3fX | operator+ (U t) const |
Vec3fX | operator- (U t) const |
Vec3fX | operator * (U t) const |
Vec3fX | operator/ (U t) const |
Vec3fX & | operator+= (U t) |
Vec3fX & | operator-= (U t) |
Vec3fX & | operator *= (U t) |
Vec3fX & | operator/= (U t) |
Vec3fX | operator- () const |
Vec3fX | cross (const Vec3fX &other) const |
U | dot (const Vec3fX &other) const |
Vec3fX & | normalize () |
Vec3fX & | normalize (bool *signal) |
Vec3fX & | abs () |
U | length () const |
U | sqrLength () const |
void | setValue (U x, U y, U z) |
void | setValue (U x) |
bool | equal (const Vec3fX &other, U epsilon=std::numeric_limits< U >::epsilon()*100) const |
Vec3fX< T > & | negate () |
Vec3fX< T > & | ubound (const Vec3fX< T > &u) |
Vec3fX< T > & | lbound (const Vec3fX< T > &l) |
bool | isZero () const |
Public Attributes | |
T | data |
interval vector3 data |
Definition at line 53 of file vec_3f.h.