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

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.

9  : Solid(s), a_(A), b_(B), t_(t), r_(r)
10 {}
DDSolid b_
Definition: Boolean.h:26
const DDTranslation & t() const
Definition: Boolean.h:22
Solid()
Definition: Solid.h:14
DDSolid a_
Definition: Boolean.h:26
DDRotation r_
Definition: Boolean.h:28
DDTranslation t_
Definition: Boolean.h:27

Member Function Documentation

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

Definition at line 20 of file Boolean.h.

References a_.

Referenced by DDBooleanSolid::solidA().

20 { return a_; }
DDSolid a_
Definition: Boolean.h:26
const DDSolid& DDI::BooleanSolid::b ( ) const
inline

Definition at line 21 of file Boolean.h.

References b_.

Referenced by DDBooleanSolid::solidB().

21 { return b_; }
DDSolid b_
Definition: Boolean.h:26
const DDRotation& DDI::BooleanSolid::r ( ) const
inline

Definition at line 23 of file Boolean.h.

References r_.

Referenced by DDBooleanSolid::rotation().

23 { return r_; }
DDRotation r_
Definition: Boolean.h:28
const DDTranslation& DDI::BooleanSolid::t ( ) const
inline

Definition at line 22 of file Boolean.h.

References t_.

Referenced by DDBooleanSolid::translation().

22 { return t_; }
DDTranslation t_
Definition: Boolean.h:27

Member Data Documentation

DDSolid DDI::BooleanSolid::a_
protected

Definition at line 26 of file Boolean.h.

Referenced by a(), and DDI::MultiUnion::solids().

DDSolid DDI::BooleanSolid::b_
protected

Definition at line 26 of file Boolean.h.

Referenced by b().

DDRotation DDI::BooleanSolid::r_
protected

Definition at line 28 of file Boolean.h.

Referenced by r(), and DDI::MultiUnion::r().

DDTranslation DDI::BooleanSolid::t_
protected

Definition at line 27 of file Boolean.h.

Referenced by t(), and DDI::MultiUnion::t().