\hypertarget{UnitsGroup_8cpp}{\section{\-Snippy\-Hollo\-W-\/\-Broodwar\-Bot\-Q-\/f01ab56/src/\-Micro/\-Units\-Group.cpp \-File \-Reference}
\label{UnitsGroup_8cpp}\index{\-Snippy\-Hollo\-W-\/\-Broodwar\-Bot\-Q-\/f01ab56/src/\-Micro/\-Units\-Group.\-cpp@{\-Snippy\-Hollo\-W-\/\-Broodwar\-Bot\-Q-\/f01ab56/src/\-Micro/\-Units\-Group.\-cpp}}
}
{\ttfamily \#include $<$\-Precompiled\-Header.\-h$>$}\*
{\ttfamily \#include $<$\-Defines.\-h$>$}\*
{\ttfamily \#include \char`\"{}\-Micro/\-Units\-Group.\-h\char`\"{}}\*
{\ttfamily \#include $<$\-Position.\-h$>$}\*
{\ttfamily \#include \char`\"{}\-Utils/\-Util.\-h\char`\"{}}\*
{\ttfamily \#include $<$stack$>$}\*
{\ttfamily \#include $<$typeinfo$>$}\*
\-Include dependency graph for \-Units\-Group.\-cpp\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{UnitsGroup_8cpp__incl}
\end{center}
\end{figure}
\subsection*{\-Defines}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{UnitsGroup_8cpp_aa32b8a901942f5967fedebdb2e4397de}{\-\_\-\-\_\-\-M\-A\-X\-\_\-\-D\-I\-S\-T\-A\-N\-C\-E\-\_\-\-T\-O\-\_\-\-G\-R\-O\-U\-P\-\_\-\-\_\-}~512
\end{DoxyCompactItemize}
\subsection*{\-Functions}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{UnitsGroup_8cpp_a1c469f80dc66c5c924c90a1e0913af2f}{round} (double a)
\item 
bool \hyperlink{UnitsGroup_8cpp_a918f7751179c0991472c60a74448792f}{comp\-\_\-i\-\_\-dist} (const \hyperlink{structi__dist}{i\-\_\-dist} \&l, const \hyperlink{structi__dist}{i\-\_\-dist} \&r)
\item 
void \hyperlink{UnitsGroup_8cpp_a490dbbcea9abbafd8faad7cb2f4ba44e}{simple\-\_\-align} (std\-::vector$<$ \-Position $>$ \&from, std\-::vector$<$ unsigned int $>$ \&alignment)
\item 
void \hyperlink{UnitsGroup_8cpp_a3d7b2501a7188c109831fca1e2d85604}{mid\-\_\-based\-\_\-align} (const std\-::vector$<$ \-Position $>$ \&from, const std\-::vector$<$ \-Position $>$ \&to, std\-::vector$<$ unsigned int $>$ \&alignment)
\item 
void \hyperlink{UnitsGroup_8cpp_a0a5c909773639662445065be2672dadd}{align} (std\-::vector$<$ \-Position $>$ \&from, std\-::vector$<$ \-Position $>$ \&to, std\-::vector$<$ unsigned int $>$ \&alignment)
\end{DoxyCompactItemize}


\subsection{\-Define \-Documentation}
\hypertarget{UnitsGroup_8cpp_aa32b8a901942f5967fedebdb2e4397de}{\index{\-Units\-Group.\-cpp@{\-Units\-Group.\-cpp}!\-\_\-\-\_\-\-M\-A\-X\-\_\-\-D\-I\-S\-T\-A\-N\-C\-E\-\_\-\-T\-O\-\_\-\-G\-R\-O\-U\-P\-\_\-\-\_\-@{\-\_\-\-\_\-\-M\-A\-X\-\_\-\-D\-I\-S\-T\-A\-N\-C\-E\-\_\-\-T\-O\-\_\-\-G\-R\-O\-U\-P\-\_\-\-\_\-}}
\index{\-\_\-\-\_\-\-M\-A\-X\-\_\-\-D\-I\-S\-T\-A\-N\-C\-E\-\_\-\-T\-O\-\_\-\-G\-R\-O\-U\-P\-\_\-\-\_\-@{\-\_\-\-\_\-\-M\-A\-X\-\_\-\-D\-I\-S\-T\-A\-N\-C\-E\-\_\-\-T\-O\-\_\-\-G\-R\-O\-U\-P\-\_\-\-\_\-}!UnitsGroup.cpp@{\-Units\-Group.\-cpp}}
\subsubsection[{\-\_\-\-\_\-\-M\-A\-X\-\_\-\-D\-I\-S\-T\-A\-N\-C\-E\-\_\-\-T\-O\-\_\-\-G\-R\-O\-U\-P\-\_\-\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-\_\-\-\_\-\-M\-A\-X\-\_\-\-D\-I\-S\-T\-A\-N\-C\-E\-\_\-\-T\-O\-\_\-\-G\-R\-O\-U\-P\-\_\-\-\_\-}~512}}\label{UnitsGroup_8cpp_aa32b8a901942f5967fedebdb2e4397de}


\subsection{\-Function \-Documentation}
\hypertarget{UnitsGroup_8cpp_a0a5c909773639662445065be2672dadd}{\index{\-Units\-Group.\-cpp@{\-Units\-Group.\-cpp}!align@{align}}
\index{align@{align}!UnitsGroup.cpp@{\-Units\-Group.\-cpp}}
\subsubsection[{align}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf align} (
\begin{DoxyParamCaption}
\item[{std\-::vector$<$ \-Position $>$ \&}]{from, }
\item[{std\-::vector$<$ \-Position $>$ \&}]{to, }
\item[{std\-::vector$<$ unsigned int $>$ \&}]{alignment}
\end{DoxyParamCaption}
)}}\label{UnitsGroup_8cpp_a0a5c909773639662445065be2672dadd}


\-Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=224pt]{UnitsGroup_8cpp_a0a5c909773639662445065be2672dadd_cgraph}
\end{center}
\end{figure}


\hypertarget{UnitsGroup_8cpp_a918f7751179c0991472c60a74448792f}{\index{\-Units\-Group.\-cpp@{\-Units\-Group.\-cpp}!comp\-\_\-i\-\_\-dist@{comp\-\_\-i\-\_\-dist}}
\index{comp\-\_\-i\-\_\-dist@{comp\-\_\-i\-\_\-dist}!UnitsGroup.cpp@{\-Units\-Group.\-cpp}}
\subsubsection[{comp\-\_\-i\-\_\-dist}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf comp\-\_\-i\-\_\-dist} (
\begin{DoxyParamCaption}
\item[{const {\bf i\-\_\-dist} \&}]{l, }
\item[{const {\bf i\-\_\-dist} \&}]{r}
\end{DoxyParamCaption}
)}}\label{UnitsGroup_8cpp_a918f7751179c0991472c60a74448792f}


\-Here is the caller graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=224pt]{UnitsGroup_8cpp_a918f7751179c0991472c60a74448792f_icgraph}
\end{center}
\end{figure}


\hypertarget{UnitsGroup_8cpp_a3d7b2501a7188c109831fca1e2d85604}{\index{\-Units\-Group.\-cpp@{\-Units\-Group.\-cpp}!mid\-\_\-based\-\_\-align@{mid\-\_\-based\-\_\-align}}
\index{mid\-\_\-based\-\_\-align@{mid\-\_\-based\-\_\-align}!UnitsGroup.cpp@{\-Units\-Group.\-cpp}}
\subsubsection[{mid\-\_\-based\-\_\-align}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf mid\-\_\-based\-\_\-align} (
\begin{DoxyParamCaption}
\item[{const std\-::vector$<$ \-Position $>$ \&}]{from, }
\item[{const std\-::vector$<$ \-Position $>$ \&}]{to, }
\item[{std\-::vector$<$ unsigned int $>$ \&}]{alignment}
\end{DoxyParamCaption}
)}}\label{UnitsGroup_8cpp_a3d7b2501a7188c109831fca1e2d85604}


\-Here is the caller graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{UnitsGroup_8cpp_a3d7b2501a7188c109831fca1e2d85604_icgraph}
\end{center}
\end{figure}


\hypertarget{UnitsGroup_8cpp_a1c469f80dc66c5c924c90a1e0913af2f}{\index{\-Units\-Group.\-cpp@{\-Units\-Group.\-cpp}!round@{round}}
\index{round@{round}!UnitsGroup.cpp@{\-Units\-Group.\-cpp}}
\subsubsection[{round}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf round} (
\begin{DoxyParamCaption}
\item[{double}]{a}
\end{DoxyParamCaption}
)}}\label{UnitsGroup_8cpp_a1c469f80dc66c5c924c90a1e0913af2f}


\-Here is the caller graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{UnitsGroup_8cpp_a1c469f80dc66c5c924c90a1e0913af2f_icgraph}
\end{center}
\end{figure}


\hypertarget{UnitsGroup_8cpp_a490dbbcea9abbafd8faad7cb2f4ba44e}{\index{\-Units\-Group.\-cpp@{\-Units\-Group.\-cpp}!simple\-\_\-align@{simple\-\_\-align}}
\index{simple\-\_\-align@{simple\-\_\-align}!UnitsGroup.cpp@{\-Units\-Group.\-cpp}}
\subsubsection[{simple\-\_\-align}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf simple\-\_\-align} (
\begin{DoxyParamCaption}
\item[{std\-::vector$<$ \-Position $>$ \&}]{from, }
\item[{std\-::vector$<$ unsigned int $>$ \&}]{alignment}
\end{DoxyParamCaption}
)}}\label{UnitsGroup_8cpp_a490dbbcea9abbafd8faad7cb2f4ba44e}
