Loading...
Searching...
No Matches
Helpers.hh File Reference
#include <cmath>
#include <algorithm>
#include <limits>
#include <string>
#include <iostream>
#include <vector>
#include <tuple>
#include <cstdint>
#include <ignition/math/config.hh>
#include "ignition/math/Export.hh"
Include dependency graph for Helpers.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ignition
 
namespace  ignition::math
 Math classes and function useful in robot applications.
 
namespace  ignition::math::IGNITION_MATH_VERSION_NAMESPACE
 

Macros

#define IGN_BOX_VOLUME(_x, _y, _z)   (_x *_y * _z)
 Compute box volume.
 
#define IGN_BOX_VOLUME_V(_v)   (_v.X() *_v.Y() * _v.Z())
 Compute box volume from a vector.
 
#define IGN_CYLINDER_VOLUME(_r, _l)   (_l * IGN_PI * std::pow(_r, 2))
 Compute cylinder volume.
 
#define IGN_DBL_INF   ignition::math::DPRCT_INF_D
 Double positive infinite value.
 
#define IGN_DBL_LOW   ignition::math::DPRCT_LOW_D
 Double low value, equivalent to -IGN_DBL_MAX.
 
#define IGN_DBL_MAX   ignition::math::DPRCT_MAX_D
 Double maximum value.
 
#define IGN_DBL_MIN   ignition::math::DPRCT_MIN_D
 Double min value.
 
#define IGN_FLT_INF   ignition::math::DPRCT_INF_F
 Float positive infinite value.
 
#define IGN_FLT_LOW   ignition::math::DPRCT_LOW_F
 Float lowest value, equivalent to -IGN_FLT_MAX.
 
#define IGN_FLT_MAX   ignition::math::DPRCT_MAX_F
 Float maximum value.
 
#define IGN_FLT_MIN   ignition::math::DPRCT_MIN_F
 Float minimum value.
 
#define IGN_FP_VOLATILE
 Define IGN_FP_VOLATILE for FP equality comparisons Use volatile parameters when checking floating point equality on the 387 math coprocessor to work around bugs from the 387 extra precision.
 
#define IGN_INT16_INF   ignition::math::DPRCT_INF_I16
 16-bit integer positive infinite value
 
#define IGN_INT16_LOW   ignition::math::DPRCT_LOW_I16
 16bit integer lowest value.
 
#define IGN_INT16_MAX   ignition::math::DPRCT_MAX_I16
 16bit integer maximum value
 
#define IGN_INT16_MIN   ignition::math::DPRCT_MIN_I16
 16bit integer minimum value
 
#define IGN_INT32_INF   ignition::math::DPRCT_INF_I32
 32-bit integer positive infinite value
 
#define IGN_INT32_LOW   ignition::math::DPRCT_LOW_I32
 32bit integer minimum value.
 
#define IGN_INT32_MAX   ignition::math::DPRCT_MAX_I32
 32bit integer maximum value
 
#define IGN_INT32_MIN   ignition::math::DPRCT_MIN_I32
 32bit integer minimum value
 
#define IGN_INT64_INF   ignition::math::DPRCT_INF_I64
 64-bit integer positive infinite value
 
#define IGN_INT64_LOW   ignition::math::DPRCT_LOW_I64
 64bit integer lowest value.
 
#define IGN_INT64_MAX   ignition::math::DPRCT_MAX_I64
 64bit integer maximum value
 
#define IGN_INT64_MIN   ignition::math::DPRCT_MIN_I64
 64bit integer minimum value
 
#define IGN_PI   3.14159265358979323846
 Define IGN_PI, IGN_PI_2, and IGN_PI_4.
 
#define IGN_PI_2   1.57079632679489661923
 
#define IGN_PI_4   0.78539816339744830962
 
#define IGN_SPHERE_VOLUME(_radius)   (4.0*IGN_PI*std::pow(_radius, 3)/3.0)
 Compute sphere volume.
 
#define IGN_SQRT2   1.41421356237309504880
 
#define IGN_UINT16_INF   ignition::math::DPRCT_INF_UI16
 16-bit unsigned integer positive infinite value
 
#define IGN_UINT16_LOW   ignition::math::DPRCT_LOW_UI16
 16bit unsigned integer lowest value.
 
