CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
CocoaSolidShapeBox Class Reference

#include <CocoaSolidShapeBox.h>

Inheritance diagram for CocoaSolidShapeBox:
CocoaSolidShape

Public Member Functions

 CocoaSolidShapeBox (ALIstring type, ALIfloat xdim, ALIfloat ydim, ALIfloat zdim)
 
ALIfloat getXHalfLength () const
 
ALIfloat getYHalfLength () const
 
ALIfloat getZHalfLength () const
 
 ~CocoaSolidShapeBox () override
 
- Public Member Functions inherited from CocoaSolidShape
 CocoaSolidShape (ALIstring type)
 
ALIstring getType () const
 
virtual ~CocoaSolidShape ()
 

Private Attributes

ALIfloat theXHalfLength
 
ALIfloat theYHalfLength
 
ALIfloat theZHalfLength
 

Detailed Description

Definition at line 13 of file CocoaSolidShapeBox.h.

Constructor & Destructor Documentation

◆ CocoaSolidShapeBox()

CocoaSolidShapeBox::CocoaSolidShapeBox ( ALIstring  type,
ALIfloat  xdim,
ALIfloat  ydim,
ALIfloat  zdim 
)

Definition at line 12 of file CocoaSolidShapeBox.cc.

References theXHalfLength, theYHalfLength, and theZHalfLength.

14  theXHalfLength = xdim;
15  theYHalfLength = ydim;
16  theZHalfLength = zdim;
17 }
CocoaSolidShape(ALIstring type)

◆ ~CocoaSolidShapeBox()

CocoaSolidShapeBox::~CocoaSolidShapeBox ( )
inlineoverride

Definition at line 17 of file CocoaSolidShapeBox.h.

17 {};

Member Function Documentation

◆ getXHalfLength()

ALIfloat CocoaSolidShapeBox::getXHalfLength ( ) const
inline

Definition at line 19 of file CocoaSolidShapeBox.h.

References theXHalfLength.

Referenced by CocoaToDDLMgr::so().

19 { return theXHalfLength; }

◆ getYHalfLength()

ALIfloat CocoaSolidShapeBox::getYHalfLength ( ) const
inline

Definition at line 20 of file CocoaSolidShapeBox.h.

References theYHalfLength.

Referenced by CocoaToDDLMgr::so().

20 { return theYHalfLength; }

◆ getZHalfLength()

ALIfloat CocoaSolidShapeBox::getZHalfLength ( ) const
inline

Definition at line 21 of file CocoaSolidShapeBox.h.

References theZHalfLength.

Referenced by CocoaToDDLMgr::so().

21 { return theZHalfLength; }

Member Data Documentation

◆ theXHalfLength

ALIfloat CocoaSolidShapeBox::theXHalfLength
private

Definition at line 24 of file CocoaSolidShapeBox.h.

Referenced by CocoaSolidShapeBox(), and getXHalfLength().

◆ theYHalfLength

ALIfloat CocoaSolidShapeBox::theYHalfLength
private

Definition at line 25 of file CocoaSolidShapeBox.h.

Referenced by CocoaSolidShapeBox(), and getYHalfLength().

◆ theZHalfLength

ALIfloat CocoaSolidShapeBox::theZHalfLength
private

Definition at line 26 of file CocoaSolidShapeBox.h.

Referenced by CocoaSolidShapeBox(), and getZHalfLength().