Public Member Functions

DVector Cross (DVector v)
 
double Dot (DVector v)
 
 DVector (double in_x, double in_y, double in_z)
 
 DVector (DVector v)
 
 DVector (DPoint p)
 
override bool Equals (object obj)
 
bool Equals (DVector p)
 
bool Equals (DPoint p)
 
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)
 

Static Public Member Functions

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

Public Attributes

double x
 
double y
 
double z
 

The documentation for this struct was generated from the following file:
  • internals/hps_core/source/cs/HPS.DVector.cs