#include <BoundingBox.h>
Public Member Functions | |
BoundingBox () | |
BoundingBox (const BoundPlane &plane) | |
GlobalPoint const & | corner (unsigned int i) const |
GlobalPoint const & | operator[] (unsigned int i) const |
Static Public Member Functions | |
static std::vector< GlobalPoint > | corners (const BoundPlane &) |
Private Attributes | |
GlobalPoint | m_corners [8] |
A helper class that returns the corners of a rectangle that fully contains a bound plane.
Definition at line 12 of file BoundingBox.h.
|
inline |
Definition at line 15 of file BoundingBox.h.
BoundingBox::BoundingBox | ( | const BoundPlane & | plane | ) |
Definition at line 6 of file BoundingBox.cc.
References BoundSurface::bounds(), Bounds::length(), m_corners, Bounds::thickness(), Surface::toGlobal(), and Bounds::width().
|
inline |
Definition at line 25 of file BoundingBox.h.
|
static |
Definition at line 24 of file BoundingBox.cc.
References BoundSurface::bounds(), Bounds::length(), query::result, Bounds::thickness(), Surface::toGlobal(), and Bounds::width().
Referenced by RodPlaneBuilderFromDet::computeBounds(), BladeShapeBuilderFromDet::computeBounds(), ForwardRingDiskBuilderFromDet::computeBounds(), PlaneBuilderForGluedDet::computeRectBounds(), ForwardDetLayer::computeSurface(), BarrelDetLayer::computeSurface(), CylinderBuilderFromDet::operator()(), and PhiBorderFinder::PhiBorderFinder().
|
inline |
Definition at line 22 of file BoundingBox.h.
|
private |
Definition at line 33 of file BoundingBox.h.
Referenced by BoundingBox(), corner(), and operator[]().