CMS 3D CMS Logo

Boolean.cc
Go to the documentation of this file.
2 
4 
6  const DDTranslation & t,
7  const DDRotation & r,
9  : Solid(s), a_(A), b_(B), t_(t), r_(r)
10  { }
11 
12 
13 DDI::Union::Union(const DDSolid & A, const DDSolid & B,
14  const DDTranslation & t,
15  const DDRotation & r)
16  : DDI::BooleanSolid(A,B,t,r,ddunion)
17  { }
18 
19 
21  const DDTranslation & t,
22  const DDRotation & r)
23  : DDI::BooleanSolid(A,B,t,r,ddintersection)
24  { }
25 
26 
28  const DDTranslation & t,
29  const DDRotation & r)
30  : DDI::BooleanSolid(A,B,t,r,ddsubtraction)
31  { }
32 
33 
34 
35 
const DDTranslation & t() const
Definition: Boolean.h:21
Intersection(const DDSolid &A, const DDSolid &B, const DDTranslation &t, const DDRotation &r)
Definition: Boolean.cc:20
DDSolidShape
Definition: DDSolidShapes.h:6
const DDRotation & r() const
Definition: Boolean.h:22
A DDSolid represents the shape of a part.
Definition: DDSolid.h:37
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Definition: DDTranslation.h:7
Represents a uniquely identifyable rotation matrix.
Definition: DDTransform.h:66
Union(const DDSolid &A, const DDSolid &B, const DDTranslation &t, const DDRotation &r)
Definition: Boolean.cc:13
BooleanSolid(const DDSolid &A, const DDSolid &B, const DDTranslation &t, const DDRotation &r, DDSolidShape s)
Definition: Boolean.cc:5
Definition: rep_type.h:4
Subtraction(const DDSolid &A, const DDSolid &B, const DDTranslation &t, const DDRotation &r)
Definition: Boolean.cc:27