#include <Sphere.h>
Public Member Functions | |
Sphere (double innerRadius, double outerRadius, double startPhi, double deltaPhi, double startZ, double deltaZ) | |
void | stream (std::ostream &) const override |
double | volume () const override |
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 | ||
) |
Definition at line 14 of file Sphere.cc.
References ddsphere, and DDI::Solid::p_.
|
overridevirtual |
Reimplemented from DDI::Solid.
Definition at line 30 of file Sphere.cc.
References CONVERT_TO, and DDI::Solid::p_.
|
overridevirtual |
Reimplemented from DDI::Solid.
Definition at line 40 of file Sphere.cc.
References _pi(), funct::cos(), and DDI::Solid::p_.