Laxkit  0.0.7.1
Public Member Functions | Public Attributes

3 Dimensional vector (x,y,z) More...

List of all members.

Public Member Functions

 spacevector (double xx, double yy, double zz)
 spacevector (double *v)
 spacevector (const spacevector &vec)
spacevector operator- ()
 -v => (-v.x, -v.y, -v.z)
void normalize ()
 Make a unit vector, preserving angle. If null vector, do nothing.
void set (double xx, double yy, double zz)
bool isZero () const
double norm () const

Public Attributes

double x
double y
double z
int info

Detailed Description

3 Dimensional vector (x,y,z)


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

Mon Feb 17 2014 11:52:58, Laxkit