#include <Vector2.h>
Public Member Functions | |
Vector2 () | |
Vector2 (float xinit, float yinit) | |
Vector2 (const Vector2 &other) | |
Vector2 (float scalar) | |
float | operator[] (int i) const |
float & | operator[] (int i) |
Vector2 & | operator= (const Vector2 &other) |
Vector2 & | operator= (float scalar) |
void | operator+= (const Vector2 &) |
void | operator-= (const Vector2 &) |
void | operator *= (const Vector2 &) |
void | operator *= (const float) |
void | operator/= (const Vector2 &) |
void | operator/= (const float) |
float | Norm () const |
void | Negate () |
void | Set (float px, float py) |
void | Set (float) |
Vector2 | Normalized () const |
Vector2 | Absolute () const |
Vector2 | Reciprocal () const |
Vector2 | Orthogonal () const |
float | Normalize () |
float | Dot (const Vector2 &) |
Public Attributes | |
float | x |
float | y |
Friends | |
Vector2 | operator- (const Vector2 &) |
Vector2 | operator+ (const Vector2 &, const Vector2 &) |
Vector2 | operator- (const Vector2 &, const Vector2 &) |
Vector2 | operator * (const Vector2 &, const float) |
Vector2 | operator * (const float, const Vector2 &) |
Vector2 | operator/ (const Vector2 &, const float) |
Vector2 | operator * (const Vector2 &, const Vector2 &) |
float | operator| (const Vector2 &, const Vector2 &) |
float | operator^ (const Vector2 &, const Vector2 &) |
int | operator== (const Vector2 &, const Vector2 &) |
int | operator!= (const Vector2 &, const Vector2 &) |
void | Swap (Vector2 &, Vector2 &) |
float | Dot (const Vector2 &a, const Vector2 &b) |
Vector2 | ToVector2 (const Vector &p) |
Definition at line 12 of file Vector2.h.
|
Definition at line 16 of file Vector2.h. Referenced by Absolute(), Orthogonal(), and Reciprocal(). |
|
|
|
|
|
|
|
Definition at line 239 of file Vector2.h. References Vector2(), x, and y. Here is the call graph for this function: ![]() |
|
|
|
Definition at line 149 of file Vector2.h. Referenced by Vector::operator-(), and Quaternion::operator-(). |
|
Definition at line 60 of file Vector2.h. Referenced by Normalize(), and Normalized(). |
|
Definition at line 72 of file Vector2.h. References Norm(). Here is the call graph for this function: ![]() |
|
Definition at line 229 of file Vector2.h. References Norm(). Here is the call graph for this function: ![]() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 36 of file Vector2.h. References x. |
|
Definition at line 32 of file Vector2.h. References x. |
|
Definition at line 249 of file Vector2.h. References Vector2(), x, and y. Here is the call graph for this function: ![]() |
|
Definition at line 244 of file Vector2.h. References Vector2(), x, and y. Here is the call graph for this function: ![]() |
|
|
|
Definition at line 155 of file Vector2.h. Referenced by IEMapNode::IEMapNode(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 14 of file Vector2.h. Referenced by Absolute(), Negate(), Norm(), operator *(), operator *=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator=(), operator==(), operator[](), operator^(), operator|(), Orthogonal(), Reciprocal(), Set(), Matrix33::SetTranslate(), Vector::Vector(), and Vector2(). |
|
Definition at line 14 of file Vector2.h. Referenced by Absolute(), Negate(), Norm(), operator *(), operator *=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator=(), operator==(), operator^(), operator|(), Orthogonal(), Reciprocal(), Set(), Matrix33::SetTranslate(), Vector::Vector(), and Vector2(). |
Generated on Thu Oct 27 11:47:04 2005 with
1.4.5 written by Dimitri van Heesch,
© 1997-2001