\hypertarget{classBW_1_1region}{\section{\-B\-W\-:\-:region \-Class \-Reference}
\label{classBW_1_1region}\index{\-B\-W\-::region@{\-B\-W\-::region}}
}


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



\-Collaboration diagram for \-B\-W\-:\-:region\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=222pt]{classBW_1_1region__coll__graph}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{classBW_1_1region_a84f8885eff012b19baf22e48d9face04}{is\-Connected\-To} (\hyperlink{classBW_1_1region}{region} $\ast$target)
\item 
bool \hyperlink{classBW_1_1region_ac04a3ff08456cd9942e3bcd404427b42}{is\-Connected\-To} (\hyperlink{NewHackUtil_8h_ac8008e9f99a9e3bdd6649ba6fe685975}{u16} index)
\item 
std\-::vector$<$ \hyperlink{classBW_1_1region}{region} $\ast$ $>$ \& \hyperlink{classBW_1_1region_a83394667efd6e4d683389c420b7b9aab}{get\-Accessible\-Neighbours} ()
\item 
\hyperlink{namespaceBW_ae39c0ab8f888a361ade2d3964d779193}{int} \hyperlink{classBW_1_1region_aa96db06305cf0fa0cc6402ac8cc653be}{get\-Air\-Distance} (\hyperlink{classBW_1_1region}{region} $\ast$dst)
\item 
\hyperlink{classBW_1_1region}{region} $\ast$ \hyperlink{classBW_1_1region_a252c21c3427dbd7338fe971d539f6836}{get\-Neighbor} (\hyperlink{NewHackUtil_8h_ab64accf39cd9947d51611c16fd76f69a}{u8} index)
\item 
\hyperlink{classBW_1_1Position}{\-Position} \hyperlink{classBW_1_1region_a5dc876d1b4140a72baf2d1dd2d57f8eb}{get\-Center} ()
\item 
\hyperlink{NewHackUtil_8h_ac8008e9f99a9e3bdd6649ba6fe685975}{u16} \hyperlink{classBW_1_1region_a83594d967f742e899f6a5f1dc435b9be}{get\-Index} ()
\end{DoxyCompactItemize}
\subsection*{\-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hyperlink{NewHackUtil_8h_ac8008e9f99a9e3bdd6649ba6fe685975}{u16} \hyperlink{classBW_1_1region_a3405fdc61fbc5b0fae65850ad0d95e4b}{accessability\-Flags}
\item 
\hyperlink{NewHackUtil_8h_ac8008e9f99a9e3bdd6649ba6fe685975}{u16} \hyperlink{classBW_1_1region_abed825264bc67aa4af30fce1f9e307ec}{group\-Index}
\item 
\hyperlink{NewHackUtil_8h_ac8008e9f99a9e3bdd6649ba6fe685975}{u16} \hyperlink{classBW_1_1region_a63abd08f26e590dc5dfc69ac86faa704}{tile\-Count}
\item 
\hyperlink{NewHackUtil_8h_ab64accf39cd9947d51611c16fd76f69a}{u8} \hyperlink{classBW_1_1region_aa9adbf1993c21bbb091d6ce0d0a1e7fe}{path\-Count}
\item 
\hyperlink{NewHackUtil_8h_ab64accf39cd9947d51611c16fd76f69a}{u8} \hyperlink{classBW_1_1region_ab9921b90f105b7e648ede350cfddb068}{neighbor\-Count}
\item 
\hyperlink{NewHackUtil_8h_a60534f57ab6a58fdf5c2e618645182e3}{u32} \hyperlink{classBW_1_1region_ae2e41b13067bd8ec932c8a7586044671}{unk\-\_\-8}
\item 
\hyperlink{NewHackUtil_8h_ac8008e9f99a9e3bdd6649ba6fe685975}{u16} $\ast$ \hyperlink{classBW_1_1region_acf09b2878d8b984c4817c40152c7a620}{neighbors}
\item 
\hyperlink{NewHackUtil_8h_a60534f57ab6a58fdf5c2e618645182e3}{u32} \hyperlink{classBW_1_1region_a2d70ade3c5a10b14f3dd778f4f40ea29}{rgn\-Center\-X}
\item 
\hyperlink{NewHackUtil_8h_a60534f57ab6a58fdf5c2e618645182e3}{u32} \hyperlink{classBW_1_1region_a8f3bdb3727a32c2f32e9fce504b0bc47}{rgn\-Center\-Y}
\item 
\hyperlink{structBW_1_1pathRect}{path\-Rect} \hyperlink{classBW_1_1region_a374900ba0bfd50e33a6ab3105282e72b}{rgn\-Box}
\item 
\hyperlink{NewHackUtil_8h_a60534f57ab6a58fdf5c2e618645182e3}{u32} \hyperlink{classBW_1_1region_a38717ee6f74a239fa37599d069a9db6d}{properties}
\item 
\hyperlink{NewHackUtil_8h_a60534f57ab6a58fdf5c2e618645182e3}{u32} \hyperlink{classBW_1_1region_a728515a0f7d37c9fb42964f2419b8c88}{unk\-\_\-24}
\item 
\hyperlink{NewHackUtil_8h_a60534f57ab6a58fdf5c2e618645182e3}{u32} \hyperlink{classBW_1_1region_ab9e680b52eb663e6045e8ce6c1107f47}{unk\-\_\-28}
\item 
\hyperlink{NewHackUtil_8h_ac8008e9f99a9e3bdd6649ba6fe685975}{u16} \hyperlink{classBW_1_1region_a9db5179c035e695c20aa7b8f2efe75d5}{local\-Buffer} \mbox{[}10\mbox{]}
\end{DoxyCompactItemize}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classBW_1_1region_a83394667efd6e4d683389c420b7b9aab}{\index{\-B\-W\-::region@{\-B\-W\-::region}!get\-Accessible\-Neighbours@{get\-Accessible\-Neighbours}}
\index{get\-Accessible\-Neighbours@{get\-Accessible\-Neighbours}!BW::region@{\-B\-W\-::region}}
\subsubsection[{get\-Accessible\-Neighbours}]{\setlength{\rightskip}{0pt plus 5cm}std\-::vector$<$ {\bf region} $\ast$ $>$ \& {\bf \-B\-W\-::region\-::get\-Accessible\-Neighbours} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classBW_1_1region_a83394667efd6e4d683389c420b7b9aab}


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


\hypertarget{classBW_1_1region_aa96db06305cf0fa0cc6402ac8cc653be}{\index{\-B\-W\-::region@{\-B\-W\-::region}!get\-Air\-Distance@{get\-Air\-Distance}}
\index{get\-Air\-Distance@{get\-Air\-Distance}!BW::region@{\-B\-W\-::region}}
\subsubsection[{get\-Air\-Distance}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} {\bf \-B\-W\-::region\-::get\-Air\-Distance} (
\begin{DoxyParamCaption}
\item[{{\bf region} $\ast$}]{dst}
\end{DoxyParamCaption}
)}}\label{classBW_1_1region_aa96db06305cf0fa0cc6402ac8cc653be}


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


