Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

# deBV_Sphere Class Reference

Inheritance diagram for deBV_Sphere:

[legend]
Collaboration diagram for deBV_Sphere:

[legend]
List of all members.

## Public Member Functions
| deBV_Sphere ()
| deBV_Sphere (const deBoundSphere &sphere)
| ~deBV_Sphere ()
void * | GetBVInterface (BVType_t iface)
void | SetRadius (deDouble Radius)
deDouble | GetRadius ()
deBoolean | TestLineIntersect (const deVec3d &begin, const deVec3d &end)
deBoolean | TestSphereIntersect (const deVec3d &center, deDouble radius)
deBoolean | TestAABBIntersect (const deVec3d &pos, const deAABB &box)
## Private Attributes
deDouble | m_Radius

## Constructor & Destructor Documentation

deBV_Sphere::deBV_Sphere | ( |  | ) | `[inline]`

deBV_Sphere::deBV_Sphere | ( | const deBoundSphere & | sphere | ) | `[inline]`

deBV_Sphere::~deBV_Sphere | ( |  | ) | `[inline]`

## Member Function Documentation

void* deBV_Sphere::GetBVInterface | ( | BVType_t | iface | ) | `[inline, virtual]`

| Reimplemented from deBoundingVolume.

deDouble deBV_Sphere::GetRadius | ( |  | ) | `[inline, virtual]`

| Implements IdeBV_Sphere.

void deBV_Sphere::SetRadius | ( | deDouble | Radius | ) | `[inline, virtual]`

| Implements IdeBV_Sphere.

deBoolean deBV_Sphere::TestAABBIntersect | ( | const deVec3d & | pos,
|  | const deAABB & | box
| ) | `[virtual]`

| Implements IdeBoundingVolume.

deBoolean deBV_Sphere::TestLineIntersect | ( | const deVec3d & | begin,
|  | const deVec3d & | end
| ) | `[virtual]`

| Implements IdeBoundingVolume.

deBoolean deBV_Sphere::TestSphereIntersect | ( | const deVec3d & | center,
|  | deDouble | radius
| ) | `[virtual]`

| Implements IdeBoundingVolume.

## Member Data Documentation

deDouble deBV_Sphere::m_Radius`[private]`

The documentation for this class was generated from the following file:

- deBoundingVolumes.cpp