Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:05:25

0001 #include "DetectorDescription/Core/interface/Boolean.h"
0002 #include "DetectorDescription/Core/interface/Solid.h"
0003 
0004 DDI::BooleanSolid::BooleanSolid(
0005     const DDSolid& A, const DDSolid& B, const DDTranslation& t, const DDRotation& r, DDSolidShape s)
0006     : Solid(s), a_(A), b_(B), t_(t), r_(r) {}
0007 
0008 DDI::Union::Union(const DDSolid& A, const DDSolid& B, const DDTranslation& t, const DDRotation& r)
0009     : DDI::BooleanSolid(A, B, t, r, DDSolidShape::ddunion) {}
0010 
0011 DDI::Intersection::Intersection(const DDSolid& A, const DDSolid& B, const DDTranslation& t, const DDRotation& r)
0012     : DDI::BooleanSolid(A, B, t, r, DDSolidShape::ddintersection) {}
0013 
0014 DDI::Subtraction::Subtraction(const DDSolid& A, const DDSolid& B, const DDTranslation& t, const DDRotation& r)
0015     : DDI::BooleanSolid(A, B, t, r, DDSolidShape::ddsubtraction) {}