#include <PseudoTrap.h>
Definition at line 12 of file PseudoTrap.h.
DDI::PseudoTrap::PseudoTrap |
( |
double |
x1, |
|
|
double |
x2, |
|
|
double |
y1, |
|
|
double |
y2, |
|
|
double |
z, |
|
|
double |
radius, |
|
|
bool |
minusZ |
|
) |
| |
|
inline |
DDI::PseudoTrap::~PseudoTrap |
( |
| ) |
|
|
inline |
void DDI::PseudoTrap::stream |
( |
std::ostream & |
os | ) |
const |
|
virtual |
Reimplemented from DDI::Solid.
Definition at line 8 of file PseudoTrap.cc.
References DDI::Solid::p_.
Referenced by volume().
10 os <<
" x1[cm]=" <<
p_[0]/cm
11 <<
" x2[cm]=" <<
p_[1]/cm
12 <<
" y1[cm]=" <<
p_[2]/cm
13 <<
" y2[cm]=" <<
p_[3]/cm
14 <<
" z[cm]=" <<
p_[4]/cm
15 <<
" radius[cm]=" <<
p_[5]/cm;
18 os <<
" minusZ=[yes]";
double DDI::PseudoTrap::volume |
( |
void |
| ) |
const |
|
inlinevirtual |