Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Member Functions

# BoundingSphere Class Reference

This defines a bounding sphere, consisting of a center and a radius. More...

Inheritance diagram for BoundingSphere:

List of all members.

## Public Member Functions
| BoundingSphere ()
| Constructs an empty sphere.
| BoundingSphere (Point3 const center, float radius)
| Constructs a specific sphere.
Point3 | getCenter ()
float | getRadius ()
| operator new (unsigned int size)
## Static Public Member Functions
static TypeHandle | getClassType ()

## Detailed Description

This defines a bounding sphere, consisting of a center and a radius.

It is always a sphere, and never an ellipsoid or other quadric.

## Constructor & Destructor Documentation

BoundingSphere | ( |  | ) |

Constructs an empty sphere.

BoundingSphere | ( | Point3 const | center,
|  | float | radius
| ) |  |

Constructs a specific sphere.

## Member Function Documentation

Point3 getCenter | ( |  | ) |

static TypeHandle getClassType | ( |  | ) | `[static]`

Reimplemented from FiniteBoundingVolume.

float getRadius | ( |  | ) |

operator new | ( | unsigned int | size | ) |

All Classes Namespaces Functions Variables Enumerations Enumerator Properties