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