#include <RectangularBox.h>
Public Member Functions | |
RectangularBox (double xUp, double xLow, double yUp, double yLow, double zUp, double zLow) | |
virtual | ~RectangularBox () |
bool | intersect (const HepGeom::Point3D< double > &linePoint, const HepGeom::Normal3D< double > &lineSlope, HepGeom::Point3D< double > &intersectA, HepGeom::Point3D< double > &intersectB) |
double | xUp () const |
double | xLow () const |
double | yUp () const |
double | yLow () const |
double | zUp () const |
double | zLow () const |
Private Attributes | |
double | m_xUp |
Mark the upper and lower bound of each variable, x, y and z. | |
double | m_xLow |
double | m_yUp |
double | m_yLow |
double | m_zUp |
double | m_zLow |
A rectangular box representation. Calculate intersections of a line with its surfaces and other quantities.
Zhe Wang, 12 Oct. 2009 at BNL
Definition at line 21 of file RectangularBox.h.
RectangularBox::RectangularBox | ( | double | xUp, | |
double | xLow, | |||
double | yUp, | |||
double | yLow, | |||
double | zUp, | |||
double | zLow | |||
) |
RectangularBox::~RectangularBox | ( | ) | [virtual] |
bool RectangularBox::intersect | ( | const HepGeom::Point3D< double > & | linePoint, | |
const HepGeom::Normal3D< double > & | lineSlope, | |||
HepGeom::Point3D< double > & | intersectA, | |||
HepGeom::Point3D< double > & | intersectB | |||
) |
double RectangularBox::xUp | ( | ) | const [inline] |
double RectangularBox::xLow | ( | ) | const [inline] |
double RectangularBox::yUp | ( | ) | const [inline] |
double RectangularBox::yLow | ( | ) | const [inline] |
double RectangularBox::zUp | ( | ) | const [inline] |
double RectangularBox::zLow | ( | ) | const [inline] |
double RectangularBox::m_xUp [private] |
Mark the upper and lower bound of each variable, x, y and z.
Definition at line 61 of file RectangularBox.h.
double RectangularBox::m_xLow [private] |
Definition at line 61 of file RectangularBox.h.
double RectangularBox::m_yUp [private] |
Definition at line 62 of file RectangularBox.h.
double RectangularBox::m_yLow [private] |
Definition at line 62 of file RectangularBox.h.
double RectangularBox::m_zUp [private] |
Definition at line 63 of file RectangularBox.h.
double RectangularBox::m_zLow [private] |
Definition at line 63 of file RectangularBox.h.