CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 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.

6  : Solid(s), a_(A), b_(B), t_(t), r_(r) {}
DDSolid b_
Definition: Boolean.h:22
const DDTranslation & t() const
Definition: Boolean.h:18
Solid()
Definition: Solid.h:12
DDSolid a_
Definition: Boolean.h:22
DDRotation r_
Definition: Boolean.h:24
DDTranslation t_
Definition: Boolean.h:23

Member Function Documentation

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

Definition at line 16 of file Boolean.h.

References a_.

Referenced by DDBooleanSolid::solidA().

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

Definition at line 17 of file Boolean.h.

References b_.

Referenced by DDBooleanSolid::solidB().

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

Definition at line 19 of file Boolean.h.

References r_.

Referenced by DDBooleanSolid::rotation().

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

Definition at line 18 of file Boolean.h.

References t_.

Referenced by DDBooleanSolid::translation().

18 { return t_; }
DDTranslation t_
Definition: Boolean.h:23

Member Data Documentation

DDSolid DDI::BooleanSolid::a_
protected

Definition at line 22 of file Boolean.h.

Referenced by a().

DDSolid DDI::BooleanSolid::b_
protected

Definition at line 22 of file Boolean.h.

Referenced by b().

DDRotation DDI::BooleanSolid::r_
protected

Definition at line 24 of file Boolean.h.

Referenced by r().

DDTranslation DDI::BooleanSolid::t_
protected

Definition at line 23 of file Boolean.h.

Referenced by t().