test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SurfaceAndBounds.h
Go to the documentation of this file.
1 #ifndef SurfaceAndBounds_H
2 #define SurfaceAndBounds_H
3 
5 
6 class NavSurface;
7 class Bounds;
8 
10 
11  public:
12 
13 
17 
18  SurfaceAndBounds( const NavSurface* navsurf, const Bounds* bounds, Side side, GlobalFace face) :
19  theNavSurfaceP(navsurf) , theBoundsP(bounds) , theSide(side) , theGlobalFace(face) { };
20 
21  // Default constructor needed in /usr/include/c++/3.2.3/bits/stl_map.h:225 --> to use SurfaceAndBounds in sorted container
22  // SurfaceAndBounds() : theNavSurfaceP(0) , theBoundsP(0) ,
23  // theSide(SurfaceOrientation::onSurface) , theGlobalFace(SurfaceOrientation::outer) {};
24  //
26 
27 
29  const NavSurface& surface() const {return *theNavSurfaceP ;}
30 
32  const Bounds& bounds() const {return *theBoundsP ;}
33 
35  const SurfaceOrientation::Side side() const {return theSide;}
36 
38 
39 
40  private:
41 
46 
47 };
48 
49 #endif
SurfaceAndBounds(const NavSurface *navsurf, const Bounds *bounds, Side side, GlobalFace face)
SurfaceOrientation::GlobalFace GlobalFace
const SurfaceOrientation::Side side() const
Access to actual NavSurface pointer.
ConstReferenceCountingPointer< NavSurface > NavSurfacePointer
NavSurfacePointer theNavSurfaceP
GlobalFace theGlobalFace
const NavSurface & surface() const
Access to actual NavSurface pointer.
SurfaceOrientation::Side Side
const Bounds & bounds() const
Access to actual Bounds pointer.
Definition: Bounds.h:22
const Bounds * theBoundsP