Main Page   Class Hierarchy   Compound List   File List   Compound Members  

cganim::Sphere Class Reference

Represents a sphere given by its center and radius. More...

#include <sphere.h>

Inheritance diagram for cganim::Sphere:

cganim::AnimObject List of all members.

Public Member Functions

double GetRadius () const
 Return sphere radius.

void SetRadius (double new_radius)
 Modify sphere radius.

gml::Vector3d GetCenter () const
 Return sphere center.

void SetCenter (const gml::Vector3d &new_center)
 Modify sphere center.


Detailed Description

Represents a sphere given by its center and radius.


The documentation for this class was generated from the following file:
Generated on Wed May 5 13:20:40 2004 for AnimDatalibrary by doxygen1.3