| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

RectangularBox Class Reference

a rectangular box to represent water pool geometry More...

#include <RectangularBox.h>

List of all members.


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

Detailed Description

a rectangular box to represent water pool geometry

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.


Constructor & Destructor Documentation

RectangularBox::RectangularBox ( double  xUp,
double  xLow,
double  yUp,
double  yLow,
double  zUp,
double  zLow 
)

Definition at line 17 of file RectangularBox.cc.

00020 { 
00021   m_xUp  = xUp;
00022   m_xLow = xLow;
00023   m_yUp  = yUp;
00024   m_yLow = yLow;
00025   m_zUp  = zUp;
00026   m_zLow = zLow;
00027 }

RectangularBox::~RectangularBox (  )  [virtual]

Definition at line 30 of file RectangularBox.cc.

00031 {}


Member Function Documentation

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]

Definition at line 34 of file RectangularBox.h.

00034 { return m_xUp;  }

double RectangularBox::xLow (  )  const [inline]

Definition at line 35 of file RectangularBox.h.

00035 { return m_xLow; }

double RectangularBox::yUp (  )  const [inline]

Definition at line 37 of file RectangularBox.h.

00037 { return m_yUp;  }

double RectangularBox::yLow (  )  const [inline]

Definition at line 38 of file RectangularBox.h.

00038 { return m_yLow; }

double RectangularBox::zUp (  )  const [inline]

Definition at line 40 of file RectangularBox.h.

00040 { return m_zUp;  }

double RectangularBox::zLow (  )  const [inline]

Definition at line 41 of file RectangularBox.h.

00041 { return m_zLow; }


Member Data Documentation

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.


The documentation for this class was generated from the following files:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 21:01:52 2011 for MuonProphet by doxygen 1.4.7