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 
13  const DDSolid & B,
14  const DDTranslation & t,
15  const DDRotation & r)
16  : DDI::BooleanSolid( A, B, t, r, DDSolidShape::ddunion )
17 {}
18 
20  const DDSolid & B,
21  const DDTranslation & t,
22  const DDRotation & r )
23  : DDI::BooleanSolid( A, B, t, r, DDSolidShape::ddintersection )
24 {}
25 
27  const DDSolid & B,
28  const DDTranslation & t,
29  const DDRotation & r )
30  : DDI::BooleanSolid( A, B, t, r, DDSolidShape::ddsubtraction )
31 {}
const DDTranslation & t() const
Definition: Boolean.h:22
Intersection(const DDSolid &A, const DDSolid &B, const DDTranslation &t, const DDRotation &r)
Definition: Boolean.cc:19
DDSolidShape
Definition: DDSolidShapes.h:4
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
Union(const DDSolid &A, const DDSolid &B, const DDTranslation &t, const DDRotation &r)
Definition: Boolean.cc:12
BooleanSolid(const DDSolid &A, const DDSolid &B, const DDTranslation &t, const DDRotation &r, DDSolidShape s)
Definition: Boolean.cc:4
static const std::string B
Subtraction(const DDSolid &A, const DDSolid &B, const DDTranslation &t, const DDRotation &r)
Definition: Boolean.cc:26