\section{Ki\-Track\-:\-:Crit4\-\_\-\-No\-Zig\-Zag Class Reference}
\label{classKiTrack_1_1Crit4__NoZigZag}\index{Ki\-Track\-::\-Crit4\-\_\-\-No\-Zig\-Zag@{Ki\-Track\-::\-Crit4\-\_\-\-No\-Zig\-Zag}}


Criterion\-: forbids zig zagging\-: measure the angles in the xy plane, transpose them to the range from -\/pi to pi and multiply\-: if there is a zigzag, the sign of the angle switches and the product of both angles becomes negative.  




{\ttfamily \#include $<$Crit4\-\_\-\-No\-Zig\-Zag.\-h$>$}

Inheritance diagram for Ki\-Track\-:\-:Crit4\-\_\-\-No\-Zig\-Zag\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classKiTrack_1_1Crit4__NoZigZag}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Crit4\-\_\-\-No\-Zig\-Zag} (float prod\-Min, float prod\-Max)
\item 
virtual bool {\bf are\-Compatible} ({\bf Segment} $\ast$parent, {\bf Segment} $\ast$child)  throw ( Bad\-Segment\-Length )
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
Criterion\-: forbids zig zagging\-: measure the angles in the xy plane, transpose them to the range from -\/pi to pi and multiply\-: if there is a zigzag, the sign of the angle switches and the product of both angles becomes negative. 

\subsection{Constructor \& Destructor Documentation}
\index{Ki\-Track\-::\-Crit4\-\_\-\-No\-Zig\-Zag@{Ki\-Track\-::\-Crit4\-\_\-\-No\-Zig\-Zag}!Crit4\-\_\-\-No\-Zig\-Zag@{Crit4\-\_\-\-No\-Zig\-Zag}}
\index{Crit4\-\_\-\-No\-Zig\-Zag@{Crit4\-\_\-\-No\-Zig\-Zag}!KiTrack::Crit4_NoZigZag@{Ki\-Track\-::\-Crit4\-\_\-\-No\-Zig\-Zag}}
\subsubsection[{Crit4\-\_\-\-No\-Zig\-Zag}]{\setlength{\rightskip}{0pt plus 5cm}Crit4\-\_\-\-No\-Zig\-Zag\-::\-Crit4\-\_\-\-No\-Zig\-Zag (
\begin{DoxyParamCaption}
\item[{float}]{prod\-Min, }
\item[{float}]{prod\-Max}
\end{DoxyParamCaption}
)}\label{classKiTrack_1_1Crit4__NoZigZag_ad836899d4d6f649e6da17ff4ca8675bf}

\begin{DoxyParams}{Parameters}
{\em prod\-Min} & the minimum product of the two angles in degrees\\
\hline
{\em prod\-Max} & the maxinum product of the two angles in degrees \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\index{Ki\-Track\-::\-Crit4\-\_\-\-No\-Zig\-Zag@{Ki\-Track\-::\-Crit4\-\_\-\-No\-Zig\-Zag}!are\-Compatible@{are\-Compatible}}
\index{are\-Compatible@{are\-Compatible}!KiTrack::Crit4_NoZigZag@{Ki\-Track\-::\-Crit4\-\_\-\-No\-Zig\-Zag}}
\subsubsection[{are\-Compatible}]{\setlength{\rightskip}{0pt plus 5cm}bool Crit4\-\_\-\-No\-Zig\-Zag\-::are\-Compatible (
\begin{DoxyParamCaption}
\item[{{\bf Segment} $\ast$}]{parent, }
\item[{{\bf Segment} $\ast$}]{child}
\end{DoxyParamCaption}
) throw  {\bf Bad\-Segment\-Length}) \hspace{0.3cm}{\ttfamily [virtual]}}\label{classKiTrack_1_1Crit4__NoZigZag_a6e7a4a1b615d7d876e32e586bc577010}
\begin{DoxyReturn}{Returns}
If the two Segments are compatible with each other, i.\-e. could be combined to a longer \doxyref{Segment}{p.}{classKiTrack_1_1Segment} or a track. 
\end{DoxyReturn}


Implements {\bf Ki\-Track\-::\-I\-Criterion} \doxyref{}{p.}{classKiTrack_1_1ICriterion_ab5b749cf9e9798222f369fbe3bd2ccc1}.



References Ki\-Track\-::\-I\-Hit\-::get\-X(), Ki\-Track\-::\-I\-Hit\-::get\-Y(), and Ki\-Track\-::\-I\-Hit\-::get\-Z().



The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Crit4\-\_\-\-No\-Zig\-Zag.\-h\item 
Crit4\-\_\-\-No\-Zig\-Zag.\-cc\end{DoxyCompactItemize}
