EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EicCadWizardSphere Class Reference

#include <EicRoot/blob/master/eic/cad/wizard/EicCadWizardSphere.h>

+ Inheritance diagram for EicCadWizardSphere:
+ Collaboration diagram for EicCadWizardSphere:

Public Member Functions

 EicCadWizardSphere (const gp_Sphere &sphere)
 
 ~EicCadWizardSphere ()
 
bool IsEqual (const EicCadWizardCut *cut) const
 
TGeoCombiTrans * BuildRootVolume (const char *vname, const char *tname)
 
- Public Member Functions inherited from EicCadWizardCut
 EicCadWizardCut ()
 
 ~EicCadWizardCut ()
 
const TopoDS_Shape & GetSolid (void) const
 
void IncrementMultiplicity (void)
 
unsigned GetMultiplicity (void) const
 
void AddCommonSolid (TopoDS_Shape *solid)
 
void AddCutSolid (TopoDS_Shape *solid)
 
unsigned GetCommonSolidsCount (void) const
 
unsigned GetCutSolidsCount (void) const
 

Private Attributes

gp_Sphere * mSphere
 

Additional Inherited Members

- Public Attributes inherited from EicCadWizardCut
std::vector< TopoDS_Shape * > mCutSolids
 
std::vector< TopoDS_Shape * > mCommonSolids
 
- Protected Attributes inherited from EicCadWizardCut
double mDimension
 
TopoDS_Shape * mSolid
 
unsigned mMultiplicity
 

Detailed Description

Definition at line 9 of file EicCadWizardSphere.h.

View newest version in sPHENIX GitHub at line 9 of file EicCadWizardSphere.h

Constructor & Destructor Documentation

EicCadWizardSphere::EicCadWizardSphere ( const gp_Sphere &  sphere)

Definition at line 13 of file EicCadWizardSphere.cxx.

View newest version in sPHENIX GitHub at line 13 of file EicCadWizardSphere.cxx

References EicCadWizardCut::mSolid, and mSphere.

EicCadWizardSphere::~EicCadWizardSphere ( )
inline

Definition at line 12 of file EicCadWizardSphere.h.

View newest version in sPHENIX GitHub at line 12 of file EicCadWizardSphere.h

Member Function Documentation

TGeoCombiTrans * EicCadWizardSphere::BuildRootVolume ( const char *  vname,
const char *  tname 
)
virtual

Implements EicCadWizardCut.

Definition at line 46 of file EicCadWizardSphere.cxx.

View newest version in sPHENIX GitHub at line 46 of file EicCadWizardSphere.cxx

References mSphere.

bool EicCadWizardSphere::IsEqual ( const EicCadWizardCut cut) const
virtual

Implements EicCadWizardCut.

Definition at line 22 of file EicCadWizardSphere.cxx.

View newest version in sPHENIX GitHub at line 22 of file EicCadWizardSphere.cxx

References _SPATIAL_TOLERANCE_, mSphere, and SQR.

Member Data Documentation

gp_Sphere* EicCadWizardSphere::mSphere
private

Definition at line 18 of file EicCadWizardSphere.h.

View newest version in sPHENIX GitHub at line 18 of file EicCadWizardSphere.h

Referenced by BuildRootVolume(), EicCadWizardSphere(), and IsEqual().


The documentation for this class was generated from the following files: