CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Boolean.cc
Go to the documentation of this file.
3 
5  const DDSolid& A, const DDSolid& B, const DDTranslation& t, const DDRotation& r, DDSolidShape s)
6  : Solid(s), a_(A), b_(B), t_(t), r_(r) {}
7 
8 DDI::Union::Union(const DDSolid& A, const DDSolid& B, const DDTranslation& t, const DDRotation& r)
9  : DDI::BooleanSolid(A, B, t, r, DDSolidShape::ddunion) {}
10 
12  : DDI::BooleanSolid(A, B, t, r, DDSolidShape::ddintersection) {}
13 
15  : DDI::BooleanSolid(A, B, t, r, DDSolidShape::ddsubtraction) {}
Intersection(const DDSolid &A, const DDSolid &B, const DDTranslation &t, const DDRotation &r)
Definition: Boolean.cc:11
A DDSolid represents the shape of a part.
Definition: DDSolid.h:39
Represents a uniquely identifyable rotation matrix.
Definition: DDTransform.h:57
Union(const DDSolid &A, const DDSolid &B, const DDTranslation &t, const DDRotation &r)
Definition: Boolean.cc:8
BooleanSolid(const DDSolid &A, const DDSolid &B, const DDTranslation &t, const DDRotation &r, DDSolidShape s)
Definition: Boolean.cc:4
static const std::string B
DDSolidShape
Definition: DDSolidShapes.h:6
Subtraction(const DDSolid &A, const DDSolid &B, const DDTranslation &t, const DDRotation &r)
Definition: Boolean.cc:14
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > DDTranslation
Definition: DDTranslation.h:7