+#include <PxBoxGeometry.h>
+
+


Public Member Functions | |
| PX_INLINE | PxBoxGeometry () |
| Default constructor, initializes to a box with zero dimensions. | |
| PX_INLINE | PxBoxGeometry (PxReal hx, PxReal hy, PxReal hz) |
| Constructor to initialize half extents from scalar parameters. | |
| PX_INLINE | PxBoxGeometry (PxVec3 halfExtents_) |
| Constructor to initialize half extents from vector parameter. | |
| PX_INLINE bool | isValid () const |
| Returns true if the geometry is valid. | |
Public Attributes | |
| PxVec3 | halfExtents |
| Half of the width, height, and depth of the box. | |
+The geometry of a box can be fully specified by its half extents. This is the half of its width, height, and depth.
| PX_INLINE PxBoxGeometry::PxBoxGeometry | +( | ++ | ) | + [inline] |
+
+Default constructor, initializes to a box with zero dimensions. +
+ +
| PX_INLINE PxBoxGeometry::PxBoxGeometry | +( | +PxReal | +hx, | +|
| + | + | PxReal | +hy, | +|
| + | + | PxReal | +hz | + |
| + | ) | + [inline] |
+
+Constructor to initialize half extents from scalar parameters. +
+
| hx | Initial half extents' x component. | |
| hy | Initial half extents' y component. | |
| hz | Initial half extents' z component. |
| PX_INLINE PxBoxGeometry::PxBoxGeometry | +( | +PxVec3 | +halfExtents_ | +) | + [inline] |
+
+Constructor to initialize half extents from vector parameter. +
+
| halfExtents_ | Initial half extents. |
+
| PxVec3 PxBoxGeometry::halfExtents | +
+Half of the width, height, and depth of the box. +
+ +
Referenced by isValid(), and PxMassProperties::PxMassProperties().
+ ++