#include <DetectorDescription/Core/interface/DDSolid.h>
Public Member Functions | |
DDShapelessSolid (const DDSolid &s) | |
Private Member Functions | |
DDShapelessSolid () |
Definition at line 197 of file DDSolid.h.
DDShapelessSolid::DDShapelessSolid | ( | const DDSolid & | s | ) |
Definition at line 261 of file DDSolid.cc.
References ddshapeless, DDName::name(), DDBase< N, C >::name(), DDName::ns(), and DDSolid::shape().
00261 : DDSolid(s) 00262 { 00263 if (s.shape() != ddshapeless) { 00264 std::string ex = "Solid [" + s.name().ns() + ":" + s.name().name() + "] is not a DDShapelessSolid.\n"; 00265 ex = ex + "Use a different solid interface!"; 00266 throw DDException(ex); 00267 } 00268 }
DDShapelessSolid::DDShapelessSolid | ( | ) | [private] |