Main Page
Namespaces
Classes
Package Documentation
DataFormats
GeometrySurface
interface
BoundingBox.h
Go to the documentation of this file.
1
#ifndef BoundingBox_H
2
#define BoundingBox_H
3
4
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
5
#include <vector>
6
7
class
Plane
;
8
12
class
BoundingBox
{
13
public
:
14
15
BoundingBox
(){}
16
BoundingBox
(
const
Plane
& plane);
17
18
// old interface
19
static
std::vector<GlobalPoint>
corners
(
const
Plane
&);
20
21
22
GlobalPoint
const
&
operator[]
(
unsigned
int
i
)
const
{
23
return
m_corners
[
i
];
24
}
25
GlobalPoint
const
&
corner
(
unsigned
int
i
)
const
{
26
return
m_corners
[
i
];
27
}
28
29
30
private
:
31
32
33
GlobalPoint
m_corners
[8];
34
35
};
36
37
#endif
BoundingBox
Definition:
BoundingBox.h:12
BoundingBox::corner
GlobalPoint const & corner(unsigned int i) const
Definition:
BoundingBox.h:25
mps_fire.i
i
Definition:
mps_fire.py:269
BoundingBox::operator[]
GlobalPoint const & operator[](unsigned int i) const
Definition:
BoundingBox.h:22
Plane
Definition:
Plane.h:17
BoundingBox::BoundingBox
BoundingBox()
Definition:
BoundingBox.h:15
BoundingBox::corners
static std::vector< GlobalPoint > corners(const Plane &)
Definition:
BoundingBox.cc:24
Point3DBase< float, GlobalTag >
BoundingBox::m_corners
GlobalPoint m_corners[8]
Definition:
BoundingBox.h:33
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.11