oaBaseTypes.inl File Reference


Defines

#define oaBaseTypes_I
#define oaKitInit
#define defRelTol   0.0001f
#define roundOffAngle   0.0001f

Functions

void oaInitAppBuild (const char *buildName)
void oaBaseInitAppBuild (const char *buildName)
oaBoolean oaIsFloatEqual (oaDouble val1, oaDouble val2, oaDouble relTol=defRelTol)
oaInt4 oaRound (oaDouble v)
oaUInt8 oaRoundToUInt8 (oaDouble v)
template<class obj> obj oaMin (obj v1, obj v2)
template<class obj> obj oaMax (obj v1, obj v2)
oaUInt4 oaLog2 (oaUInt4 num)
oaUInt4 oaRoundUpToPow2 (oaUInt4 val)
template<class obj> obj oaRoundUpToGranularity (obj val, obj gran)
template<class obj> obj oaRoundDownToGranularity (obj val, obj gran)
OA_BASE_DLL_API void oaSleep (oaUInt4 sec)
oaBoolean oaStrIsEqual (const char *str1, const char *str2, oaBoolean ignoreCase)
oaUInt4 oaStrLen (const char *stringIn)
template<class T> oaBoolean oaIsMemEq (const T *a, const T *b, oaUInt4 numElements)
oaBoolean isNon90Angle (oaDouble angle)

Define Documentation

#define defRelTol   0.0001f
 

#define oaBaseTypes_I
 

#define oaKitInit
 

#define roundOffAngle   0.0001f
 


Function Documentation

oaBoolean isNon90Angle oaDouble    angle [inline]
 

void oaBaseInitAppBuild const char *    buildName
 

void oaInitAppBuild const char *    buildName
 

oaBoolean oaIsFloatEqual oaDouble    val1,
oaDouble    val2,
oaDouble    relTol = defRelTol
[inline]
 

template<class T>
oaBoolean oaIsMemEq const T *    a,
const T *    b,
oaUInt4    numElements
[inline]
 

oaUInt4 oaLog2 oaUInt4    num [inline]
 

template<class obj>
obj oaMax obj    v1,
obj    v2
[inline]
 

template<class obj>
obj oaMin obj    v1,
obj    v2
[inline]
 

oaInt4 oaRound oaDouble    v [inline]
 

template<class obj>
obj oaRoundDownToGranularity obj    val,
obj    gran
[inline]
 

oaUInt8 oaRoundToUInt8 oaDouble    v [inline]
 

template<class obj>
obj oaRoundUpToGranularity obj    val,
obj    gran
[inline]
 

oaUInt4 oaRoundUpToPow2 oaUInt4    val [inline]
 

OA_BASE_DLL_API void oaSleep oaUInt4    sec
 

oaBoolean oaStrIsEqual const char *    str1,
const char *    str2,
oaBoolean    ignoreCase
[inline]
 

oaUInt4 oaStrLen const char *    stringIn [inline]
 

Return to top of page