Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Spr::TVec3< T > Class Template Reference

3次元ベクトルクラス. More...

#include <TinyVec.h>

Inherits PTM::TVectorBase<(3), TVecDesc< TVec3< T >, T > >.

Collaboration diagram for Spr::TVec3< T >:

Collaboration graph
[legend]
List of all members.

Public Types

Public Member Functions

変数アクセス
初期化・構築

Static Public Member Functions

初期化関数

Protected Member Functions


Detailed Description

template<class T>
class Spr::TVec3< T >

3次元ベクトルクラス.

Definition at line 77 of file TinyVec.h.


Member Typedef Documentation

template<class T>
typedef TVec3 Spr::TVec3< T >::this_type
 

継承されない基本的なメンバの定義.

See also:
::DEF_TVECTOR_BASIC_MEMBER

Definition at line 83 of file TinyVec.h.


Constructor & Destructor Documentation

template<class T>
template<class TX, class TY, class TZ>
Spr::TVec3< T >::TVec3 TX  xi,
TY  yi,
TZ  zi
[inline]
 

コンストラクタ

Definition at line 129 of file TinyVec.h.


Member Function Documentation

template<class T>
T& Spr::TVec3< T >::item_impl size_t  i  )  [inline]
 

要素のアクセス

Definition at line 91 of file TinyVec.h.

template<class T>
const T& Spr::TVec3< T >::item_impl size_t  i  )  const [inline]
 

要素のアクセス

Definition at line 93 of file TinyVec.h.

template<class T>
size_t Spr::TVec3< T >::stride_impl  )  const [inline]
 

ストライド

Definition at line 95 of file TinyVec.h.

template<class T>
static TVec3<T> Spr::TVec3< T >::Zero  )  [inline, static]
 

零ベクトル

Definition at line 100 of file TinyVec.h.

template<class T>
const element_type& Spr::TVec3< T >::X  )  const [inline]
 

x成分

Definition at line 106 of file TinyVec.h.

Referenced by Spr::SGBBox::GetSupport(), and Spr::TVec3< float >::TVec3().

template<class T>
const element_type& Spr::TVec3< T >::Y  )  const [inline]
 

y成分

Definition at line 108 of file TinyVec.h.

Referenced by Spr::SGBBox::GetSupport(), and Spr::TVec3< float >::TVec3().

template<class T>
const element_type& Spr::TVec3< T >::Z  )  const [inline]
 

z成分

Definition at line 110 of file TinyVec.h.

Referenced by Spr::SGBBox::GetSupport(), and Spr::TVec3< float >::TVec3().

template<class T>
element_type& Spr::TVec3< T >::X  )  [inline]
 

x成分

Definition at line 112 of file TinyVec.h.

template<class T>
element_type& Spr::TVec3< T >::Y  )  [inline]
 

y成分

Definition at line 114 of file TinyVec.h.

template<class T>
element_type& Spr::TVec3< T >::Z  )  [inline]
 

z成分

Definition at line 116 of file TinyVec.h.

template<class T>
template<class D>
element_type Spr::TVec3< T >::dot const PTM::VectorImp< D > &  b  )  const [inline]
 

内積(return *this * b).

Parameters:
b 同じサイズのベクトル.
Returns:
内積の値(要素型)

Definition at line 135 of file TinyVec.h.

template<class T>
void Spr::TVec3< T >::set_default  )  [inline, protected]
 

デフォルトコンストラクタ

Reimplemented from PTM::VectorImp< TVecDesc< TVec3< T >, T > >.

Definition at line 140 of file TinyVec.h.


The documentation for this class was generated from the following file:
Generated on Sun Apr 16 02:07:59 2006 for Springhead by  doxygen 1.4.1