\hypertarget{classBW_1_1region_a5dc876d1b4140a72baf2d1dd2d57f8eb}{\index{\-B\-W\-::region@{\-B\-W\-::region}!get\-Center@{get\-Center}}
\index{get\-Center@{get\-Center}!BW::region@{\-B\-W\-::region}}
\subsubsection[{get\-Center}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Position} {\bf \-B\-W\-::region\-::get\-Center} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classBW_1_1region_a5dc876d1b4140a72baf2d1dd2d57f8eb}


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


\hypertarget{classBW_1_1region_a83594d967f742e899f6a5f1dc435b9be}{\index{\-B\-W\-::region@{\-B\-W\-::region}!get\-Index@{get\-Index}}
\index{get\-Index@{get\-Index}!BW::region@{\-B\-W\-::region}}
\subsubsection[{get\-Index}]{\setlength{\rightskip}{0pt plus 5cm}{\bf u16} {\bf \-B\-W\-::region\-::get\-Index} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classBW_1_1region_a83594d967f742e899f6a5f1dc435b9be}


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


\hypertarget{classBW_1_1region_a252c21c3427dbd7338fe971d539f6836}{\index{\-B\-W\-::region@{\-B\-W\-::region}!get\-Neighbor@{get\-Neighbor}}
\index{get\-Neighbor@{get\-Neighbor}!BW::region@{\-B\-W\-::region}}
\subsubsection[{get\-Neighbor}]{\setlength{\rightskip}{0pt plus 5cm}{\bf region} $\ast$ {\bf \-B\-W\-::region\-::get\-Neighbor} (
\begin{DoxyParamCaption}
\item[{{\bf u8}}]{index}
\end{DoxyParamCaption}
)}}\label{classBW_1_1region_a252c21c3427dbd7338fe971d539f6836}


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


\hypertarget{classBW_1_1region_a84f8885eff012b19baf22e48d9face04}{\index{\-B\-W\-::region@{\-B\-W\-::region}!is\-Connected\-To@{is\-Connected\-To}}
\index{is\-Connected\-To@{is\-Connected\-To}!BW::region@{\-B\-W\-::region}}
\subsubsection[{is\-Connected\-To}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-::region\-::is\-Connected\-To} (
\begin{DoxyParamCaption}
\item[{{\bf region} $\ast$}]{target}
\end{DoxyParamCaption}
)}}\label{classBW_1_1region_a84f8885eff012b19baf22e48d9face04}


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


