Public Member Functions |
|
| PhysxSphere (const PhysxSphere &sphere) |
| bool | contains (const LPoint3f &p) const |
| | Tests if a point is contained within the sphere.
|
| bool | contains (const PhysxSphere &sphere) const |
| | Tests if a sphere is contained within the sphere.
|
| bool | contains (const LPoint3f &min, const LPoint3f &max) const |
| | Tests if an axis aligned box is contained within the sphere.
|
| LPoint3f | get_center () const |
| | Returns the center of the sphere.
|
| float | get_radius () const |
| | Returns the sphere's radius.
|
| bool | intersect (const PhysxSphere &sphere) const |
| | Tests if the sphere intersects another sphere.
|
| bool | is_valid () const |
| | Returns TRUE if this sphere is valid.
|
| void | set_center (LPoint3f value) |
| | Sets the center of the sphere.
|
| void | set_radius (float value) |
| | Sets the sphere's radius.
|
Public Attributes |
|
NxSphere | _sphere |
Represents a sphere defined by its center point and radius.
Definition at line 28 of file physxSphere.h.