#include <DDSolid.h>
Public Member Functions | |
DDEllipticalTube (const DDSolid &s) | |
double | xSemiAxis (void) const |
double | ySemiAxis (void) const |
double | zHeight (void) const |
Private Member Functions | |
DDEllipticalTube (void) |
DDEllipticalTube::DDEllipticalTube | ( | const DDSolid & | s | ) |
Definition at line 593 of file DDSolid.cc.
References ddellipticaltube, Exception, DDName::name(), DDBase< N, C >::name(), DDName::ns(), and DDSolid::shape().
: DDSolid(s) { if (s.shape() != ddellipticaltube) { std::string ex = "Solid [" + s.name().ns() + ":" + s.name().name() + "] is not a DDEllipticalTube.\n"; ex = ex + "Use a different solid interface!"; throw cms::Exception("DDException") << ex; } }
DDEllipticalTube::DDEllipticalTube | ( | void | ) | [private] |
double DDEllipticalTube::xSemiAxis | ( | void | ) | const |
Definition at line 602 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by DDG4SolidConverter::ellipticaltube().
{ return rep().parameters()[0]; }
double DDEllipticalTube::ySemiAxis | ( | void | ) | const |
Definition at line 604 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by DDG4SolidConverter::ellipticaltube().
{ return rep().parameters()[1]; }
double DDEllipticalTube::zHeight | ( | void | ) | const |
Definition at line 606 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by DDG4SolidConverter::ellipticaltube().
{ return rep().parameters()[2]; }