#include <Box.h>
Public Member Functions | |
Box (double xHalf, double yHalf, double zHalf) | |
void | stream (std::ostream &os) const override |
double | volume () const override |
~Box () 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_ |
|
inline |
|
overridevirtual |
Reimplemented from DDI::Solid.
Definition at line 8 of file Box.cc.
References DDI::Solid::p_.
Referenced by volume().
|
inlineoverridevirtual |
Reimplemented from DDI::Solid.
Definition at line 25 of file Box.h.
References DDI::Solid::p_, and stream().