CMS 3D CMS Logo

Public Member Functions | Private Member Functions

DDShapelessSolid Class Reference

This is simply a handle on the solid. More...

#include <DDSolid.h>

Inheritance diagram for DDShapelessSolid:
DDSolid DDBase< DDName, DDI::Solid * >

List of all members.

Public Member Functions

 DDShapelessSolid (const DDSolid &s)

Private Member Functions

 DDShapelessSolid (void)

Detailed Description

This is simply a handle on the solid.

Definition at line 175 of file DDSolid.h.


Constructor & Destructor Documentation

DDShapelessSolid::DDShapelessSolid ( const DDSolid s)

Definition at line 278 of file DDSolid.cc.

References ddshapeless, Exception, DDName::name(), DDBase< N, C >::name(), DDName::ns(), DDSolid::shape(), and AlCaHLTBitMon_QueryRunRegistry::string.

                                                     : DDSolid(s)
{
  if (s.shape() != ddshapeless) {
    std::string ex  = "Solid [" + s.name().ns() + ":" + s.name().name() + "] is not a DDShapelessSolid.\n";
    ex = ex + "Use a different solid interface!";
    throw cms::Exception("DDException") << ex;
  }
}
DDShapelessSolid::DDShapelessSolid ( void  ) [private]