#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 596 of file DDSolid.cc.
References ddellipticaltube, 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 DDException(ex); } }
DDEllipticalTube::DDEllipticalTube | ( | void | ) | [private] |
double DDEllipticalTube::xSemiAxis | ( | void | ) | const |
Definition at line 605 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 607 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 609 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by DDG4SolidConverter::ellipticaltube().
{ return rep().parameters()[2]; }