Public Member Functions | Static Public Member Functions | Public Attributes

Lib3D.Vector2 Struct Reference

List of all members.

Public Member Functions

 Vector2 (double x, double y)
 Vector2 (string value)
double Length ()
double LengthSquared ()
void Normalize ()
override string ToString ()
bool Equals (Vector2 vec)

Static Public Member Functions

static Vector2 Normalize (Vector2 vec)
static Vector2 operator+ (Vector2 a, Vector2 b)
static Vector2 operator- (Vector2 a, Vector2 b)
static Vector2 operator- (Vector2 vec)
static Vector2 operator* (Vector2 a, Vector2 b)
static Vector2 operator* (Vector2 a, double b)
static Vector2 operator* (double a, Vector2 b)
static Vector2 operator/ (Vector2 a, Vector2 b)
static Vector2 operator/ (Vector2 a, double b)
static double Dot (Vector2 a, Vector2 b)

Public Attributes

double X
double Y

Constructor & Destructor Documentation

Lib3D.Vector2.Vector2 ( double  x,
double  y 
)
Lib3D.Vector2.Vector2 ( string  value  ) 

Member Function Documentation

static double Lib3D.Vector2.Dot ( Vector2  a,
Vector2  b 
) [static]
bool Lib3D.Vector2.Equals ( Vector2  vec  ) 
double Lib3D.Vector2.Length (  ) 
double Lib3D.Vector2.LengthSquared (  ) 
static Vector2 Lib3D.Vector2.Normalize ( Vector2  vec  )  [static]
void Lib3D.Vector2.Normalize (  ) 
static Vector2 Lib3D.Vector2.operator* ( Vector2  a,
Vector2  b 
) [static]
static Vector2 Lib3D.Vector2.operator* ( Vector2  a,
double  b 
) [static]
static Vector2 Lib3D.Vector2.operator* ( double  a,
Vector2  b 
) [static]
static Vector2 Lib3D.Vector2.operator+ ( Vector2  a,
Vector2  b 
) [static]
static Vector2 Lib3D.Vector2.operator- ( Vector2  vec  )  [static]
static Vector2 Lib3D.Vector2.operator- ( Vector2  a,
Vector2  b 
) [static]
static Vector2 Lib3D.Vector2.operator/ ( Vector2  a,
double  b 
) [static]
static Vector2 Lib3D.Vector2.operator/ ( Vector2  a,
Vector2  b 
) [static]
override string Lib3D.Vector2.ToString (  ) 

Member Data Documentation


The documentation for this struct was generated from the following file: