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.
◆ Sphere() [1/2]
shapes::Sphere::Sphere |
( |
| ) |
|
◆ Sphere() [2/2]
shapes::Sphere::Sphere |
( |
double |
r | ) |
|
The radius of the shpere.
Definition at line 134 of file shapes.cpp.
◆ clone()
Sphere * shapes::Sphere::clone |
( |
| ) |
const |
|
overridevirtual |
◆ print()
void shapes::Sphere::print |
( |
std::ostream & |
out = std::cout | ) |
const |
|
overridevirtual |
◆ scaleAndPadd()
void shapes::Sphere::scaleAndPadd |
( |
double |
scale, |
|
|
double |
padd |
|
) |
| |
|
overridevirtual |
◆ radius
double shapes::Sphere::radius |
The radius of the sphere.
Definition at line 122 of file shapes.h.
◆ STRING_NAME
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: