#include <DetectorDescription/Core/interface/DDSolid.h>
Public Member Functions | |
DDUnion (const DDSolid &s) | |
Private Member Functions | |
DDUnion () |
Definition at line 320 of file DDSolid.h.
DDUnion::DDUnion | ( | const DDSolid & | s | ) |
Definition at line 273 of file DDSolid.cc.
References ddunion, DDName::name(), DDBase< N, C >::name(), DDName::ns(), and DDSolid::shape().
00274 : DDBooleanSolid(s) 00275 { 00276 if (s.shape() != ddunion) { 00277 std::string ex = "Solid [" + s.name().ns() + ":" + s.name().name() + "] is not a DDUnion.\n"; 00278 ex = ex + "Use a different solid interface!"; 00279 throw DDException(ex); 00280 } 00281 }
DDUnion::DDUnion | ( | ) | [private] |