25 ev.
eval(nmspace, atts.find(
"dx1")->second),
26 ev.
eval(nmspace, atts.find(
"dx2")->second),
27 ev.
eval(nmspace, atts.find(
"dy1")->second),
28 ev.
eval(nmspace, atts.find(
"dy2")->second),
29 ev.
eval(nmspace, atts.find(
"dz")->second),
30 ev.
eval(nmspace, atts.find(
"radius")->second),
31 (atts.find(
"atMinusZ")->second ==
"true") ?
true :
false );
DDLElementRegistry * myRegistry_
static DDSolid pseudoTrap(const DDName &name, double pDx1, double pDx2, double pDy1, double pDy2, double pDz, double radius, bool atMinusZ)
virtual const DDXMLAttribute & getAttributeSet(size_t aIndex=0) const
Get a "row" of attributes, i.e. one attribute set.
type of data representation of DDCompactView
std::map< std::string, std::string > DDXMLAttribute
A DDSolid represents the shape of a part.
ClhepEvaluator & evaluator()
DDLPseudoTrap(DDLElementRegistry *myreg)
DDLSolid processes Box elements.
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
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)