#include <DDSolid.h>
Public Member Functions | |
DDSubtraction (const DDSolid &s) | |
Private Member Functions | |
DDSubtraction () |
DDSubtraction::DDSubtraction | ( | const DDSolid & | s | ) |
Definition at line 319 of file DDSolid.cc.
References ddsubtraction, 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 DDException(ex); } }
DDSubtraction::DDSubtraction | ( | ) | [private] |