#include <DetectorDescription/Core/src/Box.h>
Public Member Functions | |
Box (double xHalf, double yHalf, double zHalf) | |
void | stream (std::ostream &os) const |
double | volume () const |
~Box () |
Definition at line 10 of file Box.h.
DDI::Box::Box | ( | double | xHalf, | |
double | yHalf, | |||
double | zHalf | |||
) | [inline] |
void DDI::Box::stream | ( | std::ostream & | os | ) | const [virtual] |
Reimplemented from DDI::Solid.
Definition at line 6 of file Box.cc.
References DDI::Solid::p_.
00007 { 00008 os << " xhalf[cm]=" << p_[0]/cm 00009 << " yhalf[cm]=" << p_[1]/cm 00010 << " zhalf[cm]=" << p_[2]/cm; 00011 00012 }
double DDI::Box::volume | ( | ) | const [inline, virtual] |