VR-Forces 4.1 Class Documentation
Classes | Functions
bulletUtil.h File Reference

Go to the source code of this file.

Classes

struct  DtAllHitsRayResultCallback
 Extended version of bullet's RayResultCallback which records all the hits along the ray instead of only the closest one. More...

Functions

bool chordSphereVolumetricIntersect (const DtChord &chord, const DtSphere &sphere)
bool sphereSphereVolumetricIntersect (const DtSphere &sphere1, const DtSphere &sphere2)
bool shapeSphereVolumetricIntersect (const DtLocalVertexList &shape, const DtSphere &sphere)
 Note that this function treats the shape as if it is in two dimensions (all tests ignore height for the sphere and the vertices).
bool geometrySphereVolumetricIntersect (DtTerrainPagingGeometryPtr geometry, const DtSphere &sphere)
DtSurface getSurfaceType (btCollisionWorld::LocalRayResult &rayResult)
btVector3 DtPoint2btVector3 (const DtPoint &p)
 Utilities for using Bullet in MAK products.
btVector3 DtVector2btVector3 (const DtVector &v)
 Utilities for using Bullet in MAK products.
DtPoint btVector32DtPoint (const btVector3 &v)
 Utilities for using Bullet in MAK products.
DtVector btVector32DtVector (const btVector3 &v)
 Utilities for using Bullet in MAK products.

Detailed Description

Function Documentation

btVector3 DtPoint2btVector3 ( const DtPoint p)

Utilities for using Bullet in MAK products.

btVector3 DtVector2btVector3 ( const DtVector v)

Utilities for using Bullet in MAK products.

DtPoint btVector32DtPoint ( const btVector3 &  v)

Utilities for using Bullet in MAK products.

DtVector btVector32DtVector ( const btVector3 &  v)

Utilities for using Bullet in MAK products.

bool chordSphereVolumetricIntersect ( const DtChord chord,
const DtSphere sphere 
)
Returns
True if the specified chord intersects with the volume defined by sphere. The chord may be wholly contained within the sphere, and this will return true.
bool sphereSphereVolumetricIntersect ( const DtSphere sphere1,
const DtSphere sphere2 
)
Returns
True if the two spheres intersect. One sphere may be wholly contained within the other sphere, and this will return true.
bool shapeSphereVolumetricIntersect ( const DtLocalVertexList shape,
const DtSphere sphere 
)

Note that this function treats the shape as if it is in two dimensions (all tests ignore height for the sphere and the vertices).

Returns
True if the shape intersects the sphere. This means that either the center of the sphere is within the shape, or the center of the sphere is within its own radius of the nearest point on the shape.
bool geometrySphereVolumetricIntersect ( DtTerrainPagingGeometryPtr  geometry,
const DtSphere sphere 
)
Returns
True if the sphere overlaps the geometry defined in the geometry pointer. Uses the above volumetric intersect functions to do the intersection.
DtSurface getSurfaceType ( btCollisionWorld::LocalRayResult &  rayResult)

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)