\hypertarget{a00889}{\section{Open\+Mesh\+:\+:Utils\+:\+:Num\+Limits\+T$<$ Scalar $>$ Class Template Reference}
\label{a00889}\index{Open\+Mesh\+::\+Utils\+::\+Num\+Limits\+T$<$ Scalar $>$@{Open\+Mesh\+::\+Utils\+::\+Num\+Limits\+T$<$ Scalar $>$}}
}


{\ttfamily \#include $<$Tools/\+Utils/\+Num\+Limits\+T.\+hh$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00889_a618be7579ce6a3a032f45c781d3f0bac}{{\footnotesize template$<$$>$ }\\bool {\bfseries is\+\_\+float} ()}\label{a00889_a618be7579ce6a3a032f45c781d3f0bac}

\item 
\hypertarget{a00889_a91f72bf52bc98a6aa3fe351950c80147}{{\footnotesize template$<$$>$ }\\bool {\bfseries is\+\_\+float} ()}\label{a00889_a91f72bf52bc98a6aa3fe351950c80147}

\item 
\hypertarget{a00889_a079fc24ff33a963bee51d7d6120c37b9}{{\footnotesize template$<$$>$ }\\bool {\bfseries is\+\_\+float} ()}\label{a00889_a079fc24ff33a963bee51d7d6120c37b9}

\item 
\hypertarget{a00889_acf20a7a1be200c07cde321669273c292}{{\footnotesize template$<$$>$ }\\bool {\bfseries is\+\_\+signed} ()}\label{a00889_acf20a7a1be200c07cde321669273c292}

\item 
\hypertarget{a00889_a30d9ad0165f9e338877c5c3d9674d22b}{{\footnotesize template$<$$>$ }\\bool {\bfseries is\+\_\+signed} ()}\label{a00889_a30d9ad0165f9e338877c5c3d9674d22b}

\item 
\hypertarget{a00889_a67c1050dfa28611bde388502dc62d99e}{{\footnotesize template$<$$>$ }\\bool {\bfseries is\+\_\+signed} ()}\label{a00889_a67c1050dfa28611bde388502dc62d99e}

\item 
\hypertarget{a00889_ae4a6cd17fe730baab5665e5850fb39e2}{{\footnotesize template$<$$>$ }\\bool {\bfseries is\+\_\+signed} ()}\label{a00889_ae4a6cd17fe730baab5665e5850fb39e2}

\item 
\hypertarget{a00889_a3a80d6eade53a8b731788352a3d85e00}{{\footnotesize template$<$$>$ }\\bool {\bfseries is\+\_\+signed} ()}\label{a00889_a3a80d6eade53a8b731788352a3d85e00}

\item 
\hypertarget{a00889_a299caf73cac6f473ca40c8df8c5c9c97}{{\footnotesize template$<$$>$ }\\int {\bfseries min} ()}\label{a00889_a299caf73cac6f473ca40c8df8c5c9c97}

\item 
\hypertarget{a00889_adcde35956f2ff7c4624cad66d7944eec}{{\footnotesize template$<$$>$ }\\int {\bfseries max} ()}\label{a00889_adcde35956f2ff7c4624cad66d7944eec}

\item 
\hypertarget{a00889_a35f1885b497acac6607d87450d325aeb}{{\footnotesize template$<$$>$ }\\float {\bfseries min} ()}\label{a00889_a35f1885b497acac6607d87450d325aeb}

\item 
\hypertarget{a00889_a046c5f9ff5b18276ef82efacf93acd96}{{\footnotesize template$<$$>$ }\\float {\bfseries max} ()}\label{a00889_a046c5f9ff5b18276ef82efacf93acd96}

\item 
\hypertarget{a00889_a6c46eeeca884d6b88a70b1d211f9e756}{{\footnotesize template$<$$>$ }\\double {\bfseries min} ()}\label{a00889_a6c46eeeca884d6b88a70b1d211f9e756}

\item 
\hypertarget{a00889_aa00363608ac33e1b8745e0f6f02d0d4a}{{\footnotesize template$<$$>$ }\\double {\bfseries max} ()}\label{a00889_aa00363608ac33e1b8745e0f6f02d0d4a}

\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00889_a88db07419fbf5a3797f799901ccd7959}{static Scalar \hyperlink{a00889_a88db07419fbf5a3797f799901ccd7959}{min} ()}\label{a00889_a88db07419fbf5a3797f799901ccd7959}

\begin{DoxyCompactList}\small\item\em Return the smallest {\itshape absolte} value a scalar type can store. \end{DoxyCompactList}\item 
\hypertarget{a00889_a32710b6611b5b17a5ecc25b076977bf1}{static Scalar \hyperlink{a00889_a32710b6611b5b17a5ecc25b076977bf1}{max} ()}\label{a00889_a32710b6611b5b17a5ecc25b076977bf1}

\begin{DoxyCompactList}\small\item\em Return the maximum {\itshape absolte} value a scalar type can store. \end{DoxyCompactList}\item 
\hypertarget{a00889_a8f594af0fc21c48b6eded77399d8efcd}{static bool {\bfseries is\+\_\+float} ()}\label{a00889_a8f594af0fc21c48b6eded77399d8efcd}

\item 
\hypertarget{a00889_a3baa1385f5594819b4a5074bb9be5067}{static bool {\bfseries is\+\_\+integer} ()}\label{a00889_a3baa1385f5594819b4a5074bb9be5067}

\item 
\hypertarget{a00889_a79eb654b8481a92ee83b93f53d3eade4}{static bool {\bfseries is\+\_\+signed} ()}\label{a00889_a79eb654b8481a92ee83b93f53d3eade4}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename Scalar$>$class Open\+Mesh\+::\+Utils\+::\+Num\+Limits\+T$<$ Scalar $>$}

This class provides the maximum and minimum values a certain scalar type ({\ttfamily int}, {\ttfamily float}, or {\ttfamily double}) can store. You can use it like this\+: 
\begin{DoxyCode}
\textcolor{preprocessor}{#include <OpenMesh/Utils/NumLimitsT.hh>}

\textcolor{keywordtype}{int}   float\_min   = OpenMesh::NumLimitsT<float>::min();
\textcolor{keywordtype}{float} double\_max  = OpenMesh::NumLimitsT<double>::max();
\end{DoxyCode}


\begin{DoxyNote}{Note}
This functionality should be provided by std\+::numeric\+\_\+limits. This template does not exist on gcc $<$= 2.\+95.\+3. The class template \hyperlink{a00889}{Num\+Limits\+T} is just a workaround. 
\end{DoxyNote}


Definition at line 96 of file Num\+Limits\+T.\+hh.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Tools/\+Utils/\hyperlink{a01759}{Num\+Limits\+T.\+hh}\end{DoxyCompactItemize}
