CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 10 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 3 of file Boolean.cc.

7  : Solid(s), a_(A), b_(B), t_(t), r_(r)
8  { }
DDSolid b_
Definition: Boolean.h:25
const DDTranslation & t() const
Definition: Boolean.h:20
Solid()
Definition: Solid.h:14
DDSolid a_
Definition: Boolean.h:25
DDRotation r_
Definition: Boolean.h:27
DDTranslation t_
Definition: Boolean.h:26

Member Function Documentation

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

Definition at line 18 of file Boolean.h.

References a_.

Referenced by DDBooleanSolid::solidA().

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

Definition at line 19 of file Boolean.h.

References b_.

Referenced by DDBooleanSolid::solidB().

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

Definition at line 21 of file Boolean.h.

References r_.

Referenced by DDBooleanSolid::rotation().

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

Definition at line 20 of file Boolean.h.

References t_.

Referenced by DDBooleanSolid::translation().

20 { return t_; }
DDTranslation t_
Definition: Boolean.h:26

Member Data Documentation

DDSolid DDI::BooleanSolid::a_
protected

Definition at line 25 of file Boolean.h.

Referenced by a().

DDSolid DDI::BooleanSolid::b_
protected

Definition at line 25 of file Boolean.h.

Referenced by b().

DDRotation DDI::BooleanSolid::r_
protected

Definition at line 27 of file Boolean.h.

Referenced by r().

DDTranslation DDI::BooleanSolid::t_
protected

Definition at line 26 of file Boolean.h.

Referenced by t().