CMS 3D CMS Logo

DDBooleanSolid Class Reference

#include <DetectorDescription/Core/interface/DDSolid.h>

Inheritance diagram for DDBooleanSolid:

DDSolid DDBase< DDName, DDI::Solid * > DDIntersection DDSubtraction DDUnion

List of all members.

Public Member Functions

 DDBooleanSolid (const DDSolid &s)
DDRotation rotation () const
DDSolid solidA () const
DDSolid solidB () const
DDTranslation translation () const

Private Member Functions

 DDBooleanSolid ()

Private Attributes

DDI::BooleanSolidboolean_


Detailed Description

Definition at line 218 of file DDSolid.h.


Constructor & Destructor Documentation

DDBooleanSolid::DDBooleanSolid ( const DDSolid s  ) 

Definition at line 511 of file DDSolid.cc.

References boolean_, and DDBase< N, C >::rep().

00512  : DDSolid(s), boolean_(0)
00513 {
00514   boolean_ = dynamic_cast<DDI::BooleanSolid*>(&s.rep());
00515 }

DDBooleanSolid::DDBooleanSolid (  )  [private]


Member Function Documentation

DDRotation DDBooleanSolid::rotation ( void   )  const

Definition at line 518 of file DDSolid.cc.

References boolean_, and DDI::BooleanSolid::r().

Referenced by SolidsForOnline::beginJob(), dd_stream_booleans(), DDG4SolidConverter::intersection(), DDDToPersFactory::solid(), DDG4SolidConverter::subtraction(), and DDG4SolidConverter::unionsolid().

00519 {
00520   return boolean_->r();
00521 }

DDSolid DDBooleanSolid::solidA (  )  const

Definition at line 528 of file DDSolid.cc.

References DDI::BooleanSolid::a(), and boolean_.

Referenced by SolidsForOnline::beginJob(), CSCGeometryBuilderFromDDD::buildEndcaps(), dd_stream_booleans(), DTGeometryBuilderFromDDD::extractParameters(), DDG4SolidConverter::intersection(), DDErrorDetection::so(), DDDToPersFactory::solid(), DDG4SolidConverter::subtraction(), and DDG4SolidConverter::unionsolid().

00529 {
00530   return boolean_->a();
00531 }

DDSolid DDBooleanSolid::solidB (  )  const

Definition at line 533 of file DDSolid.cc.

References DDI::BooleanSolid::b(), and boolean_.

Referenced by SolidsForOnline::beginJob(), dd_stream_booleans(), DDG4SolidConverter::intersection(), DDErrorDetection::so(), DDDToPersFactory::solid(), DDG4SolidConverter::subtraction(), and DDG4SolidConverter::unionsolid().

00534 {
00535   return boolean_->b();
00536 }

DDTranslation DDBooleanSolid::translation ( void   )  const

Definition at line 523 of file DDSolid.cc.

References boolean_, and DDI::BooleanSolid::t().

Referenced by SolidsForOnline::beginJob(), dd_stream_booleans(), DDG4SolidConverter::intersection(), DDG4SolidConverter::subtraction(), and DDG4SolidConverter::unionsolid().

00524 {
00525   return boolean_->t();
00526 }


Member Data Documentation

DDI::BooleanSolid* DDBooleanSolid::boolean_ [private]

Definition at line 228 of file DDSolid.h.

Referenced by DDBooleanSolid(), rotation(), solidA(), solidB(), and translation().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:17:46 2009 for CMSSW by  doxygen 1.5.4