Panda3D

- Main Page
- Packages
- Classes

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

Public Member Functions | Static Public Member Functions

# CollisionSphere Class Reference

A spherical collision volume or object. More...

Inheritance diagram for CollisionSphere:

List of all members.

## Public Member Functions
| CollisionSphere (Point3 const center, float radius)
| CollisionSphere (float cx, float cy, float cz, float radius)
Point3 const | getCenter ()
float | getRadius ()
| setCenter (float x, float y, float z)
| setCenter (Point3 const center)
| setRadius (float radius)
## Static Public Member Functions
static TypeHandle | getClassType ()

## Detailed Description

A spherical collision volume or object.

## Constructor & Destructor Documentation

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

CollisionSphere | ( | float | cx,
|  | float | cy,
|  | float | cz,
|  | float | radius
| ) |  |

## Member Function Documentation

Point3 const getCenter | ( |  | ) |

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

Reimplemented from CollisionSolid.

Reimplemented in CollisionInvSphere.

float getRadius | ( |  | ) |

setCenter | ( | float | x,
|  | float | y,
|  | float | z
| ) |  |

setCenter | ( | Point3 const | center | ) |

setRadius | ( | float | radius | ) |

All Classes Namespaces Functions Variables Enumerations Enumerator Properties