33 DCOUT_V(
'P',
"DDLEllipsoid::processElement started" );
36 double zbot(0.), ztop(0.);
37 if( atts.find(
"zBottomCut" ) != atts.end() )
39 zbot = ev.
eval( nmspace, atts.find(
"zBottomCut" )->second );
41 if( atts.find(
"zTopCut" ) != atts.end() )
43 ztop = ev.
eval( nmspace, atts.find(
"zTopCut" )->second );
46 ev.
eval(nmspace, atts.find(
"xSemiAxis")->second),
47 ev.
eval(nmspace, atts.find(
"ySemiAxis")->second),
48 ev.
eval(nmspace, atts.find(
"zSemiAxis")->second),
53 DCOUT_V(
'P',
"DDLEllipsoid::processElement completed" );
DDLElementRegistry * myRegistry_
virtual const DDXMLAttribute & getAttributeSet(size_t aIndex=0) const
Get a "row" of attributes, i.e. one attribute set.
DDLEllipsoid(DDLElementRegistry *myreg)
Constructor.
type of data representation of DDCompactView
std::map< std::string, std::string > DDXMLAttribute
A DDSolid represents the shape of a part.
ClhepEvaluator & evaluator()
static DDSolid ellipsoid(const DDName &name, double xSemiAxis, double ySemiAxis, double zSemiAxis, double zBottomCut=0., double zTopCut=0.)
~DDLEllipsoid(void)
Destructor.
#define DCOUT_V(M_v_Y, M_v_S)
DDLSolid processes Box elements.
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv)
Processing the element.
double eval(const std::string &ns, const std::string &expr)
The main class for processing parsed elements.
virtual const DDName getDDName(const std::string &defaultNS, const std::string &attname=std::string("name"), size_t aIndex=0)
void setReference(const std::string &nmspace, DDCompactView &cpv)