CMS 3D CMS Logo

DDUnion Class Reference

#include <DetectorDescription/Core/interface/DDSolid.h>

Inheritance diagram for DDUnion:

DDBooleanSolid DDSolid DDBase< DDName, DDI::Solid * >

List of all members.

Public Member Functions

 DDUnion (const DDSolid &s)

Private Member Functions

 DDUnion ()


Detailed Description

Definition at line 320 of file DDSolid.h.


Constructor & Destructor Documentation

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]


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:18:17 2009 for CMSSW by  doxygen 1.5.4