§ Contains() [1/3]
bool ParaEngine::CShapeSphere::Contains |
( |
const Vector3 & |
p | ) |
const |
|
inline |
Tests if a point is contained within the sphere.
- Parameters
-
- Returns
- true if inside the sphere
§ Contains() [2/3]
bool ParaEngine::CShapeSphere::Contains |
( |
const CShapeSphere & |
sphere | ) |
const |
|
inline |
Tests if a sphere is contained within the sphere.
- Parameters
-
sphere | [in] the sphere to test |
- Returns
- true if inside the sphere
§ Contains() [3/3]
BOOL CShapeSphere::Contains |
( |
const CShapeAABB & |
aabb | ) |
const |
|
inline |
Tests if a box is contained within the sphere.
- Parameters
-
- Returns
- true if inside the sphere
§ Intersect()
bool ParaEngine::CShapeSphere::Intersect |
( |
const CShapeSphere & |
sphere | ) |
const |
|
inline |
Tests if the sphere intersects another sphere.
- Parameters
-
sphere | [in] the other sphere |
- Returns
- true if spheres overlap
§ IsValid()
BOOL ParaEngine::CShapeSphere::IsValid |
( |
| ) |
const |
|
inline |
Checks the sphere is valid.
- Returns
- true if the box is valid
The documentation for this class was generated from the following files:
- Client/trunk/ParaEngineClient/math/ShapeSphere.h
- Client/trunk/ParaEngineClient/math/ShapeSphere.cpp