Public Member Functions

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

Static Public Member Functions

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

Public Attributes

float x
 
float y
 
float z
 

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