CMS 3D CMS Logo

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