Point2D

struct HPS.Point2D

Public Functions

override bool Equals (object obj)
bool Equals (Point2D p)
bool Equals (Vector p)
override int GetHashCode ()
Point2D (float in_x, float in_y)
Point2D (Point p)
Point2D (Point2D p)
Point2D (Vector2D v)

Public Members

float x
float y

Public Static Functions

Point2D Midpoint (Point2D a, Point2D b)
Point2D Midpoint (Point2D a, Point2D b, Point2D c)
bool operator!= (Point2D p1, Point2D p2)
Point2D operator* (Point2D p, float s)
Point2D operator+ (Point2D p, Vector2D v)
Point2D operator- (Point2D p, Vector2D v)
Vector2D operator- (Point2D p1, Point2D p2)
Point2D operator/ (Point2D p, float s)
bool operator== (Point2D p1, Point2D p2)
Point2D Origin ()
Point2D Zero ()