Definition of a sphere.
More...
#include <shapes.h>
|
| static const std::string | STRING_NAME = "sphere" |
| | The type of the shape, as a string. More...
|
| |
Definition of a sphere.
Definition at line 106 of file shapes.h.
| shapes::Sphere::Sphere |
( |
| ) |
|
| shapes::Sphere::Sphere |
( |
double |
r | ) |
|
The radius of the shpere.
Definition at line 102 of file shapes.cpp.
| Shape * shapes::Sphere::clone |
( |
| ) |
const |
|
virtual |
| void shapes::Sphere::print |
( |
std::ostream & |
out = std::cout | ) |
const |
|
virtual |
| void shapes::Sphere::scaleAndPadd |
( |
double |
scale, |
|
|
double |
padd |
|
) |
| |
|
virtual |
| double shapes::Sphere::radius |
The radius of the sphere.
Definition at line 122 of file shapes.h.
| const std::string shapes::Sphere::STRING_NAME = "sphere" |
|
static |
The type of the shape, as a string.
Definition at line 115 of file shapes.h.
The documentation for this class was generated from the following files: