Laxkit
0.0.7.1
|
2 Dimensional vector (x,y) More...
Public Member Functions | |
flatvector (double xx, double yy) | |
flatvector (double xx, double yy, int ninfo) | |
flatvector (double *v) | |
flatvector (const flatvector &vec) | |
flatvector | operator- () |
v=-v | |
void | normalize () |
Make a unit vector, preserving angle. If null vector, do nothing. | |
void | set (double xx, double yy) |
bool | isZero () const |
double | angle () const |
double | norm () const |
Public Attributes | |
double | x |
double | y |
int | info |
2 Dimensional vector (x,y)