#include <PxCapsuleGeometry.h>


| Public Member Functions | |
| PX_INLINE | PxCapsuleGeometry () | 
| Default constructor, initializes to a capsule with zero height and radius. | |
| PX_INLINE | PxCapsuleGeometry (PxReal radius_, PxReal halfHeight_) | 
| Constructor, initializes to a capsule with passed radius and half height. | |
| PX_INLINE bool | isValid () const | 
| Returns true if the geometry is valid. | |
| Public Attributes | |
| PxReal | radius | 
| The radius of the capsule. | |
| PxReal | halfHeight | 
| half of the capsule's height, measured between the centers of the hemispherical ends. | |
Capsules are shaped as the union of a cylinder of length 2 * halfHeight and with the given radius centered at the origin and extending along the x axis, and two hemispherical ends.
| PX_INLINE PxCapsuleGeometry::PxCapsuleGeometry | ( | ) |  [inline] | 
Default constructor, initializes to a capsule with zero height and radius.
| PX_INLINE PxCapsuleGeometry::PxCapsuleGeometry | ( | PxReal | radius_, | |
| PxReal | halfHeight_ | |||
| ) |  [inline] | 
Constructor, initializes to a capsule with passed radius and half height.
half of the capsule's height, measured between the centers of the hemispherical ends.
Referenced by isValid(), and PxMassProperties::PxMassProperties().
| PxReal PxCapsuleGeometry::radius |