csl::CPoint Class Reference

#include <CPoint.h>

List of all members.

Public Member Functions

 CPoint ()
 CPoint (int a)
 CPoint (float a)
 CPoint (double a)
 CPoint (int a, int b)
 CPoint (float a, float b)
 CPoint (double a, double b)
 CPoint (int a, int b, int c)
 CPoint (float a, float b, float c)
 CPoint (double a, double b, double c)
 CPoint (PointMode m, float r, float theta)
 CPoint (char s, double r, double theta)
 CPoint (PointMode m, float r, float theta, float psi)
 CPoint (char s, double r, double theta, double ele)
 ~CPoint ()
void set (int a, int b)
void set (int a, int b, int c)
void set (float a, float b)
void set (float a, float b, float c)
void set (double a, double b)
void set (double a, double b, double c)
void set (PointMode m, float a, float b)
void set (PointMode m, float a, float b, float c)
void set (char s, double r, double theta)
void set (char s, double r, double theta, double ele)
unsigned dim ()
unsigned setdim (unsigned)
CPoint operator- ()
CPoint operator~ ()
int operator== (CPoint)
int operator!= (CPoint)
CPoint operator+ (CPoint)
CPoint operator- (CPoint)
double operator * (CPoint)
double operator| (CPoint)
CPoint operator^ (CPoint)
CPointoperator *= (double)
CPointoperator/= (double)
CPointoperator+= (CPoint)
CPointoperator-= (CPoint)
CPointoperator^= (CPoint)
double distance (CPoint *)
double distance2 (CPoint *)
double distance (CPoint &)
double distance2 (CPoint &)
double len ()
double len2 ()
double r ()
double theta ()
double phi ()
double ele ()
void rotateBy (double angle)
void dump ()
void normalize ()

Public Attributes

unsigned dimn
double x
double y
double z

Friends

CPoint operator * (int, CPoint)
CPoint operator * (float, CPoint)
CPoint operator * (double, CPoint)
CPoint operator * (CPoint, int)
CPoint operator * (CPoint, float)
CPoint operator * (CPoint, double)
CPoint operator/ (CPoint, int)
CPoint operator/ (CPoint, float)
CPoint operator/ (CPoint, double)


Constructor & Destructor Documentation

csl::CPoint::CPoint  )  [inline]
 

csl::CPoint::CPoint int  a  )  [inline]
 

csl::CPoint::CPoint float  a  )  [inline]
 

csl::CPoint::CPoint double  a  )  [inline]
 

csl::CPoint::CPoint int  a,
int  b
[inline]
 

csl::CPoint::CPoint float  a,
float  b
[inline]
 

csl::CPoint::CPoint double  a,
double  b
[inline]
 

csl::CPoint::CPoint int  a,
int  b,
int  c
[inline]
 

csl::CPoint::CPoint float  a,
float  b,
float  c
[inline]
 

csl::CPoint::CPoint double  a,
double  b,
double  c
[inline]
 

CPoint::CPoint PointMode  m,
float  r,
float  theta
 

csl::CPoint::CPoint char  s,
double  r,
double  theta
[inline]
 

CPoint::CPoint PointMode  m,
float  r,
float  theta,
float  psi
 

csl::CPoint::CPoint char  s,
double  r,
double  theta,
double  ele
[inline]
 

csl::CPoint::~CPoint  )  [inline]
 


Member Function Documentation

void csl::CPoint::set int  a,
int  b
[inline]
 

void csl::CPoint::set int  a,
int  b,
int  c
[inline]
 

void csl::CPoint::set float  a,
float  b
[inline]
 

void csl::CPoint::set float  a,
float  b,
float  c
[inline]
 

void csl::CPoint::set double  a,
double  b
[inline]
 

void csl::CPoint::set double  a,
double  b,
double  c
[inline]
 

void CPoint::set PointMode  m,
float  a,
float  b
 

void CPoint::set PointMode  m,
float  a,
float  b,
float  c
 

void csl::CPoint::set char  s,
double  r,
double  theta
[inline]
 

void csl::CPoint::set char  s,
double  r,
double  theta,
double  ele
[inline]
 

unsigned csl::CPoint::dim  )  [inline]
 

unsigned CPoint::setdim unsigned   ) 
 

CPoint CPoint::operator-  ) 
 

CPoint CPoint::operator~  ) 
 

int CPoint::operator== CPoint   ) 
 

int CPoint::operator!= CPoint   ) 
 

CPoint CPoint::operator+ CPoint   ) 
 

CPoint CPoint::operator- CPoint   ) 
 

double CPoint::operator * CPoint   ) 
 

double CPoint::operator| CPoint   ) 
 

CPoint CPoint::operator^ CPoint   ) 
 

CPoint & CPoint::operator *= double   ) 
 

CPoint & CPoint::operator/= double   ) 
 

CPoint & CPoint::operator+= CPoint   ) 
 

CPoint & CPoint::operator-= CPoint   ) 
 

CPoint & CPoint::operator^= CPoint   ) 
 

double CPoint::distance CPoint  ) 
 

double CPoint::distance2 CPoint  ) 
 

double CPoint::distance CPoint  ) 
 

double CPoint::distance2 CPoint  ) 
 

double csl::CPoint::len  )  [inline]
 

double csl::CPoint::len2  )  [inline]
 

double csl::CPoint::r  )  [inline]
 

double CPoint::theta  ) 
 

double CPoint::phi  ) 
 

double CPoint::ele  ) 
 

void CPoint::rotateBy double  angle  ) 
 

void csl::CPoint::dump void   )  [inline]
 

void CPoint::normalize  ) 
 


Friends And Related Function Documentation

CPoint operator * int  c,
CPoint  Q
[friend]
 

CPoint operator * float  c,
CPoint  Q
[friend]
 

CPoint operator * double  c,
CPoint  Q
[friend]
 

CPoint operator * CPoint  Q,
int  c
[friend]
 

CPoint operator * CPoint  Q,
float  c
[friend]
 

CPoint operator * CPoint  Q,
double  c
[friend]
 

CPoint operator/ CPoint  Q,
int  c
[friend]
 

CPoint operator/ CPoint  Q,
float  c
[friend]
 

CPoint operator/ CPoint  Q,
double  c
[friend]
 


Member Data Documentation

unsigned csl::CPoint::dimn
 

double csl::CPoint::x
 

double csl::CPoint::y
 

double csl::CPoint::z
 


The documentation for this class was generated from the following files:
Generated on Fri Apr 6 20:18:22 2007 for CSL by  doxygen 1.4.5-20051010