\section{gear\-:\-:Boundary\-Rectangle Class Reference}
\label{classgear_1_1BoundaryRectangle}\index{gear\-::\-Boundary\-Rectangle@{gear\-::\-Boundary\-Rectangle}}


A class for boundaries of a rectangle.  




{\ttfamily \#include $<$Boundary\-Rectangle.\-h$>$}

Inheritance diagram for gear\-:\-:Boundary\-Rectangle\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classgear_1_1BoundaryRectangle}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Boundary\-Rectangle} (double width, double length, double delta\-W, double alpha=0.)
\item 
virtual bool {\bf is\-In\-Boundary} (C\-L\-H\-E\-P\-::\-Hep3\-Vector local) const 
\end{DoxyCompactItemize}


\subsection{Detailed Description}
A class for boundaries of a rectangle. 

The rectangle is assumed to be in the u,v plane (u,v being local coordinates). So w should be relatively small to lie within the boundary. The center of the coordinate system is assumed to be in the center of the rectangle. A basic rectangle would have its legnth parallel with v and its width parallel with u. However, the rectangle might be rotated as well around its center. 

Definition at line 15 of file Boundary\-Rectangle.\-h.



\subsection{Constructor \& Destructor Documentation}
\index{gear\-::\-Boundary\-Rectangle@{gear\-::\-Boundary\-Rectangle}!Boundary\-Rectangle@{Boundary\-Rectangle}}
\index{Boundary\-Rectangle@{Boundary\-Rectangle}!gear::BoundaryRectangle@{gear\-::\-Boundary\-Rectangle}}
\subsubsection[{Boundary\-Rectangle}]{\setlength{\rightskip}{0pt plus 5cm}gear\-::\-Boundary\-Rectangle\-::\-Boundary\-Rectangle (
\begin{DoxyParamCaption}
\item[{double}]{width, }
\item[{double}]{length, }
\item[{double}]{delta\-W, }
\item[{double}]{alpha = {\ttfamily 0.}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\label{classgear_1_1BoundaryRectangle_a7eaf0cf1b69e435a3cb7a3b4bd8898d0}

\begin{DoxyParams}{Parameters}
{\em width} & the width of the rectangle\-: u must lie between +-\/ width/2.\\
\hline
{\em length} & the length of the rectange\-: v must lie between +-\/ length/2\\
\hline
{\em delta\-W} & the maximum value of $\vert$w$\vert$ to be within boundary\\
\hline
{\em alpha} & how much the rectangle is rotated around the w axis. (counterclockwise as usual) \\
\hline
\end{DoxyParams}


Definition at line 27 of file Boundary\-Rectangle.\-h.



\subsection{Member Function Documentation}
\index{gear\-::\-Boundary\-Rectangle@{gear\-::\-Boundary\-Rectangle}!is\-In\-Boundary@{is\-In\-Boundary}}
\index{is\-In\-Boundary@{is\-In\-Boundary}!gear::BoundaryRectangle@{gear\-::\-Boundary\-Rectangle}}
\subsubsection[{is\-In\-Boundary}]{\setlength{\rightskip}{0pt plus 5cm}bool gear\-::\-Boundary\-Rectangle\-::is\-In\-Boundary (
\begin{DoxyParamCaption}
\item[{C\-L\-H\-E\-P\-::\-Hep3\-Vector}]{local}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classgear_1_1BoundaryRectangle_a430dd32ddae9d930feb4b8a2b484efdd}

\begin{DoxyParams}{Parameters}
{\em local} & the local coordinates of a point to be checked\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
wether the point is inside the boundary 
\end{DoxyReturn}


Implements {\bf gear\-::\-I\-Boundary} \doxyref{}{p.}{classgear_1_1IBoundary_a71dd844b704d5d2c1f2165d4e0a02303}.



Definition at line 8 of file Boundary\-Rectangle.\-cc.



The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Boundary\-Rectangle.\-h\item 
Boundary\-Rectangle.\-cc\end{DoxyCompactItemize}
