#include <DDSolid.h>
Public Member Functions | |
DDIntersection (const DDSolid &s) | |
Private Member Functions | |
DDIntersection (void) |
DDIntersection::DDIntersection | ( | const DDSolid & | s | ) |
Definition at line 303 of file DDSolid.cc.
References ddunion, Exception, DDName::name(), DDBase< N, C >::name(), DDName::ns(), DDSolid::shape(), and AlCaHLTBitMon_QueryRunRegistry::string.
: DDBooleanSolid(s) { if (s.shape() != ddunion) { std::string ex = "Solid [" + s.name().ns() + ":" + s.name().name() + "] is not a DDIntersection.\n"; ex = ex + "Use a different solid interface!"; throw cms::Exception("DDException") << ex; } }
DDIntersection::DDIntersection | ( | void | ) | [private] |