#define IGN_UINT16_MAX   ignition::math::DPRCT_MAX_UI16
 16bit unsigned integer maximum value
 
#define IGN_UINT16_MIN   ignition::math::DPRCT_MIN_UI16
 16bit unsigned integer minimum value
 
#define IGN_UINT32_INF   ignition::math::DPRCT_INF_UI32
 32-bit unsigned integer positive infinite value
 
#define IGN_UINT32_LOW   ignition::math::DPRCT_LOW_UI32
 32bit unsigned integer lowest value.
 
#define IGN_UINT32_MAX   ignition::math::DPRCT_MAX_UI32
 32bit unsigned integer maximum value
 
#define IGN_UINT32_MIN   ignition::math::DPRCT_MIN_UI32
 32bit unsigned integer minimum value
 
#define IGN_UINT64_INF   ignition::math::DPRCT_INF_UI64
 64-bit unsigned integer positive infinite value
 
#define IGN_UINT64_LOW   ignition::math::DPRCT_LOW_UI64
 64bit unsigned integer lowest value.
 
#define IGN_UINT64_MAX   ignition::math::DPRCT_MAX_UI64
 64bit unsigned integer maximum value
 
#define IGN_UINT64_MIN   ignition::math::DPRCT_MIN_UI64
 64bit unsigned integer minimum value
 

Typedefs

using ignition::math::IGNITION_MATH_VERSION_NAMESPACE::PairInput = uint32_t
 
using ignition::math::IGNITION_MATH_VERSION_NAMESPACE::PairOutput = uint64_t
 

Functions

template<typename T >
ignition::math::IGNITION_MATH_VERSION_NAMESPACE::clamp (T _v, T _min, T _max)
 Simple clamping function.
 
template<typename T >
bool ignition::math::IGNITION_MATH_VERSION_NAMESPACE::equal (const T &_a, const T &_b, const T &_epsilon=T(1e-6))
 check if two values are equal, within a tolerance
 
double ignition::math::IGNITION_MATH_VERSION_NAMESPACE::fixnan (double _v)
 Fix a nan value.
 
float ignition::math::IGNITION_MATH_VERSION_NAMESPACE::fixnan (float _v)
 Fix a nan value.
 
template<typename T >
bool ignition::math::IGNITION_MATH_VERSION_NAMESPACE::greaterOrNearEqual (const T &_a, const T &_b, const T &_epsilon=1e-6)
 inequality test, within a tolerance
 
static const double ignition::math::IGNITION_MATH_VERSION_NAMESPACE::IGN_DEPRECATED (3) DPRCT_MAX_D = MIN_D
 
bool ignition::math::IGNITION_MATH_VERSION_NAMESPACE::isEven (const int _v)
 Check if parameter is even.
 
bool ignition::math::IGNITION_MATH_VERSION_NAMESPACE::isEven (const unsigned int _v)
 Check if parameter is even.
 
bool ignition::math::IGNITION_MATH_VERSION_NAMESPACE::isnan (double _v)
 check if a double is NaN
 
bool ignition::math::IGNITION_MATH_VERSION_NAMESPACE::isnan (float _v)
 check if a float is NaN
 
bool ignition::math::IGNITION_MATH_VERSION_NAMESPACE::isOdd (const int _v)
 Check if parameter is odd.
 
bool ignition::math::IGNITION_MATH_VERSION_NAMESPACE::isOdd (const unsigned int _v)
 Check if parameter is odd.
 
bool ignition::math::IGNITION_MATH_VERSION_NAMESPACE::isPowerOfTwo (unsigned int _x)
 Is this a power of 2?
 
template<typename T >
bool ignition::math::IGNITION_MATH_VERSION_NAMESPACE::lessOrNearEqual (const T &_a, const T &_b, const T &_epsilon=1e-6)
 inequality test, within a tolerance
 
template<typename T >
ignition::math::IGNITION_MATH_VERSION_NAMESPACE::max (const std::vector< T > &_values)
 get the maximum value of vector of values
 
template<typename T >
ignition::math::IGNITION_MATH_VERSION_NAMESPACE::mean (const std::vector< T > &_values)
 get mean of vector of values
 
