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

Spr::CDPolyhedron Class Reference

#include <CDPolyhedron.h>

Collaboration diagram for Spr::CDPolyhedron:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Public Attributes


Detailed Description

3角形だけから構成される凸多面体

Definition at line 56 of file CDPolyhedron.h.


Member Function Documentation

virtual int Spr::CDPolyhedron::GeometryID  )  [inline, virtual]
 

GeomtryID.

Definition at line 62 of file CDPolyhedron.h.

Vec3f Spr::CDPolyhedron::Vertex int  pos  )  const [inline]
 

頂点の座標を返す.

Definition at line 78 of file CDPolyhedron.h.

References base, and vtxIDs.

void Spr::CDPolyhedron::CalcFace  ) 
 

頂点から面や接続情報を生成する.

void Spr::CDPolyhedron::MergeFace  ) 
 

同一平面上で接続されている3角形をマージする

bool Spr::CDPolyhedron::HasFace CDFace *  face  )  [inline]
 

面を持っているかどうか調べる

Definition at line 86 of file CDPolyhedron.h.

References faces.

virtual Vec3f Spr::CDPolyhedron::Support const Vec3f p  )  const [virtual]
 

サポートポイントを求める.


Member Data Documentation

int Spr::CDPolyhedron::curPos [mutable]
 

探索開始頂点番号

Definition at line 58 of file CDPolyhedron.h.

Vec3f* Spr::CDPolyhedron::base
 

頂点の座標(ローカル座標系)

Definition at line 64 of file CDPolyhedron.h.

Referenced by Vertex().

Vec3f* Spr::CDPolyhedron::tvtxs
 

作業領域:頂点の座標(変換後の座標系)

Definition at line 66 of file CDPolyhedron.h.

CDVertexIDs Spr::CDPolyhedron::vtxIDs
 

この凸多面体を構成する頂点たち.posはこの配列内の位置を表す.

Definition at line 69 of file CDPolyhedron.h.

Referenced by Vertex().

std::vector< std::vector<int> > Spr::CDPolyhedron::neighbor
 

頂点の隣の頂点の位置が入った配列

Definition at line 71 of file CDPolyhedron.h.

CDFaces Spr::CDPolyhedron::faces
 

面(3角形 0..nPlanes-1 が独立な面,それ以降はMargeFaceで削除される同一平面上の面)

Definition at line 73 of file CDPolyhedron.h.

Referenced by HasFace().

int Spr::CDPolyhedron::nPlanes
 

面(3角形のうち,MergeFace()で残った数)

Definition at line 75 of file CDPolyhedron.h.


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