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
BoundingBox
() {}
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
:
24
GlobalPoint
m_corners
[8];
25
};
26
27
#endif
BoundingBox
Definition:
BoundingBox.h:12
BoundingBox::corner
GlobalPoint const & corner(unsigned int i) const
Definition:
BoundingBox.h:21
mps_fire.i
i
Definition:
mps_fire.py:341
BoundingBox::operator[]
GlobalPoint const & operator[](unsigned int i) const
Definition:
BoundingBox.h:20
Plane
Definition:
Plane.h:16
BoundingBox::BoundingBox
BoundingBox()
Definition:
BoundingBox.h:14
BoundingBox::corners
static std::vector< GlobalPoint > corners(const Plane &)
Definition:
BoundingBox.cc:20
Point3DBase< float, GlobalTag >
BoundingBox::m_corners
GlobalPoint m_corners[8]
Definition:
BoundingBox.h:24
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.11