All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Eegeo::dv2 Class Reference

Public Member Functions

 dv2 (const dv2 &src)
 
 dv2 (double x, double y)
 
 dv2 (double *pSrc)
 
void Set (const dv2 &src)
 
void Set (double x, double y)
 
void SetZero ()
 
double GetX () const
 
double GetY () const
 
void SetX (double data)
 
void SetY (double data)
 
dv2 SplatX () const
 
dv2 SplatY () const
 
double Length () const
 
double LengthSq () const
 
dv2 Norm () const
 
v2 ToSingle () const
 
dv2 operator- () const
 
dv2 operator+ (const dv2 &rhs) const
 
dv2 operator- (const dv2 &rhs) const
 
dv2 operator* (const dv2 &rhs) const
 
dv2 operator/ (const dv2 &rhs) const
 
dv2 operator* (const double rhs) const
 
dv2 operator/ (const double rhs) const
 
dv2operator+= (const dv2 &rhs)
 
dv2operator-= (const dv2 &rhs)
 
dv2operator*= (const dv2 &rhs)
 
dv2operator/= (const dv2 &rhs)
 
dv2operator*= (const double rhs)
 
dv2operator/= (const double rhs)
 

Static Public Member Functions

static dv2 Add (const dv2 &src1, const dv2 &src2)
 
static dv2 Sub (const dv2 &src1, const dv2 &src2)
 
static dv2 Mul (const dv2 &src1, const dv2 &src2)
 
static dv2 Div (const dv2 &src1, const dv2 &src2)
 
static dv2 Scale (const dv2 &src1, double scale)
 
static dv2 InvScale (const dv2 &src1, double scale)
 
static dv2 Neg (const dv2 &src)
 
static double Dot (const dv2 &src1, const dv2 &src2)
 
static dv2 Lerp (const dv2 &src1, const dv2 &src2, double ratio)
 
static v2 ToSingle (const dv2 &src)
 
static dv2 Min (const dv2 &src1, const dv2 &src2)
 
static dv2 Max (const dv2 &src1, const dv2 &src2)
 
static bool IsFinite (const dv2 &v)
 
static const dv2 Zero ()
 
static const dv2 One ()
 

Public Attributes

double x
 
double y
 

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