\hypertarget{utility_8h}{
\subsection{utility.h File Reference}
\label{utility_8h}\index{utility.h@{utility.h}}
}


Utility bits.  


{\ttfamily \#include $<$cvd/image.h$>$}\par
{\ttfamily \#include $<$vector$>$}\par
{\ttfamily \#include $<$string$>$}\par
{\ttfamily \#include $<$cstring$>$}\par
{\ttfamily \#include $<$cerrno$>$}\par
{\ttfamily \#include $<$cstdlib$>$}\par
{\ttfamily \#include $<$utility$>$}\par
\subsubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef std::pair$<$ CVD::ImageRef, CVD::ImageRef $>$ \hyperlink{group__gUtility_ga4c9c078fe9f2a8a517df9262c8543b02}{BBox}
\end{DoxyCompactItemize}
\subsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
double \hyperlink{group__gUtility_ga8f3cba07aa75b7320ae8bd6c0aeac498}{sign} (double x)
\item 
float \hyperlink{group__gUtility_gaae695f0b52ec15dcaaeb5e5e1bfb5f46}{sq} (float f)
\item 
double \hyperlink{utility_8h_a140511d7e8c7423536dfe5f43dbcb74c}{sq} (double f)
\item 
const std::vector$<$ CVD::SubImage$<$ float $>$ $>$ \hyperlink{group__gUtility_ga644392716cfd26eeffed563f729ba17c}{sub\_\-images} (const std::vector$<$ CVD::Image$<$ float $>$ $>$ \&im, CVD::ImageRef pos, CVD::ImageRef size)
\item 
std::pair$<$ CVD::ImageRef, CVD::ImageRef $>$ \hyperlink{group__gUtility_ga995d7ced530caa661009e05d6650d2fc}{boundingbox} (const std::vector$<$ CVD::ImageRef $>$ \&all\_\-spots)
\item 
{\footnotesize template$<$class Stream $>$ }\\void \hyperlink{group__gUtility_ga7942f1dc429121e05acf8ea3a46a75c5}{open\_\-or\_\-die} (Stream \&save\_\-spots, const std::string \&save\_\-spots\_\-file)
\end{DoxyCompactItemize}


\subsubsection{Detailed Description}
Utility bits. 

Definition in file \hyperlink{utility_8h_source}{utility.h}.



\subsubsection{Function Documentation}
\hypertarget{utility_8h_a140511d7e8c7423536dfe5f43dbcb74c}{
\index{utility.h@{utility.h}!sq@{sq}}
\index{sq@{sq}!utility.h@{utility.h}}
\paragraph[{sq}]{\setlength{\rightskip}{0pt plus 5cm}double sq (
\begin{DoxyParamCaption}
\item[{double}]{f}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{utility_8h_a140511d7e8c7423536dfe5f43dbcb74c}


This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 



Definition at line 53 of file utility.h.


\begin{DoxyCode}
{ return f*f; }
\end{DoxyCode}
