CMS 3D CMS Logo

Boolean.cc
Go to the documentation of this file.
3 
5  const DDTranslation & t,
6  const DDRotation & r,
8  : Solid(s), a_(A), b_(B), t_(t), r_(r)
9 {}
10 
11 DDI::MultiUnion::MultiUnion( const std::vector<DDSolid> & a,
12  const std::vector<DDTranslation> & t,
13  const std::vector<DDRotation> & r)
14  : Solid(ddmultiunion), a_(a), t_(t), r_(r)
15 {}
16 
17 DDI::Union::Union( const DDSolid & A, const DDSolid & B,
18  const DDTranslation & t,
19  const DDRotation & r)
20  : DDI::BooleanSolid( A, B, t, r, ddunion )
21 {}
22 
24  const DDTranslation & t,
25  const DDRotation & r )
26  : DDI::BooleanSolid( A, B, t, r, ddintersection )
27 {}
28 
30  const DDTranslation & t,
31  const DDRotation & r )
32  : DDI::BooleanSolid( A, B, t, r, ddsubtraction )
33 {}
const DDTranslation & t() const
Definition: Boolean.h:22
Intersection(const DDSolid &A, const DDSolid &B, const DDTranslation &t, const DDRotation &r)
Definition: Boolean.cc:23
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:64
DDSolid a_
Definition: Boolean.h:26
Union(const DDSolid &A, const DDSolid &B, const DDTranslation &t, const DDRotation &r)
Definition: Boolean.cc:17
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:11
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:29
DDRotation r_
Definition: Boolean.h:28
DDTranslation t_
Definition: Boolean.h:27