CMS 3D CMS Logo

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

#include <VolumeSide.h>

Public Types

typedef SurfaceOrientation::GlobalFace GlobalFace
 
typedef SurfaceOrientation::Side Side
 
typedef ReferenceCountingPointer< SurfaceSurfacePointer
 

Public Member Functions

GlobalFace globalFace () const
 
SurfacemutableSurface () const
 
const Surfacesurface () const
 
Side surfaceSide () const
 
 VolumeSide (Surface *surf, GlobalFace gSide, Side sSide)
 
 VolumeSide (SurfacePointer surf, GlobalFace gSide, Side sSide)
 

Private Attributes

GlobalFace theGlobalFace
 
SurfacePointer theSurface
 
Side theSurfaceSide
 

Detailed Description

Class for delimiding surface of a volume. The additional information with respect to Surface that is needed to define the volume is
a) which side of the Surface the volume is (enumerator Surface::Side)
b) which face of the volume this surface represents (enumerator GlobalFace). Only 6 possible values for volume face are defined.

Definition at line 15 of file VolumeSide.h.

Member Typedef Documentation

◆ GlobalFace

Definition at line 17 of file VolumeSide.h.

◆ Side

Definition at line 18 of file VolumeSide.h.

◆ SurfacePointer

Definition at line 20 of file VolumeSide.h.

Constructor & Destructor Documentation

◆ VolumeSide() [1/2]

VolumeSide::VolumeSide ( Surface surf,
GlobalFace  gSide,
Side  sSide 
)
inline

Definition at line 22 of file VolumeSide.h.

23  : theSurface(surf), theGlobalFace(gSide), theSurfaceSide(sSide) {}
GlobalFace theGlobalFace
Definition: VolumeSide.h:38
SurfacePointer theSurface
Definition: VolumeSide.h:37
Side theSurfaceSide
Definition: VolumeSide.h:39

◆ VolumeSide() [2/2]

VolumeSide::VolumeSide ( SurfacePointer  surf,
GlobalFace  gSide,
Side  sSide 
)
inline

Definition at line 25 of file VolumeSide.h.

26  : theSurface(surf), theGlobalFace(gSide), theSurfaceSide(sSide) {}
GlobalFace theGlobalFace
Definition: VolumeSide.h:38
SurfacePointer theSurface
Definition: VolumeSide.h:37
Side theSurfaceSide
Definition: VolumeSide.h:39

Member Function Documentation

◆ globalFace()

GlobalFace VolumeSide::globalFace ( ) const
inline

Definition at line 32 of file VolumeSide.h.

References theGlobalFace.

32 { return theGlobalFace; }
GlobalFace theGlobalFace
Definition: VolumeSide.h:38

◆ mutableSurface()

Surface& VolumeSide::mutableSurface ( ) const
inline

Definition at line 28 of file VolumeSide.h.

References theSurface.

28 { return *theSurface; }
SurfacePointer theSurface
Definition: VolumeSide.h:37

◆ surface()

const Surface& VolumeSide::surface ( ) const
inline

Definition at line 30 of file VolumeSide.h.

References theSurface.

30 { return *theSurface; }
SurfacePointer theSurface
Definition: VolumeSide.h:37

◆ surfaceSide()

Side VolumeSide::surfaceSide ( ) const
inline

Definition at line 34 of file VolumeSide.h.

References theSurfaceSide.

34 { return theSurfaceSide; }
Side theSurfaceSide
Definition: VolumeSide.h:39

Member Data Documentation

◆ theGlobalFace

GlobalFace VolumeSide::theGlobalFace
private

Definition at line 38 of file VolumeSide.h.

Referenced by globalFace().

◆ theSurface

SurfacePointer VolumeSide::theSurface
private

Definition at line 37 of file VolumeSide.h.

Referenced by mutableSurface(), and surface().

◆ theSurfaceSide

Side VolumeSide::theSurfaceSide
private

Definition at line 39 of file VolumeSide.h.

Referenced by surfaceSide().