Bullet Collision Detection & Physics Library
Public Member Functions | Public Attributes | List of all members
btConvexPolyhedron Class Reference

#include <btConvexPolyhedron.h>

Collaboration diagram for btConvexPolyhedron:
Collaboration graph
[legend]

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. More...
 
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

btVector3 btConvexPolyhedron::m_extents

Definition at line 51 of file btConvexPolyhedron.h.

btAlignedObjectArray<btFace> btConvexPolyhedron::m_faces

Definition at line 47 of file btConvexPolyhedron.h.

btVector3 btConvexPolyhedron::m_localCenter

Definition at line 50 of file btConvexPolyhedron.h.

btScalar btConvexPolyhedron::m_radius

Definition at line 52 of file btConvexPolyhedron.h.

btAlignedObjectArray<btVector3> btConvexPolyhedron::m_uniqueEdges

Definition at line 48 of file btConvexPolyhedron.h.

btAlignedObjectArray<btVector3> btConvexPolyhedron::m_vertices

Definition at line 46 of file btConvexPolyhedron.h.

btVector3 btConvexPolyhedron::mC

Definition at line 53 of file btConvexPolyhedron.h.

btVector3 btConvexPolyhedron::mE

Definition at line 54 of file btConvexPolyhedron.h.


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