CMS 3D CMS Logo

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

#include <Boolean.h>

Inheritance diagram for DDI::MultiUnion:
DDI::Solid

Public Member Functions

 MultiUnion (const std::vector< DDSolid > &a, const std::vector< DDTranslation > &t, const std::vector< DDRotation > &r)
 
const std::vector< DDRotation > & r () const
 
const std::vector< DDSolid > & solids () const
 
const std::vector< DDTranslation > & t () 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

std::vector< DDSolida_
 
std::vector< DDRotationr_
 
std::vector< DDTranslationt_
 
- Protected Attributes inherited from DDI::Solid
std::vector< double > p_
 
DDSolidShape shape_
 

Detailed Description

Definition at line 31 of file Boolean.h.

Constructor & Destructor Documentation

DDI::MultiUnion::MultiUnion ( const std::vector< DDSolid > &  a,
const std::vector< DDTranslation > &  t,
const std::vector< DDRotation > &  r 
)

Definition at line 12 of file Boolean.cc.

15  : Solid(ddmultiunion), a_(a), t_(t), r_(r)
16 {}
std::vector< DDTranslation > t_
Definition: Boolean.h:44
const std::vector< DDTranslation > & t() const
Definition: Boolean.h:39
std::vector< DDSolid > a_
Definition: Boolean.h:43
Solid()
Definition: Solid.h:14
double a
Definition: hdecay.h:121
const std::vector< DDRotation > & r() const
Definition: Boolean.h:40
std::vector< DDRotation > r_
Definition: Boolean.h:45

Member Function Documentation

const std::vector<DDRotation>& DDI::MultiUnion::r ( ) const
inline

Definition at line 40 of file Boolean.h.

References DDI::BooleanSolid::r_.

Referenced by DDMultiUnionSolid::rotations().

40 { return r_; }
std::vector< DDRotation > r_
Definition: Boolean.h:45
const std::vector<DDSolid>& DDI::MultiUnion::solids ( void  ) const
inline

Definition at line 38 of file Boolean.h.

References DDI::BooleanSolid::a_.

Referenced by DDMultiUnionSolid::solids().

38 { return a_; }
std::vector< DDSolid > a_
Definition: Boolean.h:43
const std::vector<DDTranslation>& DDI::MultiUnion::t ( ) const
inline

Definition at line 39 of file Boolean.h.

References DDI::BooleanSolid::t_.

Referenced by DDMultiUnionSolid::translations().

39 { return t_; }
std::vector< DDTranslation > t_
Definition: Boolean.h:44

Member Data Documentation

std::vector<DDSolid> DDI::MultiUnion::a_
protected

Definition at line 43 of file Boolean.h.

std::vector<DDRotation> DDI::MultiUnion::r_
protected

Definition at line 45 of file Boolean.h.

std::vector<DDTranslation> DDI::MultiUnion::t_
protected

Definition at line 44 of file Boolean.h.