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

Spr::TVec2< T > Class Template Reference

#include <TinyVec.h>

Inherits PTM::TVectorBase<(2), TVecDesc< TVec2< T >, T > >.

Collaboration diagram for Spr::TVec2< 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::TVec2< T >

2次元ベクトルクラス

Definition at line 18 of file TinyVec.h.


Member Typedef Documentation

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

基本的なメンバの定義 ::DEF_TVECTOR_BASIC_MEMBER

Definition at line 23 of file TinyVec.h.


Constructor & Destructor Documentation

template<class T>
template<class TX, class TY>
Spr::TVec2< T >::TVec2 TX  xi,
TY  yi
[inline]
 

コンストラクタ

Definition at line 41 of file TinyVec.h.


Member Function Documentation

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

要素のアクセス

Definition at line 32 of file TinyVec.h.

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

要素のアクセス

Definition at line 34 of file TinyVec.h.

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

ストライド

Definition at line 36 of file TinyVec.h.

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

零ベクトル

Definition at line 47 of file TinyVec.h.

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

ベクトルのx成分

Definition at line 53 of file TinyVec.h.

Referenced by Spr::TVec2< int >::TVec2().

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

ベクトルのy成分

Definition at line 55 of file TinyVec.h.

Referenced by Spr::TVec2< int >::TVec2().

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

ベクトルのx成分

Definition at line 57 of file TinyVec.h.

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

ベクトルのy成分

Definition at line 59 of file TinyVec.h.

template<class T>
const element_type& Spr::TVec2< T >::U  )  const [inline]
 

ベクトルのx成分

Definition at line 61 of file TinyVec.h.

template<class T>
const element_type& Spr::TVec2< T >::V  )  const [inline]
 

ベクトルのy成分

Definition at line 63 of file TinyVec.h.

template<class T>
element_type& Spr::TVec2< T >::U  )  [inline]
 

ベクトルのx成分

Definition at line 65 of file TinyVec.h.

template<class T>
element_type& Spr::TVec2< T >::V  )  [inline]
 

ベクトルのy成分

Definition at line 67 of file TinyVec.h.

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

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

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

Definition at line 70 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