#include <OpenMesh/Utils/NumLimitsT.h>
Public Member Functions | |
| template<> | |
| bool | is_float () |
| template<> | |
| bool | is_float () |
| template<> | |
| bool | is_float () |
| template<> | |
| bool | is_signed () |
| template<> | |
| bool | is_signed () |
| template<> | |
| bool | is_signed () |
| template<> | |
| bool | is_signed () |
| template<> | |
| bool | is_signed () |
| template<> | |
| double | max () |
| template<> | |
| float | max () |
| template<> | |
| int | max () |
| template<> | |
| double | min () |
| template<> | |
| float | min () |
| template<> | |
| int | min () |
Static Public Member Functions | |
| static bool | is_float () |
| static bool | is_integer () |
| static bool | is_signed () |
| static Scalar | max () |
| Return the maximum absolte value a scalar type can store. | |
| static Scalar | min () |
| Return the smallest absolte value a scalar type can store. | |
This class provides the maximum and minimum values a certain scalar type (int, float, or double) can store. You can use it like this:
#include <OpenMesh/Utils/NumLimitsT.hh> int float_min = OpenMesh::NumLimitsT<float>::min(); float double_max = OpenMesh::NumLimitsT<double>::max();
Definition at line 89 of file NumLimitsT.hh.
| bool OpenMesh::Utils::NumLimitsT< long double >::is_float | ( | ) | [inline] |
Definition at line 111 of file NumLimitsT.hh.
| bool OpenMesh::Utils::NumLimitsT< double >::is_float | ( | ) | [inline] |
Definition at line 108 of file NumLimitsT.hh.
| bool OpenMesh::Utils::NumLimitsT< float >::is_float | ( | ) | [inline] |
Definition at line 105 of file NumLimitsT.hh.
| static bool OpenMesh::Utils::NumLimitsT< Scalar >::is_float | ( | ) | [inline, static] |
Definition at line 97 of file NumLimitsT.hh.
| static bool OpenMesh::Utils::NumLimitsT< Scalar >::is_integer | ( | ) | [inline, static] |
Definition at line 98 of file NumLimitsT.hh.
| bool OpenMesh::Utils::NumLimitsT< unsigned long long >::is_signed | ( | ) | [inline] |
Definition at line 128 of file NumLimitsT.hh.
| bool OpenMesh::Utils::NumLimitsT< unsigned long >::is_signed | ( | ) | [inline] |
Definition at line 125 of file NumLimitsT.hh.
| bool OpenMesh::Utils::NumLimitsT< unsigned int >::is_signed | ( | ) | [inline] |
Definition at line 122 of file NumLimitsT.hh.
| bool OpenMesh::Utils::NumLimitsT< unsigned short >::is_signed | ( | ) | [inline] |
Definition at line 119 of file NumLimitsT.hh.
| bool OpenMesh::Utils::NumLimitsT< unsigned char >::is_signed | ( | ) | [inline] |
Definition at line 116 of file NumLimitsT.hh.
| static bool OpenMesh::Utils::NumLimitsT< Scalar >::is_signed | ( | ) | [inline, static] |
Definition at line 99 of file NumLimitsT.hh.
| double OpenMesh::Utils::NumLimitsT< double >::max | ( | ) | [inline] |
Definition at line 138 of file NumLimitsT.hh.
| float OpenMesh::Utils::NumLimitsT< float >::max | ( | ) | [inline] |
Definition at line 135 of file NumLimitsT.hh.
| int OpenMesh::Utils::NumLimitsT< int >::max | ( | ) | [inline] |
Definition at line 132 of file NumLimitsT.hh.
| static Scalar OpenMesh::Utils::NumLimitsT< Scalar >::max | ( | ) | [inline, static] |
Return the maximum absolte value a scalar type can store.
Definition at line 95 of file NumLimitsT.hh.
| double OpenMesh::Utils::NumLimitsT< double >::min | ( | ) | [inline] |
Definition at line 137 of file NumLimitsT.hh.
| float OpenMesh::Utils::NumLimitsT< float >::min | ( | ) | [inline] |
Definition at line 134 of file NumLimitsT.hh.
| int OpenMesh::Utils::NumLimitsT< int >::min | ( | ) | [inline] |
Definition at line 131 of file NumLimitsT.hh.
| static Scalar OpenMesh::Utils::NumLimitsT< Scalar >::min | ( | ) | [inline, static] |
Return the smallest absolte value a scalar type can store.
Definition at line 93 of file NumLimitsT.hh.