Public Member Functions | Static Public Member Functions | Public Attributes

Lib3D.Vector3 Struct Reference

List of all members.

Public Member Functions

 Vector3 (double x, double y, double z)
 Vector3 (string value)
void CopyTo (float[] array, float pad)
void CopyTo (double[] array, double pad)
double Length ()
double LengthSquared ()
void Normalize ()
override string ToString ()
bool Equals (Vector3 vec)

Static Public Member Functions

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

Public Attributes

double X
double Y
double Z

Constructor & Destructor Documentation

Lib3D.Vector3.Vector3 ( double  x,
double  y,
double  z 
)
Lib3D.Vector3.Vector3 ( string  value  ) 

Member Function Documentation

void Lib3D.Vector3.CopyTo ( float[]  array,
float  pad 
)
void Lib3D.Vector3.CopyTo ( double[]  array,
double  pad 
)
static Vector3 Lib3D.Vector3.Cross ( Vector3  a,
Vector3  b 
) [static]
static double Lib3D.Vector3.Dot ( Vector3  a,
Vector3  b 
) [static]
bool Lib3D.Vector3.Equals ( Vector3  vec  ) 
double Lib3D.Vector3.Length (  ) 
double Lib3D.Vector3.LengthSquared (  ) 
static Vector3 Lib3D.Vector3.Normalize ( Vector3  vec  )  [static]
void Lib3D.Vector3.Normalize (  ) 
static Vector3 Lib3D.Vector3.operator* ( Vector3  a,
double  b 
) [static]
static Vector3 Lib3D.Vector3.operator* ( Vector3  a,
Vector3  b 
) [static]
static Vector3 Lib3D.Vector3.operator* ( double  a,
Vector3  b 
) [static]
static Vector3 Lib3D.Vector3.operator+ ( Vector3  a,
Vector3  b 
) [static]
static Vector3 Lib3D.Vector3.operator- ( Vector3  vec  )  [static]
static Vector3 Lib3D.Vector3.operator- ( Vector3  a,
Vector3  b 
) [static]
static Vector3 Lib3D.Vector3.operator/ ( Vector3  a,
double  b 
) [static]
static Vector3 Lib3D.Vector3.operator/ ( Vector3  a,
Vector3  b 
) [static]
override string Lib3D.Vector3.ToString (  ) 

Member Data Documentation


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