text cover

Data Abstraction and Problem Solving with C++

Walls and Mirrors

by Frank M. Carrano

Addison Wesley Logo

Sphere410.h

Go to the documentation of this file.
00001 
00024 class Sphere : public EquidistantShape
00025 {
00026 public:
00027    Sphere();
00028    Sphere(double initialRadius);
00029    Sphere(const Sphere& aSphere);
00030    virtual ~Sphere();
00031 
00032    virtual void setRadius(double newRadius);
00033    virtual double getRadius() const;
00034    virtual double getDiameter() const;
00035    virtual double getCircumference() const;
00036    virtual double getArea() const;
00037    virtual double getVolume() const;
00038    virtual void displayStatistics() const;
00039 
00040 private:
00041    double theRadius;
00042 }; // end Sphere

Generated on Sun Aug 27 19:59:37 2006 for AWLogo by  doxygen 1.4.6