template<typename T >
ignition::math::IGNITION_MATH_VERSION_NAMESPACE::min (const std::vector< T > &_values)
 get the minimum value of vector of values
 
PairOutput IGNITION_MATH_VISIBLE ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Pair (const PairInput _a, const PairInput _b)
 A pairing function that maps two values to a unique third value.
 
double ignition::math::IGNITION_MATH_VERSION_NAMESPACE::parseFloat (const std::string &_input)
 parse string into float
 
int ignition::math::IGNITION_MATH_VERSION_NAMESPACE::parseInt (const std::string &_input)
 parse string into an integer
 
template<typename T >
ignition::math::IGNITION_MATH_VERSION_NAMESPACE::precision (const T &_a, const unsigned int &_precision)
 get value at a specified precision
 
unsigned int ignition::math::IGNITION_MATH_VERSION_NAMESPACE::roundUpPowerOfTwo (unsigned int _x)
 Get the smallest power of two that is greater or equal to a given value.
 
template<typename T >
int ignition::math::IGNITION_MATH_VERSION_NAMESPACE::sgn (T _value)
 The signum function.
 
template<typename T >
int ignition::math::IGNITION_MATH_VERSION_NAMESPACE::signum (T _value)
 The signum function.
 
template<typename T >
void ignition::math::IGNITION_MATH_VERSION_NAMESPACE::sort2 (T &_a, T &_b)
 Sort two numbers, such that _a <= _b.
 
template<typename T >
void ignition::math::IGNITION_MATH_VERSION_NAMESPACE::sort3 (T &_a, T &_b, T &_c)
 Sort three numbers, such that _a <= _b <= _c.
 
std::tuple< PairInput, PairInput > IGNITION_MATH_VISIBLE ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Unpair (const PairOutput _key)
 The reverse of the Pair function.
 
template<typename T >
ignition::math::IGNITION_MATH_VERSION_NAMESPACE::variance (const std::vector< T > &_values)
 get variance of vector of values
 

Variables

static const size_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::IGN_EIGHT_SIZE_T = 8u
 size_t type with a value of 8
 
static const size_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::IGN_FIVE_SIZE_T = 5u
 size_t type with a value of 5
 
static const size_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::IGN_FOUR_SIZE_T = 4u
 size_t type with a value of 4
 
static const size_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::IGN_NINE_SIZE_T = 9u
 size_t type with a value of 9
 
static const size_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::IGN_ONE_SIZE_T = 1u
 size_t type with a value of 1
 
static const size_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::IGN_SEVEN_SIZE_T = 7u
 size_t type with a value of 7
 
static const size_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::IGN_SIX_SIZE_T = 6u
 size_t type with a value of 6
 
static const size_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::IGN_THREE_SIZE_T = 3u
 size_t type with a value of 3
 
static const size_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::IGN_TWO_SIZE_T = 2u
 size_t type with a value of 2
 
static const size_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::IGN_ZERO_SIZE_T = 0u
 size_t type with a value of 0
 
static const double ignition::math::IGNITION_MATH_VERSION_NAMESPACE::INF_D = std::numeric_limits<double>::infinity()
 Double positive infinite value.
 
static const float ignition::math::IGNITION_MATH_VERSION_NAMESPACE::INF_F = std::numeric_limits<float>::infinity()
 float positive infinite value
 
static const int16_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::INF_I16 = std::numeric_limits<int16_t>::infinity()
 16-bit unsigned integer positive infinite value
 
static const int32_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::INF_I32 = std::numeric_limits<int32_t>::infinity()
 32-bit unsigned integer positive infinite value
 
static const int64_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::INF_I64 = std::numeric_limits<int64_t>::infinity()
 64-bit unsigned integer positive infinite value
 
static const uint16_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::INF_UI16 = std::numeric_limits<uint16_t>::infinity()
 16-bit unsigned integer positive infinite value
 
static const uint32_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::INF_UI32 = std::numeric_limits<uint32_t>::infinity()
 32-bit unsigned integer positive infinite value
 
static const uint64_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::INF_UI64 = std::numeric_limits<uint64_t>::infinity()
 64-bit unsigned integer positive infinite value
 
