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

sheep::RigidModel Class Reference

#include <rigidmodel.h>

List of all members.

Public Types

typedef unsigned int FeatureId

Public Member Functions

bool IsClosed () const
bool IsConvex () const
Vector3 ComputeVertexNormal (FeatureId id) const
Vector3 ComputeFaceNormal (FeatureId id) const

Static Public Member Functions

bool ArePointsSameSide (const Vector3 &p1, const Vector3 &p2, const Vector3 &a, const Vector3 &b)
bool IsPointInTriangle (const Vector3 &p, const Vector3 &a, const Vector3 &b, const Vector3 &c)

Public Attributes

std::vector< Vector3m_vertices
std::vector< Facem_faces


Member Typedef Documentation

typedef unsigned int sheep::RigidModel::FeatureId
 

Definition at line 46 of file rigidmodel.h.


Member Function Documentation

bool RigidModel::ArePointsSameSide const Vector3 p1,
const Vector3 p2,
const Vector3 a,
const Vector3 b
[inline, static]
 

Definition at line 102 of file rigidmodel.h.

Vector3 RigidModel::ComputeFaceNormal FeatureId  id  )  const [inline]
 

Definition at line 89 of file rigidmodel.h.

Vector3 RigidModel::ComputeVertexNormal FeatureId  id  )  const [inline]
 

Definition at line 83 of file rigidmodel.h.

bool RigidModel::IsClosed  )  const
 

Definition at line 27 of file rigidmodel.cpp.

bool RigidModel::IsConvex  )  const
 

Definition at line 32 of file rigidmodel.cpp.

bool RigidModel::IsPointInTriangle const Vector3 p,
const Vector3 a,
const Vector3 b,
const Vector3 c
[inline, static]
 

Definition at line 109 of file rigidmodel.h.

Referenced by sheep::Contact::Update().


Member Data Documentation

std::vector<Face> sheep::RigidModel::m_faces
 

Definition at line 41 of file rigidmodel.h.

Referenced by sheep::SWIFTCollisionDetector::Insert().

std::vector<Vector3> sheep::RigidModel::m_vertices
 

Definition at line 40 of file rigidmodel.h.

Referenced by sheep::Contact::GetNormalDerivative(), sheep::SWIFTCollisionDetector::Insert(), and sheep::Contact::Update().


The documentation for this class was generated from the following files:
Generated on Tue May 11 01:31:56 2004 for toxic by doxygen 1.3.6