JunkBox_Lib++ (for Windows) 1.10.1
|
#include <TVector.h>
Public Member Functions | |
TVector (T X=0, T Y=0, T Z=0, T W=0, double N=0.0, double C=1.0, int D=0) | |
virtual | ~TVector () |
void | set (T X, T Y=0, T Z=0, T W=0, double N=0.0, double C=1.0, int D=0) |
void | init () |
![]() | |
Vector (T X=0, T Y=0, T Z=0, double N=0.0, double C=1.0, int D=0) | |
virtual | ~Vector (void) |
T | norm2 (void) |
double | norm (void) |
Vector< T > | normalize (void) |
void | init (double C=1.0) |
void | set (T X, T Y=0, T Z=0, double N=0.0, double C=1.0, int D=0) |
T & | element1 (void) |
T & | element2 (void) |
T & | element3 (void) |
T & | element (int i) |
template<typename R > | |
Vector< T > & | operator= (const Vector< R > a) |
Public Attributes | |
T | t |
トレランス.誤差. | |
![]() | |
T | x |
T | y |
T | z |
double | n |
ノルム | |
double | c |
信頼度 | |
int | d |
汎用 | |
template<typename T=double>> class TVector
トレランス付き 3次元ベクトルの定義
|
inline |
Definition at line 32 of file TVector.h.
|
inlinevirtual |
void set | ( | T | X, |
T | Y = 0, | ||
T | Z = 0, | ||
T | W = 0, | ||
double | N = 0.0, | ||
double | C = 1.0, | ||
int | D = 0 ) |
template <typename T> void TVector<T>::set(T X, T Y, T Z, T W, double N)
3次元ベクトルに値をセット.ノルムの計算有り
Definition at line 45 of file TVector.h.
References Vector< T >::set().
T t |
Definition at line 29 of file TVector.h.
Referenced by jbxl::CollisionTriContour2D(), jbxl::CollisionTriContour3D(), jbxl::IsInTriangle(), 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^(), jbxl::ProportionVector(), jbxl::TVectorMultiTolerance(), and jbxl::Vertex2TVector().