StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Friends | List of all members
vector3 Class Reference

Public Member Functions

 vector3 (double *vec)
 
 vector3 (double x, double y, double z)
 
const double * GetVector () const
 
void SetVector (double x, double y, double z)
 
void SetVector (double *vec)
 
vector3operator= (const vector3 &vec)
 
vector3operator+= (const vector3 &vec)
 
vector3operator-= (const vector3 &vec)
 
double X () const
 
double Y () const
 
double Z () const
 
double Mag2 () const
 
double Mag () const
 

Friends

std::ostream & operator<< (std::ostream &out, const vector3 &vec)
 

Detailed Description

Definition at line 42 of file vector3.h.


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