#include <Vector2.h>
Public Member Functions | |
double | GetLength () |
double | GetX () |
double | GetY () |
Vector2 () | |
Vector2 (double angle) | |
Vector2 (double x, double y) | |
~Vector2 () | |
Static Public Member Functions | |
static Vector2 | Add (Vector2 vector1, Vector2 vector2) |
static bool | Equals (Vector2 vector1, Vector2 vector2) |
static Vector2 | Multiply (Vector2 vector, double factor) |
static Vector2 | Multiply (double factor, Vector2 vector) |
static Vector2 | Negate (Vector2 vector) |
static Vector2 | Subtract (Vector2 vector1, Vector2 vector2) |
Private Attributes | |
double | x |
double | y |
EdgeDetection::Vector2::Vector2 | ( | ) | [inline] |
EdgeDetection::Vector2::Vector2 | ( | double | angle | ) | [inline] |
EdgeDetection::Vector2::Vector2 | ( | double | x, |
double | y | ||
) | [inline] |
EdgeDetection::Vector2::~Vector2 | ( | ) | [inline] |
static Vector2 EdgeDetection::Vector2::Add | ( | Vector2 | vector1, |
Vector2 | vector2 | ||
) | [inline, static] |
static bool EdgeDetection::Vector2::Equals | ( | Vector2 | vector1, |
Vector2 | vector2 | ||
) | [inline, static] |
double EdgeDetection::Vector2::GetLength | ( | ) | [inline] |
double EdgeDetection::Vector2::GetX | ( | void | ) | [inline] |
double EdgeDetection::Vector2::GetY | ( | void | ) | [inline] |
static Vector2 EdgeDetection::Vector2::Multiply | ( | Vector2 | vector, |
double | factor | ||
) | [inline, static] |
static Vector2 EdgeDetection::Vector2::Multiply | ( | double | factor, |
Vector2 | vector | ||
) | [inline, static] |
static Vector2 EdgeDetection::Vector2::Negate | ( | Vector2 | vector | ) | [inline, static] |
static Vector2 EdgeDetection::Vector2::Subtract | ( | Vector2 | vector1, |
Vector2 | vector2 | ||
) | [inline, static] |
double EdgeDetection::Vector2::x [private] |
double EdgeDetection::Vector2::y [private] |