Choreonoid
1.1
メインページ
関連ページ
ネームスペース
クラス
ファイル
ファイル一覧
ファイルメンバ
src
Collision
CollisionData.h
説明を見る。
1
2
#ifndef CNOID_COLLISION_COLLISION_DATA_H_INCLUDED
3
#define CNOID_COLLISION_COLLISION_DATA_H_INCLUDED
4
5
#include <cnoid/EigenTypes>
6
#include "
exportdecl.h
"
7
8
namespace
cnoid {
9
10
// this is for the client
11
12
class
collision_data
13
{
14
public
:
15
int
id1
;
16
int
id2
;
17
18
int
num_of_i_points
;
19
Vector3
i_points
[4];
20
int
i_point_new
[4];
21
22
Vector3
n_vector
;
23
double
depth
;
24
25
Vector3
n
;
// normal vector of triangle id1
26
Vector3
m
;
// normal vector of triangle id2
27
int
c_type
;
// c_type=1 for vertex-face contact, c_type=2 for edge-edge contact
28
};
29
}
30
31
#endif
Choreonoidに対してWed May 8 2013 17:51:03に生成されました。
1.8.1.2