Bullet Collision Detection & Physics Library
btAabbUtil2.h File Reference
#include "btTransform.h"
#include "btVector3.h"
#include "btMinMax.h"
Include dependency graph for btAabbUtil2.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define USE_BANCHLESS   1
 

Functions

void AabbExpand (btVector3 &aabbMin, btVector3 &aabbMax, const btVector3 &expansionMin, const btVector3 &expansionMax)
 
bool TestPointAgainstAabb2 (const btVector3 &aabbMin1, const btVector3 &aabbMax1, const btVector3 &point)
 conservative test for overlap between two aabbs
 
bool TestAabbAgainstAabb2 (const btVector3 &aabbMin1, const btVector3 &aabbMax1, const btVector3 &aabbMin2, const btVector3 &aabbMax2)
 conservative test for overlap between two aabbs
 
bool TestTriangleAgainstAabb2 (const btVector3 *vertices, const btVector3 &aabbMin, const btVector3 &aabbMax)
 conservative test for overlap between triangle and aabb
 
int btOutcode (const btVector3 &p, const btVector3 &halfExtent)
 
bool btRayAabb2 (const btVector3 &rayFrom, const btVector3 &rayInvDirection, const unsigned int raySign[3], const btVector3 bounds[2], btScalar &tmin, btScalar lambda_min, btScalar lambda_max)
 
bool btRayAabb (const btVector3 &rayFrom, const btVector3 &rayTo, const btVector3 &aabbMin, const btVector3 &aabbMax, btScalar &param, btVector3 &normal)
 
void btTransformAabb (const btVector3 &halfExtents, btScalar margin, const btTransform &t, btVector3 &aabbMinOut, btVector3 &aabbMaxOut)
 
void btTransformAabb (const btVector3 &localAabbMin, const btVector3 &localAabbMax, btScalar margin, const btTransform &trans, btVector3 &aabbMinOut, btVector3 &aabbMaxOut)
 
unsigned testQuantizedAabbAgainstQuantizedAabb (const unsigned short int *aabbMin1, const unsigned short int *aabbMax1, const unsigned short int *aabbMin2, const unsigned short int *aabbMax2)
 

Macro Definition Documentation

◆ USE_BANCHLESS

#define USE_BANCHLESS   1

Definition at line 198 of file btAabbUtil2.h.

Function Documentation

◆ AabbExpand()

void AabbExpand ( btVector3 & aabbMin,
btVector3 & aabbMax,
const btVector3 & expansionMin,
const btVector3 & expansionMax )
inline

Definition at line 22 of file btAabbUtil2.h.

◆ btOutcode()

int btOutcode ( const btVector3 & p,
const btVector3 & halfExtent )
inline

Definition at line 72 of file btAabbUtil2.h.

◆ btRayAabb()

bool btRayAabb ( const btVector3 & rayFrom,
const btVector3 & rayTo,
const btVector3 & aabbMin,
const btVector3 & aabbMax,
btScalar & param,
btVector3 & normal )
inline

Definition at line 117 of file btAabbUtil2.h.

◆ btRayAabb2()

bool btRayAabb2 ( const btVector3 & rayFrom,
const btVector3 & rayInvDirection,
const unsigned int raySign[3],
const btVector3 bounds[2],
btScalar & tmin,
btScalar lambda_min,
btScalar lambda_max )
inline

Definition at line 82 of file btAabbUtil2.h.

◆ btTransformAabb() [1/2]

void btTransformAabb ( const btVector3 & halfExtents,
btScalar margin,
const btTransform & t,
btVector3 & aabbMinOut,
btVector3 & aabbMaxOut )
inline

Definition at line 172 of file btAabbUtil2.h.

◆ btTransformAabb() [2/2]

void btTransformAabb ( const btVector3 & localAabbMin,
const btVector3 & localAabbMax,
btScalar margin,
const btTransform & trans,
btVector3 & aabbMinOut,
btVector3 & aabbMaxOut )
inline

Definition at line 182 of file btAabbUtil2.h.

◆ TestAabbAgainstAabb2()

bool TestAabbAgainstAabb2 ( const btVector3 & aabbMin1,
const btVector3 & aabbMax1,
const btVector3 & aabbMin2,
const btVector3 & aabbMax2 )
inline

conservative test for overlap between two aabbs

Definition at line 43 of file btAabbUtil2.h.

◆ TestPointAgainstAabb2()

bool TestPointAgainstAabb2 ( const btVector3 & aabbMin1,
const btVector3 & aabbMax1,
const btVector3 & point )
inline

conservative test for overlap between two aabbs

Definition at line 32 of file btAabbUtil2.h.

◆ testQuantizedAabbAgainstQuantizedAabb()

unsigned testQuantizedAabbAgainstQuantizedAabb ( const unsigned short int * aabbMin1,
const unsigned short int * aabbMax1,
const unsigned short int * aabbMin2,
const unsigned short int * aabbMax2 )
inline

Definition at line 201 of file btAabbUtil2.h.

◆ TestTriangleAgainstAabb2()

bool TestTriangleAgainstAabb2 ( const btVector3 * vertices,
const btVector3 & aabbMin,
const btVector3 & aabbMax )
inline

conservative test for overlap between triangle and aabb

Definition at line 54 of file btAabbUtil2.h.