Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
CMath Class Reference

#include <CMath.hpp>

Public Member Functions

 CMath ()=delete
 
 CMath (const CMath &other)=delete
 
 CMath (CMath &&other)=delete
 
 ~CMath ()=delete
 
CMath operator= (const CMath &other)=delete
 
CMath operator= (CMath &&other)=delete
 

Static Public Member Functions

static double separationBetweenElements (double valueMin, double valueMax, uint64_t numElements)
 
static double convertDegreeToRadian (double degree)
 
static double convertRadianToDegree (double degree)
 
static int64_t mmToDp (int64_t sizeMm)
 
static enum CEnumCommon::ECompare compare (double d1, double d2, double tolerance)
 
static enum CEnumCommon::ECompare compare (uint64_t long1, uint64_t long2)
 
static bool isInLimit (double t, double min, double max, double precision)
 
static bool isNotValueChannel (double d)
 
static bool isSameSign (double value1, double value2, double precision)
 
static void swap (double *a, double *b)
 
static double getInterpolationTable (double interpolationEntry, double interpolationEntryMin, double interpolationEntryMax, double valueMin, double valueMax, double precision)
 
static double valueInterpolation (double valueNormalized, double valueMin, double valueMax)
 
static double valueNormalized (double value, double valueMin, double valueMax)
 

Static Public Attributes

static const double kGravity = 9.81
 
static const double kPAtmosphere = 1.01325
 
static const double kNaN = static_cast<double>(0xfff80000)
 
static const double kNauticalMile = 1852
 
static const long double kPI = M_PIl
 
static constexpr int32_t kMicrosecondsPerMs = 1000
 
static constexpr int32_t kMillisecondsPerSec = 1000
 
static constexpr int32_t kMicrosecondsPerSec = 1000000
 
static constexpr int32_t kBitsPerByte = 8
 

Constructor & Destructor Documentation

◆ CMath() [1/3]

CMath::CMath ( )
delete

◆ CMath() [2/3]

CMath::CMath ( const CMath & other)
delete

◆ CMath() [3/3]

CMath::CMath ( CMath && other)
delete

◆ ~CMath()

CMath::~CMath ( )
delete

Member Function Documentation

◆ compare() [1/2]

CEnumCommon::ECompare CMath::compare ( double d1,
double d2,
double tolerance )
static

◆ compare() [2/2]

CEnumCommon::ECompare CMath::compare ( uint64_t long1,
uint64_t long2 )
static

◆ convertDegreeToRadian()

double CMath::convertDegreeToRadian ( double degree)
static

◆ convertRadianToDegree()

double CMath::convertRadianToDegree ( double degree)
static

◆ getInterpolationTable()

double CMath::getInterpolationTable ( double interpolationEntry,
double interpolationEntryMin,
double interpolationEntryMax,
double valueMin,
double valueMax,
double precision )
static

◆ isInLimit()

bool CMath::isInLimit ( double t,
double min,
double max,
double precision )
static

◆ isNotValueChannel()

bool CMath::isNotValueChannel ( double d)
static

◆ isSameSign()

bool CMath::isSameSign ( double value1,
double value2,
double precision )
static

◆ mmToDp()

int64_t CMath::mmToDp ( int64_t sizeMm)
static

◆ operator=() [1/2]

CMath CMath::operator= ( CMath && other)
delete

◆ operator=() [2/2]

CMath CMath::operator= ( const CMath & other)
delete

◆ separationBetweenElements()

double CMath::separationBetweenElements ( double valueMin,
double valueMax,
uint64_t numElements )
static

◆ swap()

void CMath::swap ( double * a,
double * b )
static

◆ valueInterpolation()

double CMath::valueInterpolation ( double valueNormalized,
double valueMin,
double valueMax )
static

◆ valueNormalized()

double CMath::valueNormalized ( double value,
double valueMin,
double valueMax )
static

Member Data Documentation

◆ kBitsPerByte

int32_t CMath::kBitsPerByte = 8
inlinestaticconstexpr

◆ kGravity

const double CMath::kGravity = 9.81
inlinestatic

◆ kMicrosecondsPerMs

int32_t CMath::kMicrosecondsPerMs = 1000
inlinestaticconstexpr

◆ kMicrosecondsPerSec

int32_t CMath::kMicrosecondsPerSec = 1000000
inlinestaticconstexpr

◆ kMillisecondsPerSec

int32_t CMath::kMillisecondsPerSec = 1000
inlinestaticconstexpr

◆ kNaN

const double CMath::kNaN = static_cast<double>(0xfff80000)
inlinestatic

◆ kNauticalMile

const double CMath::kNauticalMile = 1852
inlinestatic

◆ kPAtmosphere

const double CMath::kPAtmosphere = 1.01325
inlinestatic

◆ kPI

const long double CMath::kPI = M_PIl
inlinestatic

The documentation for this class was generated from the following files: