openEmbroider
0.1
an open source embroidery software
|
Public Member Functions | |
vector_2d (float _x, float _y) | |
vector_2d | operator* (const vector_2d &pt) const |
vector_2d | operator* (const float val) |
vector_2d | operator/ (const vector_2d &pt) const |
vector_2d | operator/ (const float val) |
vector_2d | operator+ (const vector_2d pt) const |
vector_2d | operator+ (const float val) const |
vector_2d | operator- (const vector_2d pt) const |
vector_2d | operator- (const float val) const |
void | normalize () |
normalise the vector (his length become 1) | |
void | turnRight () |
turn the vector 90° to the right | |
void | turnLeft () |
float | len () |
parse the xml file to load params More... | |
Public Attributes | |
float | x |
float | y |
|
inline |
parse the xml file to load params