static const double ignition::math::IGNITION_MATH_VERSION_NAMESPACE::LOW_D = std::numeric_limits<double>::lowest()
 Double low value, equivalent to -MAX_D.
 
static const float ignition::math::IGNITION_MATH_VERSION_NAMESPACE::LOW_F = std::numeric_limits<float>::lowest()
 Float low value, equivalent to -MAX_F.
 
static const int16_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::LOW_I16 = std::numeric_limits<int16_t>::lowest()
 16bit unsigned integer lowest value.
 
static const int32_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::LOW_I32 = std::numeric_limits<int32_t>::lowest()
 32bit unsigned integer lowest value.
 
static const int64_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::LOW_I64 = std::numeric_limits<int64_t>::lowest()
 64bit unsigned integer lowest value.
 
static const uint16_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::LOW_UI16 = std::numeric_limits<uint16_t>::lowest()
 16bit unsigned integer lowest value.
 
static const uint32_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::LOW_UI32 = std::numeric_limits<uint32_t>::lowest()
 32bit unsigned integer lowest value.
 
static const uint64_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::LOW_UI64 = std::numeric_limits<uint64_t>::lowest()
 64bit unsigned integer lowest value.
 
static const double ignition::math::IGNITION_MATH_VERSION_NAMESPACE::MAX_D = std::numeric_limits<double>::max()
 Double maximum value. This value will be similar to 1.79769e+308.
 
static const float ignition::math::IGNITION_MATH_VERSION_NAMESPACE::MAX_F = std::numeric_limits<float>::max()
 Float maximum value. This value will be similar to 3.40282e+38.
 
static const int16_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::MAX_I16 = std::numeric_limits<int16_t>::max()
 16bit unsigned integer maximum value
 
static const int32_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::MAX_I32 = std::numeric_limits<int32_t>::max()
 32bit unsigned integer maximum value
 
static const int64_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::MAX_I64 = std::numeric_limits<int64_t>::max()
 64bit unsigned integer maximum value
 
static const uint16_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::MAX_UI16 = std::numeric_limits<uint16_t>::max()
 16bit unsigned integer maximum value
 
static const uint32_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::MAX_UI32 = std::numeric_limits<uint32_t>::max()
 32bit unsigned integer maximum value
 
static const uint64_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::MAX_UI64 = std::numeric_limits<uint64_t>::max()
 64bit unsigned integer maximum value
 
static const double ignition::math::IGNITION_MATH_VERSION_NAMESPACE::MIN_D = std::numeric_limits<double>::min()
 Double min value. This value will be similar to 2.22507e-308.
 
static const float ignition::math::IGNITION_MATH_VERSION_NAMESPACE::MIN_F = std::numeric_limits<float>::min()
 Float minimum value. This value will be similar to 1.17549e-38.
 
static const int16_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::MIN_I16 = std::numeric_limits<int16_t>::min()
 16bit unsigned integer minimum value
 
static const int32_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::MIN_I32 = std::numeric_limits<int32_t>::min()
 32bit unsigned integer minimum value
 
static const int64_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::MIN_I64 = std::numeric_limits<int64_t>::min()
 64bit unsigned integer minimum value
 
static const uint16_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::MIN_UI16 = std::numeric_limits<uint16_t>::min()
 16bit unsigned integer minimum value
 
static const uint32_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::MIN_UI32 = std::numeric_limits<uint32_t>::min()
 32bit unsigned integer minimum value
 
static const uint64_t ignition::math::IGNITION_MATH_VERSION_NAMESPACE::MIN_UI64 = std::numeric_limits<uint64_t>::min()
 64bit unsigned integer minimum value
 
static const double ignition::math::IGNITION_MATH_VERSION_NAMESPACE::NAN_D = std::numeric_limits<double>::quiet_NaN()
 Returns the representation of a quiet not a number (NAN)
 
static const float ignition::math::IGNITION_MATH_VERSION_NAMESPACE::NAN_F = std::numeric_limits<float>::quiet_NaN()
 Returns the representation of a quiet not a number (NAN)
 
static const int ignition::math::IGNITION_MATH_VERSION_NAMESPACE::NAN_I = std::numeric_limits<int>::quiet_NaN()
 Returns the representation of a quiet not a number (NAN)
 

