Blender V5.0
btConvexPolyhedron.h File Reference

Go to the source code of this file.

Classes

struct  btFace

Macros

#define TEST_INTERNAL_OBJECTS   1
 This file was written by Erwin Coumans.

Functions

virtual ~btConvexPolyhedron ()
void initialize ()
void initialize2 ()
bool testContainment () const
void project (const btTransform &trans, const btVector3 &dir, btScalar &minProj, btScalar &maxProj, btVector3 &witnesPtMin, btVector3 &witnesPtMax) const

Variables

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

Macro Definition Documentation

◆ TEST_INTERNAL_OBJECTS

#define TEST_INTERNAL_OBJECTS   1

This file was written by Erwin Coumans.

Definition at line 24 of file btConvexPolyhedron.h.

Function Documentation

◆ initialize()

◆ initialize2()

void btConvexPolyhedron::initialize2 ( )

◆ project()

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

References btTransform, and btVector3.

◆ testContainment()

bool btConvexPolyhedron::testContainment ( ) const

Definition at line 71 of file btConvexPolyhedron.cpp.

References btVector3, i, m_extents, m_faces, and m_localCenter.

Referenced by initialize2().

◆ ~btConvexPolyhedron()

btConvexPolyhedron::~btConvexPolyhedron ( )
virtual

Definition at line 26 of file btConvexPolyhedron.cpp.

Variable Documentation

◆ btConvexPolyhedron

btConvexPolyhedron
Initial value:
{
public:
#define BT_DECLARE_ALIGNED_ALLOCATOR()
Definition btScalar.h:425

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 34 of file btConvexPolyhedron.h.

Referenced by BT_DECLARE_ALIGNED_ALLOCATOR(), btPolyhedralContactClipping::clipFaceAgainstHull(), btPolyhedralContactClipping::clipHullAgainstHull(), btCollisionWorld::debugDrawObject(), btPolyhedralContactClipping::findSeparatingAxis(), getConvexPolyhedron(), initializePolyhedralFeatures(), btConvexConvexAlgorithm::processCollision(), setPolyhedralFeatures(), and TestSepAxis().

◆ m_extents

btVector3 m_extents

Definition at line 47 of file btConvexPolyhedron.h.

Referenced by initialize2(), and testContainment().

◆ m_faces

Definition at line 43 of file btConvexPolyhedron.h.

Referenced by initialize2(), and testContainment().

◆ m_localCenter

btVector3 m_localCenter

Definition at line 46 of file btConvexPolyhedron.h.

Referenced by initialize2(), and testContainment().

◆ m_radius

btScalar m_radius

Definition at line 48 of file btConvexPolyhedron.h.

◆ m_uniqueEdges

Definition at line 44 of file btConvexPolyhedron.h.

◆ m_vertices

Definition at line 42 of file btConvexPolyhedron.h.

◆ mC

Definition at line 49 of file btConvexPolyhedron.h.

Referenced by initialize2().

◆ mE

Definition at line 50 of file btConvexPolyhedron.h.

Referenced by initialize2().