\hypertarget{a09272}{}\section{Open\+Mesh\+:\+:Utils\+:\+:Num\+LimitsT$<$ Scalar $>$ Class Template Reference}
\label{a09272}\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 
\mbox{\Hypertarget{a09272_a618be7579ce6a3a032f45c781d3f0bac}\label{a09272_a618be7579ce6a3a032f45c781d3f0bac}} 
{\footnotesize template$<$$>$ }\\bool {\bfseries is\+\_\+float} ()
\item 
\mbox{\Hypertarget{a09272_a91f72bf52bc98a6aa3fe351950c80147}\label{a09272_a91f72bf52bc98a6aa3fe351950c80147}} 
{\footnotesize template$<$$>$ }\\bool {\bfseries is\+\_\+float} ()
\item 
\mbox{\Hypertarget{a09272_a079fc24ff33a963bee51d7d6120c37b9}\label{a09272_a079fc24ff33a963bee51d7d6120c37b9}} 
{\footnotesize template$<$$>$ }\\bool {\bfseries is\+\_\+float} ()
\item 
\mbox{\Hypertarget{a09272_acf20a7a1be200c07cde321669273c292}\label{a09272_acf20a7a1be200c07cde321669273c292}} 
{\footnotesize template$<$$>$ }\\bool {\bfseries is\+\_\+signed} ()
\item 
\mbox{\Hypertarget{a09272_a30d9ad0165f9e338877c5c3d9674d22b}\label{a09272_a30d9ad0165f9e338877c5c3d9674d22b}} 
{\footnotesize template$<$$>$ }\\bool {\bfseries is\+\_\+signed} ()
\item 
\mbox{\Hypertarget{a09272_a67c1050dfa28611bde388502dc62d99e}\label{a09272_a67c1050dfa28611bde388502dc62d99e}} 
{\footnotesize template$<$$>$ }\\bool {\bfseries is\+\_\+signed} ()
\item 
\mbox{\Hypertarget{a09272_ae4a6cd17fe730baab5665e5850fb39e2}\label{a09272_ae4a6cd17fe730baab5665e5850fb39e2}} 
{\footnotesize template$<$$>$ }\\bool {\bfseries is\+\_\+signed} ()
\item 
\mbox{\Hypertarget{a09272_a3a80d6eade53a8b731788352a3d85e00}\label{a09272_a3a80d6eade53a8b731788352a3d85e00}} 
{\footnotesize template$<$$>$ }\\bool {\bfseries is\+\_\+signed} ()
\item 
\mbox{\Hypertarget{a09272_a299caf73cac6f473ca40c8df8c5c9c97}\label{a09272_a299caf73cac6f473ca40c8df8c5c9c97}} 
{\footnotesize template$<$$>$ }\\int {\bfseries min} ()
\item 
\mbox{\Hypertarget{a09272_adcde35956f2ff7c4624cad66d7944eec}\label{a09272_adcde35956f2ff7c4624cad66d7944eec}} 
{\footnotesize template$<$$>$ }\\int {\bfseries max} ()
\item 
\mbox{\Hypertarget{a09272_a35f1885b497acac6607d87450d325aeb}\label{a09272_a35f1885b497acac6607d87450d325aeb}} 
{\footnotesize template$<$$>$ }\\float {\bfseries min} ()
\item 
\mbox{\Hypertarget{a09272_a046c5f9ff5b18276ef82efacf93acd96}\label{a09272_a046c5f9ff5b18276ef82efacf93acd96}} 
{\footnotesize template$<$$>$ }\\float {\bfseries max} ()
\item 
\mbox{\Hypertarget{a09272_a6c46eeeca884d6b88a70b1d211f9e756}\label{a09272_a6c46eeeca884d6b88a70b1d211f9e756}} 
{\footnotesize template$<$$>$ }\\double {\bfseries min} ()
\item 
\mbox{\Hypertarget{a09272_aa00363608ac33e1b8745e0f6f02d0d4a}\label{a09272_aa00363608ac33e1b8745e0f6f02d0d4a}} 
{\footnotesize template$<$$>$ }\\double {\bfseries max} ()
\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a09272_a88db07419fbf5a3797f799901ccd7959}\label{a09272_a88db07419fbf5a3797f799901ccd7959}} 
static Scalar \hyperlink{a09272_a88db07419fbf5a3797f799901ccd7959}{min} ()
\begin{DoxyCompactList}\small\item\em Return the smallest {\itshape absolte} value a scalar type can store. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09272_a32710b6611b5b17a5ecc25b076977bf1}\label{a09272_a32710b6611b5b17a5ecc25b076977bf1}} 
static Scalar \hyperlink{a09272_a32710b6611b5b17a5ecc25b076977bf1}{max} ()
\begin{DoxyCompactList}\small\item\em Return the maximum {\itshape absolte} value a scalar type can store. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09272_a8f594af0fc21c48b6eded77399d8efcd}\label{a09272_a8f594af0fc21c48b6eded77399d8efcd}} 
static bool {\bfseries is\+\_\+float} ()
\item 
\mbox{\Hypertarget{a09272_a3baa1385f5594819b4a5074bb9be5067}\label{a09272_a3baa1385f5594819b4a5074bb9be5067}} 
static bool {\bfseries is\+\_\+integer} ()
\item 
\mbox{\Hypertarget{a09272_a79eb654b8481a92ee83b93f53d3eade4}\label{a09272_a79eb654b8481a92ee83b93f53d3eade4}} 
static bool {\bfseries is\+\_\+signed} ()
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename Scalar$>$\newline
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{a09272}{Num\+LimitsT} is just a workaround. 
\end{DoxyNote}


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



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