CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
DDI::BooleanSolid Class Reference

#include <Boolean.h>

Inheritance diagram for DDI::BooleanSolid:
DDI::Solid DDI::Intersection DDI::Subtraction DDI::Union

Public Member Functions

const DDSolida () const
 
const DDSolidb () const
 
 BooleanSolid (const DDSolid &A, const DDSolid &B, const DDTranslation &t, const DDRotation &r, DDSolidShape s)
 
const DDRotationr () const
 
const DDTranslationt () const
 
- Public Member Functions inherited from DDI::Solid
const std::vector< double > & parameters () const
 
void setParameters (std::vector< double > const &p)
 
DDSolidShape shape () const
 
 Solid ()
 
 Solid (DDSolidShape shape)
 
virtual void stream (std::ostream &) const
 
virtual double volume () const
 
virtual ~Solid ()
 

Protected Attributes

DDSolid a_
 
DDSolid b_
 
DDRotation r_
 
DDTranslation t_
 
- Protected Attributes inherited from DDI::Solid
std::vector< double > p_
 
DDSolidShape shape_
 

Detailed Description

Definition at line 12 of file Boolean.h.

Constructor & Destructor Documentation

◆ BooleanSolid()

DDI::BooleanSolid::BooleanSolid ( const DDSolid A,
const DDSolid B,
const DDTranslation t,
const DDRotation r,
DDSolidShape  s 
)

Definition at line 4 of file Boolean.cc.

6  : Solid(s), a_(A), b_(B), t_(t), r_(r) {}

Member Function Documentation

◆ a()

const DDSolid& DDI::BooleanSolid::a ( ) const
inline

Definition at line 16 of file Boolean.h.

16 { return a_; }

References a_.

Referenced by DDBooleanSolid::solidA().

◆ b()

const DDSolid& DDI::BooleanSolid::b ( ) const
inline

Definition at line 17 of file Boolean.h.

17 { return b_; }

References b_.

Referenced by DDBooleanSolid::solidB().

◆ r()

const DDRotation& DDI::BooleanSolid::r ( ) const
inline

Definition at line 19 of file Boolean.h.

19 { return r_; }

References r_.

Referenced by DDBooleanSolid::rotation().

◆ t()

const DDTranslation& DDI::BooleanSolid::t ( ) const
inline

Definition at line 18 of file Boolean.h.

18 { return t_; }

References t_.

Referenced by DDBooleanSolid::translation().

Member Data Documentation

◆ a_

DDSolid DDI::BooleanSolid::a_
protected

Definition at line 22 of file Boolean.h.

Referenced by a().

◆ b_

DDSolid DDI::BooleanSolid::b_
protected

Definition at line 22 of file Boolean.h.

Referenced by b().

◆ r_

DDRotation DDI::BooleanSolid::r_
protected

Definition at line 24 of file Boolean.h.

Referenced by r().

◆ t_

DDTranslation DDI::BooleanSolid::t_
protected

Definition at line 23 of file Boolean.h.

Referenced by t().

DDI::BooleanSolid::t_
DDTranslation t_
Definition: Boolean.h:23
DDI::BooleanSolid::r_
DDRotation r_
Definition: Boolean.h:24
DDI::BooleanSolid::b_
DDSolid b_
Definition: Boolean.h:22
DDI::BooleanSolid::r
const DDRotation & r() const
Definition: Boolean.h:19
alignCSCRings.s
s
Definition: alignCSCRings.py:92
DDI::BooleanSolid::a_
DDSolid a_
Definition: Boolean.h:22
DDI::Solid::Solid
Solid()
Definition: Solid.h:12
A
DDI::BooleanSolid::t
const DDTranslation & t() const
Definition: Boolean.h:18
TtFullHadDaughter::B
static const std::string B
Definition: TtFullHadronicEvent.h:9