|
| Point2 ()=default |
|
constexpr | Point2 (const Point2 &)=default |
|
constexpr | Point2 (Point2 &&)=default |
|
Point2 & | operator= (const Point2 &)=default |
|
Point2 & | operator= (Point2 &&)=default |
|
constexpr | Point2 (float X, float Y) |
|
constexpr | Point2 (double X, double Y) |
|
constexpr | Point2 (int X, int Y) |
|
constexpr | Point2 (const IPoint2 &a) |
|
constexpr | Point2 (const float af[2]) |
|
float & | operator[] (int i) |
|
const float & | operator[] (int i) const |
|
constexpr | operator float * () |
|
constexpr | operator const float * () const |
|
constexpr Point2 | operator- () const |
|
constexpr Point2 | operator+ () const |
|
constexpr float | LengthSquared () const |
|
float | Length () const |
|
int | MaxComponent () const |
|
int | MinComponent () const |
|
Point2 | Normalize () const |
|
constexpr Point2 & | operator+= (const Point2 &a) |
| Member-wise, in-place addition of this vector (x+a.x, y+a.y) More...
|
|
constexpr Point2 & | operator-= (const Point2 &a) |
| Member-wise, in-place subtraction of this vector (x-a.x, y-a.y) More...
|
|
constexpr Point2 & | operator*= (const Point2 &a) |
| Member-wise, in-place multiplication of this vector: (x*a.x, y*a.y) More...
|
|
Point2 & | operator/= (const Point2 &a) |
| Member-wise, in-place division of this vector: (x/a.x, y/a.y) More...
|
|
constexpr Point2 & | operator+= (float f) |
|
constexpr Point2 & | operator-= (float f) |
|
constexpr Point2 & | operator*= (float f) |
|
Point2 & | operator/= (float f) |
|
constexpr Point2 & | Set (float X, float Y) |
|
constexpr Point2 | operator- (const Point2 &a) const |
| Member-wise subtraction of two vectors: (x-a.x, y-a.y) More...
|
|
constexpr Point2 | operator+ (const Point2 &a) const |
| Member-wise addition of two vectors: (x+a.x, y+a.y) More...
|
|
constexpr Point2 | operator* (const Point2 &a) const |
| Member-wise multiplication of two vectors: (x*a.x, y*a.y) More...
|
|
Point2 | operator/ (const Point2 &a) const |
| Member-wise division of two vectors: (x/a.x, y/a.y) More...
|
|
constexpr float | DotProd (const Point2 &a) const |
| Returns the dot product of two Point2's. More...
|
|
constexpr float | operator% (const Point2 &a) const |
| Returns the dot product of two Point2's. More...
|
|
constexpr bool | operator== (const Point2 &p) const |
|
constexpr bool | operator!= (const Point2 &p) const |
|
bool | Equals (const Point2 &p, float epsilon=1E-6f) const |
|
Point2 & | Unify () |
|
float | LengthUnify () |
|