#include <Vector.h>
Public Member Functions | |
CVector2 () | |
CVector2 (double X, double Y) | |
CVector2 (CVector2 spitze, CVector2 schaft) | |
CVector2 (double x1, double y1, double x2, double y2) | |
CVector2 | operator- (void) const |
int | operator== (const CVector2 &v) const |
int | operator!= (const CVector2 &v) const |
CVector2 | operator+ (const CVector2 &v) const |
CVector2 | operator- (const CVector2 &v) const |
CVector2 | operator * (double fl) const |
CVector2 | operator/ (double fl) const |
double | length (void) const |
CVector2 | normalize (void) const |
double | angle (CVector2 v1) |
|
creates a zero vector |
|
creates a vector containing the given values |
|
calculates the deviation of two vectors |
|
calculates the deviation of two vectors |
|
returns arc cosinus of a vector |
|
returns the length of a vector |
|
normalizes a vector |
|
multiplies each value of a vector by the value of f1 |
|
checks if two vectors are not equal |
|
adds two vectors |
|
subtracts two vectors |
|
multiplies every value by -1 |
|
divides each value of a vector by the value of f1 |
|
checks if two vectors are equal |