#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 13 of file Sphere.cc.
References DDI::Solid::p_.
|
overridevirtual |
|
overridevirtual |
Reimplemented from DDI::Solid.
Definition at line 40 of file Sphere.cc.
References funct::cos(), DDI::Solid::p_, and Geom::pi().