Public Member Functions | Public Attributes

btConvexPolyhedron Class Reference

#include <btConvexPolyhedron.h>

Collaboration diagram for btConvexPolyhedron:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 BT_DECLARE_ALIGNED_ALLOCATOR ()
 btConvexPolyhedron ()
 This file was written by Erwin Coumans Separating axis rest based on work from Pierre Terdiman, see And contact clipping based on work from Simon Hobbs.
virtual ~btConvexPolyhedron ()
void initialize ()
bool testContainment () const
void project (const btTransform &trans, const btVector3 &dir, btScalar &minProj, btScalar &maxProj, btVector3 &witnesPtMin, btVector3 &witnesPtMax) const

Public Attributes

btAlignedObjectArray< btVector3m_vertices
btAlignedObjectArray< btFacem_faces
btAlignedObjectArray< btVector3m_uniqueEdges
btVector3 m_localCenter
btVector3 m_extents
btScalar m_radius
btVector3 mC
btVector3 mE

Detailed Description

Definition at line 37 of file btConvexPolyhedron.h.


Constructor & Destructor Documentation

btConvexPolyhedron::btConvexPolyhedron (  ) 

This file was written by Erwin Coumans Separating axis rest based on work from Pierre Terdiman, see And contact clipping based on work from Simon Hobbs.

Definition at line 24 of file btConvexPolyhedron.cpp.

btConvexPolyhedron::~btConvexPolyhedron (  )  [virtual]

Definition at line 28 of file btConvexPolyhedron.cpp.


Member Function Documentation

btConvexPolyhedron::BT_DECLARE_ALIGNED_ALLOCATOR (  ) 
void btConvexPolyhedron::initialize (  ) 

Definition at line 101 of file btConvexPolyhedron.cpp.

void btConvexPolyhedron::project ( const btTransform trans,
const btVector3 dir,
btScalar minProj,
btScalar maxProj,
btVector3 witnesPtMin,
btVector3 witnesPtMax 
) const

Definition at line 277 of file btConvexPolyhedron.cpp.

bool btConvexPolyhedron::testContainment (  )  const

Definition at line 75 of file btConvexPolyhedron.cpp.


Member Data Documentation

Definition at line 51 of file btConvexPolyhedron.h.

Definition at line 47 of file btConvexPolyhedron.h.

Definition at line 50 of file btConvexPolyhedron.h.

Definition at line 52 of file btConvexPolyhedron.h.

Definition at line 48 of file btConvexPolyhedron.h.

Definition at line 46 of file btConvexPolyhedron.h.

Definition at line 53 of file btConvexPolyhedron.h.

Definition at line 54 of file btConvexPolyhedron.h.


The documentation for this class was generated from the following files: