Public Member Functions

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

Static Public Member Functions

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

Public Attributes

float x
 
float y
 

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