CMS 3D CMS Logo

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

List of all members.

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

Protected Attributes

DDSolid a_
DDSolid b_
DDRotation r_
DDTranslation t_

Detailed Description

Definition at line 11 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.

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

Member Function Documentation

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

Definition at line 19 of file Boolean.h.

References b_.

Referenced by DDBooleanSolid::solidA().

{ return b_; }
const DDSolid& DDI::BooleanSolid::b ( ) const [inline]

Definition at line 20 of file Boolean.h.

References t_.

Referenced by DDBooleanSolid::solidB().

{ return t_; }
const DDRotation& DDI::BooleanSolid::r ( ) const [inline]

Definition at line 22 of file Boolean.h.

Referenced by DDBooleanSolid::rotation().

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

Definition at line 21 of file Boolean.h.

References r_.

Referenced by DDBooleanSolid::translation().

{ return r_; }

Member Data Documentation

Definition at line 26 of file Boolean.h.

Definition at line 26 of file Boolean.h.

Referenced by a().

Definition at line 28 of file Boolean.h.

Referenced by t().

Definition at line 27 of file Boolean.h.

Referenced by b().