#include <Sphere.h>
Public Member Functions | |
Sphere (double innerRadius, double outerRadius, double startPhi, double deltaPhi, double startZ, double deltaZ) | |
void | stream (std::ostream &) const |
double | volume () const |
Public Member Functions inherited from DDI::Solid | |
const std::vector< double > & | parameters () const |
void | setParameters (std::vector< double > const &p) |
DDSolidShape | shape () const |
Solid () | |
Solid (DDSolidShape shape) | |
virtual | ~Solid () |
Additional Inherited Members | |
Protected Attributes inherited from DDI::Solid | |
std::vector< double > | p_ |
DDSolidShape | shape_ |
DDI::Sphere::Sphere | ( | double | innerRadius, |
double | outerRadius, | ||
double | startPhi, | ||
double | deltaPhi, | ||
double | startZ, | ||
double | deltaZ | ||
) |
|
virtual |
|
virtual |
Reimplemented from DDI::Solid.
Definition at line 35 of file Sphere.cc.
References funct::cos(), and Geom::pi().