|
JunkBox_Lib++ (for Windows) 1.10.1
|
#include <Vector.h>
Public Member Functions | |
| Vector4 (T X=0, T Y=0, T Z=0, T U=0, double N=0.0, double C=1.0, int D=0) | |
| virtual | ~Vector4 (void) |
| T | norm2 (void) |
| double | norm (void) |
| Vector4< T > | normalize (void) |
| void | init (double C=1.0) |
| void | set (T X, T Y=0, T Z=0, T U=0, double N=0.0, double C=1.0, int D=0) |
| T & | element1 (void) |
| T & | element2 (void) |
| T & | element3 (void) |
| T & | element4 (void) |
| T & | element (int i) |
| template<typename R > | |
| Vector4< T > & | operator= (const Vector4< R > a) |
Public Attributes | |
| T | x |
| T | y |
| T | z |
| T | t |
| double | n |
| ノルム | |
| double | c |
| 信頼度 | |
| int | d |
| 汎用 | |
template <typename T=double>> class Vector
4次元ベクトルの定義
|
inline |
Definition at line 719 of file Vector.h.
|
inlinevirtual |
|
inline |
Definition at line 734 of file Vector.h.
Referenced by GLTFData::createBinDataAoS(), GLTFData::createBinDataSoA(), and GLTFData::createShellGeometryData().

|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| Vector4< T > normalize | ( | void | ) |
Definition at line 740 of file Vector.h.
References jbxl::Zero_Eps.
Referenced by jbxl::Vector4Angle().

|
inline |
Definition at line 736 of file Vector.h.
References Vector4< T >::c, Vector4< T >::d, Vector4< T >::n, Vector4< T >::t, Vector4< T >::x, Vector4< T >::y, and Vector4< T >::z.
|
inline |
template <typename T> inline void Vector4<T>::set(T X, T Y, T Z, T U, double N, double C, int D)
3次元ベクトルに値をセット.
| double c |
Definition at line 715 of file Vector.h.
Referenced by jbxl::Cast(), jbxl::operator*(), jbxl::operator*(), jbxl::operator+(), jbxl::operator+(), jbxl::operator+(), jbxl::operator-(), jbxl::operator-(), jbxl::operator-(), jbxl::operator-(), jbxl::operator/(), jbxl::operator/(), and Vector4< T >::operator=().
| int d |
Definition at line 716 of file Vector.h.
Referenced by jbxl::Cast(), jbxl::operator*(), jbxl::operator*(), jbxl::operator+(), jbxl::operator+(), jbxl::operator+(), jbxl::operator-(), jbxl::operator-(), jbxl::operator-(), jbxl::operator-(), jbxl::operator/(), jbxl::operator/(), and Vector4< T >::operator=().
| double n |
Definition at line 714 of file Vector.h.
Referenced by jbxl::Cast(), jbxl::operator*(), jbxl::operator*(), jbxl::operator-(), jbxl::operator/(), Vector4< T >::operator=(), and jbxl::Vector4Angle().
| T t |
Definition at line 712 of file Vector.h.
Referenced by jbxl::Cast(), jbxl::operator!=(), jbxl::operator*(), jbxl::operator*(), jbxl::operator*(), jbxl::operator+(), jbxl::operator+(), jbxl::operator+(), jbxl::operator-(), jbxl::operator-(), jbxl::operator-(), jbxl::operator-(), jbxl::operator/(), jbxl::operator/(), jbxl::operator<(), Vector4< T >::operator=(), jbxl::operator==(), and jbxl::same_vector().
| T x |
Definition at line 709 of file Vector.h.
Referenced by jbxl::Cast(), jbxl::operator!=(), jbxl::operator*(), jbxl::operator*(), jbxl::operator*(), jbxl::operator+(), jbxl::operator+(), jbxl::operator+(), jbxl::operator-(), jbxl::operator-(), jbxl::operator-(), jbxl::operator-(), jbxl::operator/(), jbxl::operator/(), jbxl::operator<(), Vector4< T >::operator=(), jbxl::operator==(), and jbxl::same_vector().
| T y |
Definition at line 710 of file Vector.h.
Referenced by jbxl::Cast(), jbxl::operator!=(), jbxl::operator*(), jbxl::operator*(), jbxl::operator*(), jbxl::operator+(), jbxl::operator+(), jbxl::operator+(), jbxl::operator-(), jbxl::operator-(), jbxl::operator-(), jbxl::operator-(), jbxl::operator/(), jbxl::operator/(), jbxl::operator<(), Vector4< T >::operator=(), jbxl::operator==(), and jbxl::same_vector().
| T z |
Definition at line 711 of file Vector.h.
Referenced by jbxl::Cast(), jbxl::operator!=(), jbxl::operator*(), jbxl::operator*(), jbxl::operator*(), jbxl::operator+(), jbxl::operator+(), jbxl::operator+(), jbxl::operator-(), jbxl::operator-(), jbxl::operator-(), jbxl::operator-(), jbxl::operator/(), jbxl::operator/(), jbxl::operator<(), Vector4< T >::operator=(), jbxl::operator==(), and jbxl::same_vector().