libMVRgdtf 40bc00a
A library for GDTF and MVR
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
VectorworksMVR::VWFC::Math::MathUtils Class Reference

#include <VWMathUtils.h>

Static Public Member Functions

static bool Equalish (double num1, double num2, double dEpsilon)
 
static bool Equalish (const VWPoint2D &a, const VWPoint2D &b, double dEpsilon)
 
static bool Equalish (const VWPoint3D &a, const VWPoint3D &b, double dEpsilon)
 
static bool Equalish (double ax, double ay, double bx, double by, double dEpsilon)
 
static bool GEish (double num1, double num2, double dEpsilon)
 
static bool LEish (double num1, double num2, double dEpsilon)
 
static bool Greaterish (double num1, double num2, double dEpsilon)
 
static bool Lesserish (double num1, double num2, double dEpsilon)
 
static bool IsBetween (double a, double b, double c, double dEpsilon)
 
static bool IsBetween (const VWPoint2D &a, const VWPoint2D &b, const VWPoint2D &c, double dEpsilon)
 
static double FixedAngle (const VWPoint2D &p1, const VWPoint2D &p2)
 
static double SpecialSin (double ang)
 
static double SpecialCos (double ang)
 
static double Rad2Deg (double radAng)
 
static double Deg2Rad (double degAng)
 
static double RealRandom (double a1, double a2)
 
static double Sign (const double dNum)
 
static double CalculateInterpolatedValue (double a, double b, double len, double interpolationLen)
 

Static Public Attributes

static double PI = 3.1415926535897932384626433832795
 
static double PI2 = 6.283185307179586476925286766559
 
static double PIOver2 = 1.5707963267948966192313216916398
 
static double PIOver4 = 0.78539816339744830961566084581988
 
static double PI3Over2 = 4.7123889803846898576939650749193
 

Protected Member Functions

 MathUtils ()
 
virtual ~MathUtils ()
 

Constructor & Destructor Documentation

◆ MathUtils()

MathUtils::MathUtils ( )
protected

◆ ~MathUtils()

MathUtils::~MathUtils ( )
protectedvirtual

Member Function Documentation

◆ CalculateInterpolatedValue()

double MathUtils::CalculateInterpolatedValue ( double  a,
double  b,
double  len,
double  interpolationLen 
)
static

◆ Deg2Rad()

double MathUtils::Deg2Rad ( double  degAng)
static

◆ Equalish() [1/4]

bool MathUtils::Equalish ( const VWPoint2D a,
const VWPoint2D b,
double  dEpsilon 
)
static

◆ Equalish() [2/4]

bool MathUtils::Equalish ( const VWPoint3D a,
const VWPoint3D b,
double  dEpsilon 
)
static

◆ Equalish() [3/4]

bool MathUtils::Equalish ( double  ax,
double  ay,
double  bx,
double  by,
double  dEpsilon 
)
static

◆ Equalish() [4/4]

bool MathUtils::Equalish ( double  num1,
double  num2,
double  dEpsilon 
)
static

◆ FixedAngle()

double MathUtils::FixedAngle ( const VWPoint2D p1,
const VWPoint2D p2 
)
static

◆ GEish()

bool MathUtils::GEish ( double  num1,
double  num2,
double  dEpsilon 
)
static

◆ Greaterish()

bool MathUtils::Greaterish ( double  num1,
double  num2,
double  dEpsilon 
)
static

◆ IsBetween() [1/2]

bool MathUtils::IsBetween ( const VWPoint2D a,
const VWPoint2D b,
const VWPoint2D c,
double  dEpsilon 
)
static

◆ IsBetween() [2/2]

bool MathUtils::IsBetween ( double  a,
double  b,
double  c,
double  dEpsilon 
)
static

◆ LEish()

bool MathUtils::LEish ( double  num1,
double  num2,
double  dEpsilon 
)
static

◆ Lesserish()

bool MathUtils::Lesserish ( double  num1,
double  num2,
double  dEpsilon 
)
static

◆ Rad2Deg()

double MathUtils::Rad2Deg ( double  radAng)
static

◆ RealRandom()

double MathUtils::RealRandom ( double  a1,
double  a2 
)
static

◆ Sign()

double MathUtils::Sign ( const double  dNum)
static

◆ SpecialCos()

double MathUtils::SpecialCos ( double  ang)
static

◆ SpecialSin()

double MathUtils::SpecialSin ( double  ang)
static

Member Data Documentation

◆ PI

double MathUtils::PI = 3.1415926535897932384626433832795
static

◆ PI2

double MathUtils::PI2 = 6.283185307179586476925286766559
static

◆ PI3Over2

double MathUtils::PI3Over2 = 4.7123889803846898576939650749193
static

◆ PIOver2

double MathUtils::PIOver2 = 1.5707963267948966192313216916398
static

◆ PIOver4

double MathUtils::PIOver4 = 0.78539816339744830961566084581988
static

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