#include <DDSolid.h>
Public Member Functions | |
double | alpha (void) const |
DDParallelepiped (const DDSolid &s) | |
double | phi (void) const |
double | theta (void) const |
double | xHalf (void) const |
double | yHalf (void) const |
double | zHalf (void) const |
Private Member Functions | |
DDParallelepiped (void) |
DDParallelepiped::DDParallelepiped | ( | const DDSolid & | s | ) |
Definition at line 634 of file DDSolid.cc.
References ddparallelepiped, DDName::name(), DDBase< N, C >::name(), DDName::ns(), and DDSolid::shape().
: DDSolid(s) { if (s.shape() != ddparallelepiped) { std::string ex = "Solid [" + s.name().ns() + ":" + s.name().name() + "] is not a DDParallelepiped.\n"; ex = ex + "Use a different solid interface!"; throw DDException(ex); } }
DDParallelepiped::DDParallelepiped | ( | void | ) | [private] |
double DDParallelepiped::alpha | ( | void | ) | const |
Definition at line 649 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by DDG4SolidConverter::para().
{ return rep().parameters()[3]; }
double DDParallelepiped::phi | ( | void | ) | const |
Definition at line 653 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by DDG4SolidConverter::para().
{ return rep().parameters()[5]; }
double DDParallelepiped::theta | ( | void | ) | const |
Definition at line 651 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by DDG4SolidConverter::para().
{ return rep().parameters()[4]; }
double DDParallelepiped::xHalf | ( | void | ) | const |
Definition at line 643 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by DDG4SolidConverter::para().
{ return rep().parameters()[0]; }
double DDParallelepiped::yHalf | ( | void | ) | const |
Definition at line 645 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by DDG4SolidConverter::para().
{ return rep().parameters()[1]; }
double DDParallelepiped::zHalf | ( | void | ) | const |
Definition at line 647 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by DDG4SolidConverter::para().
{ return rep().parameters()[2]; }