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