#include <DDSolid.h>
Public Member Functions | |
DDEllipsoid (const DDSolid &s) | |
double | xSemiAxis (void) const |
double | ySemiAxis (void) const |
double | zBottomCut (void) const |
double | zSemiAxis (void) const |
double | zTopCut (void) const |
Private Member Functions | |
DDEllipsoid (void) |
DDEllipsoid::DDEllipsoid | ( | const DDSolid & | s | ) |
Definition at line 610 of file DDSolid.cc.
References ddellipsoid, Exception, DDName::name(), DDBase< N, C >::name(), DDName::ns(), and DDSolid::shape().
: DDSolid(s) { if (s.shape() != ddellipsoid) { std::string ex = "Solid [" + s.name().ns() + ":" + s.name().name() + "] is not a DDEllipsoid (or truncated ellipsoid).\n"; ex = ex + "Use a different solid interface!"; throw cms::Exception("DDException") << ex; } }
DDEllipsoid::DDEllipsoid | ( | void | ) | [private] |
double DDEllipsoid::xSemiAxis | ( | void | ) | const |
Definition at line 619 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by DDG4SolidConverter::ellipsoid().
{ return rep().parameters()[0]; }
double DDEllipsoid::ySemiAxis | ( | void | ) | const |
Definition at line 621 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by DDG4SolidConverter::ellipsoid().
{ return rep().parameters()[1]; }
double DDEllipsoid::zBottomCut | ( | void | ) | const |
Definition at line 625 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by DDG4SolidConverter::ellipsoid().
{ return rep().parameters()[3]; }
double DDEllipsoid::zSemiAxis | ( | void | ) | const |
Definition at line 623 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by DDG4SolidConverter::ellipsoid().
{ return rep().parameters()[2]; }
double DDEllipsoid::zTopCut | ( | void | ) | const |
Definition at line 627 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by DDG4SolidConverter::ellipsoid().
{ return rep().parameters()[4]; }