Macro Definition Documentation

◆ IGN_BOX_VOLUME

#define IGN_BOX_VOLUME ( _x,
_y,
_z )   (_x *_y * _z)

Compute box volume.

Parameters
[in]_xX length
[in]_yY length
[in]_zZ length

◆ IGN_BOX_VOLUME_V

#define IGN_BOX_VOLUME_V ( _v)    (_v.X() *_v.Y() * _v.Z())

Compute box volume from a vector.

Parameters
[in]_vVector3d that contains the box's dimensions.

◆ IGN_CYLINDER_VOLUME

#define IGN_CYLINDER_VOLUME ( _r,
_l )   (_l * IGN_PI * std::pow(_r, 2))

Compute cylinder volume.

Parameters
[in]_rCylinder base radius
[in]_lCylinder length

◆ IGN_DBL_INF

#define IGN_DBL_INF   ignition::math::DPRCT_INF_D

Double positive infinite value.

Deprecated
Use static const value instead.

◆ IGN_DBL_LOW

#define IGN_DBL_LOW   ignition::math::DPRCT_LOW_D

Double low value, equivalent to -IGN_DBL_MAX.

Deprecated
Use static const value instead.

◆ IGN_DBL_MAX

#define IGN_DBL_MAX   ignition::math::DPRCT_MAX_D

Double maximum value.

This value will be similar to 1.79769e+308

Deprecated
Use static const value instead.

◆ IGN_DBL_MIN

#define IGN_DBL_MIN   ignition::math::DPRCT_MIN_D

Double min value.

This value will be similar to 2.22507e-308

Deprecated
Use static const value instead.

◆ IGN_FLT_INF

#define IGN_FLT_INF   ignition::math::DPRCT_INF_F

Float positive infinite value.

Deprecated
Use static const value instead.

◆ IGN_FLT_LOW

#define IGN_FLT_LOW   ignition::math::DPRCT_LOW_F

Float lowest value, equivalent to -IGN_FLT_MAX.

Deprecated
Use static const value instead.

◆ IGN_FLT_MAX

#define IGN_FLT_MAX   ignition::math::DPRCT_MAX_F

Float maximum value.

This value will be similar to 3.40282e+38

Deprecated
Use static const value instead.

◆ IGN_FLT_MIN

#define IGN_FLT_MIN   ignition::math::DPRCT_MIN_F

Float minimum value.

This value will be similar to 1.17549e-38

Deprecated
Use static const value instead.

◆ IGN_FP_VOLATILE

#define IGN_FP_VOLATILE

Define IGN_FP_VOLATILE for FP equality comparisons Use volatile parameters when checking floating point equality on the 387 math coprocessor to work around bugs from the 387 extra precision.

◆ IGN_INT16_INF

#define IGN_INT16_INF   ignition::math::DPRCT_INF_I16

16-bit integer positive infinite value

Deprecated
Use static const value instead.

◆ IGN_INT16_LOW

#define IGN_INT16_LOW   ignition::math::DPRCT_LOW_I16

16bit integer lowest value.

This is equivalent to IGN_INT16_MIN, and is defined here for completeness.

Deprecated
Use static const value instead.

◆ IGN_INT16_MAX

#define IGN_INT16_MAX   ignition::math::DPRCT_MAX_I16

16bit integer maximum value

Deprecated
Use static const value instead.

◆ IGN_INT16_MIN

#define IGN_INT16_MIN   ignition::math::DPRCT_MIN_I16

16bit integer minimum value

Deprecated
Use static const value instead.

◆ IGN_INT32_INF

#define IGN_INT32_INF   ignition::math::DPRCT_INF_I32

32-bit integer positive infinite value

Deprecated
Use static const value instead.

◆ IGN_INT32_LOW

#define IGN_INT32_LOW   ignition::math::DPRCT_LOW_I32

32bit integer minimum value.

This is equivalent to IGN_INT32_MIN, and is defined here for completeness.

Deprecated
Use static const value instead.

◆ IGN_INT32_MAX

#define IGN_INT32_MAX   ignition::math::DPRCT_MAX_I32

32bit integer maximum value

Deprecated
Use static const value instead.

