liballofw
|
#include <vector.h>
Public Types | |
typedef T | number_t |
Public Member Functions | |
Vector3_ ()=default | |
template<typename number_from_t > | |
Vector3_ (const Vector2_< number_from_t > &v) | |
template<typename number_from_t > | |
Vector3_ (const Vector3_< number_from_t > &v) | |
Vector3_ (number_t v) | |
Vector3_ (number_t x_, number_t y_, number_t z_) | |
template<typename OtherT > | |
Vector3_ (const OtherT &other) | |
Vector3_ & | operator+= (const Vector3_ &v) |
Vector3_ & | operator-= (const Vector3_ &v) |
Vector3_ & | operator*= (number_t s) |
Vector3_ & | operator/= (number_t s) |
Vector3_ | operator+ (const Vector3_ &v) const |
Vector3_ | operator- (const Vector3_ &v) const |
Vector3_ | operator- () const |
Vector3_ | operator* (number_t s) const |
Vector3_ | operator/ (number_t s) const |
number_t | dot (const Vector3_ &v) const |
number_t | len2 () const |
number_t | len () const |
Vector3_ | unit () const |
Vector3_ | cross (const Vector3_ &v) const |
Vector2_< number_t > | xy () const |
number_t * | data () |
const number_t * | data () const |
int | shape () const |
Static Public Member Functions | |
static Vector3_ | NaN () |
Public Attributes | |
number_t | x |
number_t | y |
number_t | z |
Static Public Attributes | |
static const size_t | size = 3 |
Friends | |
Vector3_ | operator* (number_t s, const Vector3_ &v) |
typedef T allofw::Vector3_< T >::number_t |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
number_t allofw::Vector3_< T >::x |
number_t allofw::Vector3_< T >::y |
number_t allofw::Vector3_< T >::z |