CMS 3D CMS Logo

BoundingBox.h
Go to the documentation of this file.
1 #ifndef BoundingBox_H
2 #define BoundingBox_H
3 
5 #include <vector>
6 
7 class Plane;
8 
12 class BoundingBox {
13 public:
15  BoundingBox(const Plane& plane);
16 
17  // old interface
18  static std::vector<GlobalPoint> corners(const Plane&);
19 
20  GlobalPoint const& operator[](unsigned int i) const { return m_corners[i]; }
21  GlobalPoint const& corner(unsigned int i) const { return m_corners[i]; }
22 
23 private:
25 };
26 
27 #endif
GlobalPoint const & corner(unsigned int i) const
Definition: BoundingBox.h:21
GlobalPoint const & operator[](unsigned int i) const
Definition: BoundingBox.h:20
Definition: Plane.h:16
static std::vector< GlobalPoint > corners(const Plane &)
Definition: BoundingBox.cc:20
GlobalPoint m_corners[8]
Definition: BoundingBox.h:24