Laxkit  0.0.7.1
Public Member Functions | Public Attributes

2 Dimensional vector (x,y) More...

List of all members.

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

Detailed Description

2 Dimensional vector (x,y)


The documentation for this class was generated from the following files:

Mon Feb 17 2014 11:52:58, Laxkit