DVector

struct HPS.DVector

Public Functions

DVector Cross (DVector v)
double Dot (DVector v)
DVector (double in_x, double in_y, double in_z)
DVector (DPoint p)
DVector (DVector v)
bool Equals (DPoint p)
bool Equals (DVector p)
override bool Equals (object obj)
override int GetHashCode ()
double Length ()
double Length2D ()
double LengthSquared ()
double LengthSquared2D ()
double Magnitude ()
double Manhattan ()
DVector Normalize (bool check_range = false, double epsilon = 1.0e-20)
DVector Normalize (double epsilon)
DVector Scale (DVector v)

Public Members

double x
double y
double z

Public Static Functions

bool operator!= (DVector p1, DVector p2)
DVector operator* (double f, DVector v)
DVector operator* (DVector v, double s)
DVector operator+ (DVector v1, DVector v2)
DVector operator- (DVector v1, DVector v2)
DVector operator/ (DVector v, double s)
bool operator== (DVector p1, DVector p2)
DVector Unit ()
DVector XAxis ()
DVector YAxis ()
DVector ZAxis ()
DVector Zero ()