◆ IGN_INT32_MIN

#define IGN_INT32_MIN   ignition::math::DPRCT_MIN_I32

32bit integer minimum value

Deprecated
Use static const value instead.

◆ IGN_INT64_INF

#define IGN_INT64_INF   ignition::math::DPRCT_INF_I64

64-bit integer positive infinite value

Deprecated
Use static const value instead.

◆ IGN_INT64_LOW

#define IGN_INT64_LOW   ignition::math::DPRCT_LOW_I64

64bit integer lowest value.

This is equivalent to IGN_INT64_MIN, and is defined here for completeness.

Deprecated
Use static const value instead.

◆ IGN_INT64_MAX

#define IGN_INT64_MAX   ignition::math::DPRCT_MAX_I64

64bit integer maximum value

Deprecated
Use static const value instead.

◆ IGN_INT64_MIN

#define IGN_INT64_MIN   ignition::math::DPRCT_MIN_I64

64bit integer minimum value

Deprecated
Use static const value instead.

◆ IGN_PI

◆ IGN_PI_2

#define IGN_PI_2   1.57079632679489661923

◆ IGN_PI_4

#define IGN_PI_4   0.78539816339744830962

◆ IGN_SPHERE_VOLUME

#define IGN_SPHERE_VOLUME ( _radius)    (4.0*IGN_PI*std::pow(_radius, 3)/3.0)

Compute sphere volume.

Parameters
[in]_radiusSphere radius

◆ IGN_SQRT2

#define IGN_SQRT2   1.41421356237309504880

◆ IGN_UINT16_INF

#define IGN_UINT16_INF   ignition::math::DPRCT_INF_UI16

16-bit unsigned integer positive infinite value

Deprecated
Use static const value instead.

◆ IGN_UINT16_LOW

#define IGN_UINT16_LOW   ignition::math::DPRCT_LOW_UI16

16bit unsigned integer lowest value.

This is equivalent to IGN_UINT16_MIN, and is defined here for completeness.

Deprecated
Use static const value instead.

◆ IGN_UINT16_MAX

#define IGN_UINT16_MAX   ignition::math::DPRCT_MAX_UI16

16bit unsigned integer maximum value

Deprecated
Use static const value instead.

◆ IGN_UINT16_MIN

#define IGN_UINT16_MIN   ignition::math::DPRCT_MIN_UI16

16bit unsigned integer minimum value

Deprecated
Use static const value instead.

◆ IGN_UINT32_INF

#define IGN_UINT32_INF   ignition::math::DPRCT_INF_UI32

32-bit unsigned integer positive infinite value

Deprecated
Use static const value instead.

◆ IGN_UINT32_LOW

#define IGN_UINT32_LOW   ignition::math::DPRCT_LOW_UI32

32bit unsigned integer lowest value.

This is equivalent to IGN_UINT32_MIN, and is defined here for completeness.

Deprecated
Use static const value instead.

◆ IGN_UINT32_MAX

#define IGN_UINT32_MAX   ignition::math::DPRCT_MAX_UI32

32bit unsigned integer maximum value

Deprecated
Use static const value instead.

◆ IGN_UINT32_MIN

#define IGN_UINT32_MIN   ignition::math::DPRCT_MIN_UI32

32bit unsigned integer minimum value

Deprecated
Use static const value instead.

◆ IGN_UINT64_INF

#define IGN_UINT64_INF   ignition::math::DPRCT_INF_UI64

64-bit unsigned integer positive infinite value

Deprecated
Use static const value instead.

◆ IGN_UINT64_LOW

#define IGN_UINT64_LOW   ignition::math::DPRCT_LOW_UI64

64bit unsigned integer lowest value.

This is equivalent to IGN_UINT64_MIN, and is defined here for completeness.

Deprecated
Use static const value instead.

◆ IGN_UINT64_MAX

#define IGN_UINT64_MAX   ignition::math::DPRCT_MAX_UI64

64bit unsigned integer maximum value

Deprecated
Use static const value instead.

◆ IGN_UINT64_MIN

#define IGN_UINT64_MIN   ignition::math::DPRCT_MIN_UI64

64bit unsigned integer minimum value

Deprecated
Use static const value instead.