\section{TPProto::Get\-Object\-Ids\-By\-Pos Class Reference}
\label{classTPProto_1_1GetObjectIdsByPos}\index{TPProto::GetObjectIdsByPos@{TPProto::GetObjectIdsByPos}}
\doxyref{Frame}{p.}{classTPProto_1_1Frame} for getting all object ids within a given area.  


{\tt \#include $<$getobjectidsbypos.h$>$}

Inheritance diagram for TPProto::Get\-Object\-Ids\-By\-Pos::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classTPProto_1_1GetObjectIdsByPos}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Get\-Object\-Ids\-By\-Pos} ()
\begin{CompactList}\small\item\em Default constructor. \item\end{CompactList}\item 
virtual {\bf $\sim$Get\-Object\-Ids\-By\-Pos} ()\label{classTPProto_1_1GetObjectIdsByPos_afc6ce6df91d3f46489ef64d1ff2d55c}

\begin{CompactList}\small\item\em Required virtual destructor. \item\end{CompactList}\item 
void {\bf pack\-Buffer} ({\bf Buffer} $\ast$buf)
\begin{CompactList}\small\item\em Pack the \doxyref{Frame}{p.}{classTPProto_1_1Frame} into a \doxyref{Buffer}{p.}{classTPProto_1_1Buffer}. \item\end{CompactList}\item 
bool {\bf unpack\-Buffer} ({\bf Buffer} $\ast$buf)
\begin{CompactList}\small\item\em Unpack \doxyref{Buffer}{p.}{classTPProto_1_1Buffer}, always false. \item\end{CompactList}\item 
void {\bf set\-Position} (const {\bf Vector3d} \&npos)
\begin{CompactList}\small\item\em Sets the position for the centre of the area to be looked at. \item\end{CompactList}\item 
void {\bf set\-Radius} (uint64\_\-t nrad)
\begin{CompactList}\small\item\em Sets the radius for the area to be looked at. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
\doxyref{Frame}{p.}{classTPProto_1_1Frame} for getting all object ids within a given area. 

The area is a sphere of radius units centre at the position. 



\subsection{Constructor \& Destructor Documentation}
\index{TPProto::GetObjectIdsByPos@{TPProto::Get\-Object\-Ids\-By\-Pos}!GetObjectIdsByPos@{GetObjectIdsByPos}}
\index{GetObjectIdsByPos@{GetObjectIdsByPos}!TPProto::GetObjectIdsByPos@{TPProto::Get\-Object\-Ids\-By\-Pos}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}TPProto::Get\-Object\-Ids\-By\-Pos::Get\-Object\-Ids\-By\-Pos ()}\label{classTPProto_1_1GetObjectIdsByPos_8d0411146c8b3844a4f1859156ca28f2}


Default constructor. 

Sets the position to 0,0,0 (centre of the universe) and the radius to 0. 

\subsection{Member Function Documentation}
\index{TPProto::GetObjectIdsByPos@{TPProto::Get\-Object\-Ids\-By\-Pos}!packBuffer@{packBuffer}}
\index{packBuffer@{packBuffer}!TPProto::GetObjectIdsByPos@{TPProto::Get\-Object\-Ids\-By\-Pos}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void TPProto::Get\-Object\-Ids\-By\-Pos::pack\-Buffer ({\bf Buffer} $\ast$ {\em buf})\hspace{0.3cm}{\tt  [virtual]}}\label{classTPProto_1_1GetObjectIdsByPos_643312103f4b8aebe4d377f88207bd54}


Pack the \doxyref{Frame}{p.}{classTPProto_1_1Frame} into a \doxyref{Buffer}{p.}{classTPProto_1_1Buffer}. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em buf}]The \doxyref{Buffer}{p.}{classTPProto_1_1Buffer} to pack into. \end{description}
\end{Desc}


Implements {\bf TPProto::Frame} \doxyref{}{p.}{classTPProto_1_1Frame_67b50ee76e90385e56f04202ce1da67e}.\index{TPProto::GetObjectIdsByPos@{TPProto::Get\-Object\-Ids\-By\-Pos}!unpackBuffer@{unpackBuffer}}
\index{unpackBuffer@{unpackBuffer}!TPProto::GetObjectIdsByPos@{TPProto::Get\-Object\-Ids\-By\-Pos}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool TPProto::Get\-Object\-Ids\-By\-Pos::unpack\-Buffer ({\bf Buffer} $\ast$ {\em buf})\hspace{0.3cm}{\tt  [virtual]}}\label{classTPProto_1_1GetObjectIdsByPos_af8c7d7dd00fa7e2656a16c3efd87388}


Unpack \doxyref{Buffer}{p.}{classTPProto_1_1Buffer}, always false. 

This \doxyref{Frame}{p.}{classTPProto_1_1Frame} should never be received, therefore this method always returns false. \begin{Desc}
\item[Returns:]False, always. \end{Desc}


Implements {\bf TPProto::Frame} \doxyref{}{p.}{classTPProto_1_1Frame_fe220a4229f471a3cc6a143f7a27e321}.\index{TPProto::GetObjectIdsByPos@{TPProto::Get\-Object\-Ids\-By\-Pos}!setPosition@{setPosition}}
\index{setPosition@{setPosition}!TPProto::GetObjectIdsByPos@{TPProto::Get\-Object\-Ids\-By\-Pos}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void TPProto::Get\-Object\-Ids\-By\-Pos::set\-Position (const {\bf Vector3d} \& {\em npos})}\label{classTPProto_1_1GetObjectIdsByPos_23aaa31036c8622c3715e787363774b4}


Sets the position for the centre of the area to be looked at. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em npos}]The position to be taken as the centre. \end{description}
\end{Desc}
\index{TPProto::GetObjectIdsByPos@{TPProto::Get\-Object\-Ids\-By\-Pos}!setRadius@{setRadius}}
\index{setRadius@{setRadius}!TPProto::GetObjectIdsByPos@{TPProto::Get\-Object\-Ids\-By\-Pos}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void TPProto::Get\-Object\-Ids\-By\-Pos::set\-Radius (uint64\_\-t {\em nrad})}\label{classTPProto_1_1GetObjectIdsByPos_ed37396cf4795c1e5d8fb80770f1335b}


Sets the radius for the area to be looked at. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em nrad}]The radius to be used. \end{description}
\end{Desc}


The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
tpproto/{\bf getobjectidsbypos.h}\item 
tpproto/getobjectidsbypos.cpp\end{CompactItemize}
