CMS 3D CMS Logo

VolumeSide.h
Go to the documentation of this file.
1 #ifndef VolumeSide_H
2 #define VolumeSide_H
3 
6 
15 class VolumeSide {
16 public:
19 
21 
22  VolumeSide(Surface* surf, GlobalFace gSide, Side sSide)
23  : theSurface(surf), theGlobalFace(gSide), theSurfaceSide(sSide) {}
24 
26  : theSurface(surf), theGlobalFace(gSide), theSurfaceSide(sSide) {}
27 
28  Surface& mutableSurface() const { return *theSurface; }
29 
30  const Surface& surface() const { return *theSurface; }
31 
32  GlobalFace globalFace() const { return theGlobalFace; }
33 
34  Side surfaceSide() const { return theSurfaceSide; }
35 
36 private:
40 };
41 
42 #endif
GlobalFace globalFace() const
Definition: VolumeSide.h:32
VolumeSide(SurfacePointer surf, GlobalFace gSide, Side sSide)
Definition: VolumeSide.h:25
Side surfaceSide() const
Definition: VolumeSide.h:34
GlobalFace theGlobalFace
Definition: VolumeSide.h:38
Surface & mutableSurface() const
Definition: VolumeSide.h:28
SurfacePointer theSurface
Definition: VolumeSide.h:37
SurfaceOrientation::Side Side
Definition: VolumeSide.h:18
const Surface & surface() const
Definition: VolumeSide.h:30
ReferenceCountingPointer< Surface > SurfacePointer
Definition: VolumeSide.h:20
SurfaceOrientation::GlobalFace GlobalFace
Definition: VolumeSide.h:17
VolumeSide(Surface *surf, GlobalFace gSide, Side sSide)
Definition: VolumeSide.h:22
Side theSurfaceSide
Definition: VolumeSide.h:39