\hypertarget{classBW_1_1region_ac04a3ff08456cd9942e3bcd404427b42}{\index{\-B\-W\-::region@{\-B\-W\-::region}!is\-Connected\-To@{is\-Connected\-To}}
\index{is\-Connected\-To@{is\-Connected\-To}!BW::region@{\-B\-W\-::region}}
\subsubsection[{is\-Connected\-To}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-::region\-::is\-Connected\-To} (
\begin{DoxyParamCaption}
\item[{{\bf u16}}]{index}
\end{DoxyParamCaption}
)}}\label{classBW_1_1region_ac04a3ff08456cd9942e3bcd404427b42}


\subsection{\-Member \-Data \-Documentation}
\hypertarget{classBW_1_1region_a3405fdc61fbc5b0fae65850ad0d95e4b}{\index{\-B\-W\-::region@{\-B\-W\-::region}!accessability\-Flags@{accessability\-Flags}}
\index{accessability\-Flags@{accessability\-Flags}!BW::region@{\-B\-W\-::region}}
\subsubsection[{accessability\-Flags}]{\setlength{\rightskip}{0pt plus 5cm}{\bf u16} {\bf \-B\-W\-::region\-::accessability\-Flags}}}\label{classBW_1_1region_a3405fdc61fbc5b0fae65850ad0d95e4b}
\hypertarget{classBW_1_1region_abed825264bc67aa4af30fce1f9e307ec}{\index{\-B\-W\-::region@{\-B\-W\-::region}!group\-Index@{group\-Index}}
\index{group\-Index@{group\-Index}!BW::region@{\-B\-W\-::region}}
\subsubsection[{group\-Index}]{\setlength{\rightskip}{0pt plus 5cm}{\bf u16} {\bf \-B\-W\-::region\-::group\-Index}}}\label{classBW_1_1region_abed825264bc67aa4af30fce1f9e307ec}
\hypertarget{classBW_1_1region_a9db5179c035e695c20aa7b8f2efe75d5}{\index{\-B\-W\-::region@{\-B\-W\-::region}!local\-Buffer@{local\-Buffer}}
\index{local\-Buffer@{local\-Buffer}!BW::region@{\-B\-W\-::region}}
\subsubsection[{local\-Buffer}]{\setlength{\rightskip}{0pt plus 5cm}{\bf u16} {\bf \-B\-W\-::region\-::local\-Buffer}\mbox{[}10\mbox{]}}}\label{classBW_1_1region_a9db5179c035e695c20aa7b8f2efe75d5}
\hypertarget{classBW_1_1region_ab9921b90f105b7e648ede350cfddb068}{\index{\-B\-W\-::region@{\-B\-W\-::region}!neighbor\-Count@{neighbor\-Count}}
\index{neighbor\-Count@{neighbor\-Count}!BW::region@{\-B\-W\-::region}}
\subsubsection[{neighbor\-Count}]{\setlength{\rightskip}{0pt plus 5cm}{\bf u8} {\bf \-B\-W\-::region\-::neighbor\-Count}}}\label{classBW_1_1region_ab9921b90f105b7e648ede350cfddb068}
\hypertarget{classBW_1_1region_acf09b2878d8b984c4817c40152c7a620}{\index{\-B\-W\-::region@{\-B\-W\-::region}!neighbors@{neighbors}}
\index{neighbors@{neighbors}!BW::region@{\-B\-W\-::region}}
\subsubsection[{neighbors}]{\setlength{\rightskip}{0pt plus 5cm}{\bf u16}$\ast$ {\bf \-B\-W\-::region\-::neighbors}}}\label{classBW_1_1region_acf09b2878d8b984c4817c40152c7a620}
\hypertarget{classBW_1_1region_aa9adbf1993c21bbb091d6ce0d0a1e7fe}{\index{\-B\-W\-::region@{\-B\-W\-::region}!path\-Count@{path\-Count}}
\index{path\-Count@{path\-Count}!BW::region@{\-B\-W\-::region}}
\subsubsection[{path\-Count}]{\setlength{\rightskip}{0pt plus 5cm}{\bf u8} {\bf \-B\-W\-::region\-::path\-Count}}}\label{classBW_1_1region_aa9adbf1993c21bbb091d6ce0d0a1e7fe}
\hypertarget{classBW_1_1region_a38717ee6f74a239fa37599d069a9db6d}{\index{\-B\-W\-::region@{\-B\-W\-::region}!properties@{properties}}
\index{properties@{properties}!BW::region@{\-B\-W\-::region}}
\subsubsection[{properties}]{\setlength{\rightskip}{0pt plus 5cm}{\bf u32} {\bf \-B\-W\-::region\-::properties}}}\label{classBW_1_1region_a38717ee6f74a239fa37599d069a9db6d}
\hypertarget{classBW_1_1region_a374900ba0bfd50e33a6ab3105282e72b}{\index{\-B\-W\-::region@{\-B\-W\-::region}!rgn\-Box@{rgn\-Box}}
\index{rgn\-Box@{rgn\-Box}!BW::region@{\-B\-W\-::region}}
\subsubsection[{rgn\-Box}]{\setlength{\rightskip}{0pt plus 5cm}{\bf path\-Rect} {\bf \-B\-W\-::region\-::rgn\-Box}}}\label{classBW_1_1region_a374900ba0bfd50e33a6ab3105282e72b}
\hypertarget{classBW_1_1region_a2d70ade3c5a10b14f3dd778f4f40ea29}{\index{\-B\-W\-::region@{\-B\-W\-::region}!rgn\-Center\-X@{rgn\-Center\-X}}
\index{rgn\-Center\-X@{rgn\-Center\-X}!BW::region@{\-B\-W\-::region}}
\subsubsection[{rgn\-Center\-X}]{\setlength{\rightskip}{0pt plus 5cm}{\bf u32} {\bf \-B\-W\-::region\-::rgn\-Center\-X}}}\label{classBW_1_1region_a2d70ade3c5a10b14f3dd778f4f40ea29}
\hypertarget{classBW_1_1region_a8f3bdb3727a32c2f32e9fce504b0bc47}{\index{\-B\-W\-::region@{\-B\-W\-::region}!rgn\-Center\-Y@{rgn\-Center\-Y}}
\index{rgn\-Center\-Y@{rgn\-Center\-Y}!BW::region@{\-B\-W\-::region}}
\subsubsection[{rgn\-Center\-Y}]{\setlength{\rightskip}{0pt plus 5cm}{\bf u32} {\bf \-B\-W\-::region\-::rgn\-Center\-Y}}}\label{classBW_1_1region_a8f3bdb3727a32c2f32e9fce504b0bc47}
\hypertarget{classBW_1_1region_a63abd08f26e590dc5dfc69ac86faa704}{\index{\-B\-W\-::region@{\-B\-W\-::region}!tile\-Count@{tile\-Count}}
\index{tile\-Count@{tile\-Count}!BW::region@{\-B\-W\-::region}}
\subsubsection[{tile\-Count}]{\setlength{\rightskip}{0pt plus 5cm}{\bf u16} {\bf \-B\-W\-::region\-::tile\-Count}}}\label{classBW_1_1region_a63abd08f26e590dc5dfc69ac86faa704}
\hypertarget{classBW_1_1region_a728515a0f7d37c9fb42964f2419b8c88}{\index{\-B\-W\-::region@{\-B\-W\-::region}!unk\-\_\-24@{unk\-\_\-24}}
\index{unk\-\_\-24@{unk\-\_\-24}!BW::region@{\-B\-W\-::region}}
\subsubsection[{unk\-\_\-24}]{\setlength{\rightskip}{0pt plus 5cm}{\bf u32} {\bf \-B\-W\-::region\-::unk\-\_\-24}}}\label{classBW_1_1region_a728515a0f7d37c9fb42964f2419b8c88}
\hypertarget{classBW_1_1region_ab9e680b52eb663e6045e8ce6c1107f47}{\index{\-B\-W\-::region@{\-B\-W\-::region}!unk\-\_\-28@{unk\-\_\-28}}
\index{unk\-\_\-28@{unk\-\_\-28}!BW::region@{\-B\-W\-::region}}
\subsubsection[{unk\-\_\-28}]{\setlength{\rightskip}{0pt plus 5cm}{\bf u32} {\bf \-B\-W\-::region\-::unk\-\_\-28}}}\label{classBW_1_1region_ab9e680b52eb663e6045e8ce6c1107f47}
\hypertarget{classBW_1_1region_ae2e41b13067bd8ec932c8a7586044671}{\index{\-B\-W\-::region@{\-B\-W\-::region}!unk\-\_\-8@{unk\-\_\-8}}
\index{unk\-\_\-8@{unk\-\_\-8}!BW::region@{\-B\-W\-::region}}
\subsubsection[{unk\-\_\-8}]{\setlength{\rightskip}{0pt plus 5cm}{\bf u32} {\bf \-B\-W\-::region\-::unk\-\_\-8}}}\label{classBW_1_1region_ae2e41b13067bd8ec932c8a7586044671}


\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
trunk/bwapi/\-B\-W\-A\-P\-I/\-Source/\-B\-W/\hyperlink{Pathing_8h}{\-Pathing.\-h}\item 
trunk/bwapi/\-B\-W\-A\-P\-I/\-Source/\-B\-W/\hyperlink{Pathing_8cpp}{\-Pathing.\-cpp}\end{DoxyCompactItemize}
