\section{gear\-:\-:Boundary\-Trapezoid Class Reference}
\label{classgear_1_1BoundaryTrapezoid}\index{gear\-::\-Boundary\-Trapezoid@{gear\-::\-Boundary\-Trapezoid}}


A class for boundaries of a trapzoid.  




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

Inheritance diagram for gear\-:\-:Boundary\-Trapezoid\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classgear_1_1BoundaryTrapezoid}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Boundary\-Trapezoid} (double base\-Bottom, double base\-Top, double height, double delta\-W, double alpha)
\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 trapzoid. 

The trapezoid 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 trapezoid. Also the trapezoid is supposed to be symmetric around its height. A basic trapezoid would have its bases parallel with v and its height parallel with u. The trapezoid might be rotated around its center. 

Definition at line 17 of file Boundary\-Trapezoid.\-h.



\subsection{Constructor \& Destructor Documentation}
\index{gear\-::\-Boundary\-Trapezoid@{gear\-::\-Boundary\-Trapezoid}!Boundary\-Trapezoid@{Boundary\-Trapezoid}}
\index{Boundary\-Trapezoid@{Boundary\-Trapezoid}!gear::BoundaryTrapezoid@{gear\-::\-Boundary\-Trapezoid}}
\subsubsection[{Boundary\-Trapezoid}]{\setlength{\rightskip}{0pt plus 5cm}gear\-::\-Boundary\-Trapezoid\-::\-Boundary\-Trapezoid (
\begin{DoxyParamCaption}
\item[{double}]{base\-Bottom, }
\item[{double}]{base\-Top, }
\item[{double}]{height, }
\item[{double}]{delta\-W, }
\item[{double}]{alpha}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\label{classgear_1_1BoundaryTrapezoid_a68976b6f2518206600768376ba0f23b8}

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


Definition at line 31 of file Boundary\-Trapezoid.\-h.



\subsection{Member Function Documentation}
\index{gear\-::\-Boundary\-Trapezoid@{gear\-::\-Boundary\-Trapezoid}!is\-In\-Boundary@{is\-In\-Boundary}}
\index{is\-In\-Boundary@{is\-In\-Boundary}!gear::BoundaryTrapezoid@{gear\-::\-Boundary\-Trapezoid}}
\subsubsection[{is\-In\-Boundary}]{\setlength{\rightskip}{0pt plus 5cm}bool gear\-::\-Boundary\-Trapezoid\-::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_1BoundaryTrapezoid_af8717a92dbab0af0552d4b471754cb49}

\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 7 of file Boundary\-Trapezoid.\-cc.



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