![]() |
Springhead
An open source physics engine for virtual reality, haptics and motion generation.
|
TAffine2行列(回転,拡大,平行移動を表す)行列. [詳細]
#include <Affine.h>

Public 型 | |
|
typedef PTM::TMatrixDescCol < TAffine2< T > , PTM::TMatrixRow< 3, 3, T > , 3, 3, 3, T > | desc |
|
typedef PTM::TMatrixBase < 3, 3, desc > | base_type |
Public メソッド | |
| DEF_MATRIX_BASIC_MEMBER (TAffine2) | |
| 基本的なメンバの定義 [詳細] | |
| element_type & | item_impl (size_t i, size_t j) |
| 要素のアクセス | |
| const element_type & | item_impl (size_t i, size_t j) const |
| PTM::TSubMatrixCol< 2, 2, desc > & | Rot () |
| 回転拡大変換部を取り出す. | |
|
const PTM::TSubMatrixCol < 2, 2, desc > & | Rot () const |
| 回転拡大変換部を取り出す (const版). | |
基底ベクトルへのアクセス | |
| TVec2< element_type > & | Ex () |
| const TVec2< element_type > & | Ex () const |
| TVec2< element_type > & | Ey () |
| const TVec2< element_type > & | Ey () const |
| TVec2< element_type > & | Trn () |
| const TVec2< element_type > & | Trn () const |
| TVec2< element_type > & | Pos () |
| const TVec2< element_type > & | Pos () const |
要素へのアクセス | |
| element_type & | ExX () |
| element_type & | ExY () |
| element_type & | EyX () |
| element_type & | EyY () |
| element_type & | TrnX () |
| element_type & | TrnY () |
| element_type & | PosX () |
| TrnX()の別名 | |
| element_type & | PosY () |
| TrnY()の別名 | |
Public 変数 | |
| union { | |
| struct { | |
| T xx | |
| T xy | |
| T xz | |
| T yx | |
| T yy | |
| T yz | |
| T px | |
| T py | |
| T pz | |
| } | |
| T data [3][3] | |
| }; | |
初期化と構築 | |
| void | set_default () |
| コンストラクタ | |
| static TAffine2< T > | Unit () |
| 単位行列 | |
| static TAffine2< T > | Trn (element_type px, element_type py) |
| 平行移動 | |
| static TAffine2< T > | Rot (element_type th, int d=0) |
| 回転,なぜか引数がひとつだとVC.netでエラーになる. | |
| static TAffine2< T > | Scale (element_type sx, element_type sy) |
| 拡大 | |
概要は,pgAffine 参照.
| DEF_MATRIX_BASIC_MEMBER | ( | TAffine2< T > | ) |