COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Member Functions | Public Attributes | Friends | List of all members
covise::coVector Class Reference

#include <coVector.h>

Public Member Functions

 coVector ()
 
 coVector (const coVector &v)
 
coVectoroperator= (const coVector &v)
 
 coVector (int d)
 
 coVector (int d, double *_val)
 
 ~coVector ()
 
 coVector (double _val[3])
 
 coVector (double a, double b, double c)
 
 coVector (double a, double b, double c, double d)
 
int operator== (coVector &v)
 
coVector operator+ (const coVector &v) const
 
coVector operator- (const coVector &v) const
 
coVector operator- () const
 
double operator* (const coVector &v) const
 
coVector operator* (const coMatrix &m) const
 
coVector operator* (double r) const
 
double & operator[] (int i)
 
double operator[] (int i) const
 
double length () const
 
coVector scale (double f)
 
double dot (const coVector &v) const
 
coVector cross (const coVector &v) const
 
coVector eval (const coVector &v) const
 
coVector unitize () const
 
coVector negate () const
 
void print (FILE *f, char *n=0)
 
void get (double f[3])
 
void get (float f[3])
 
coVector maximal (const coVector &v) const
 
double enclosedAngle (const coVector &v) const
 
bool isZero () const
 
coVectornormalize ()
 

Public Attributes

int dim
 
double vec4 [4]
 
double * vec
 

Friends

class coMatrix
 
ostream & operator<< (ostream &O, const coVector &v)
 

Constructor & Destructor Documentation

covise::coVector::coVector ( )
inline
covise::coVector::coVector ( const coVector v)
inline
covise::coVector::coVector ( int  d)
inline
covise::coVector::coVector ( int  d,
double *  _val 
)
inline
covise::coVector::~coVector ( )
inline
covise::coVector::coVector ( double  _val[3])
inline
covise::coVector::coVector ( double  a,
double  b,
double  c 
)
inline
covise::coVector::coVector ( double  a,
double  b,
double  c,
double  d 
)
inline

Member Function Documentation

coVector coVector::cross ( const coVector v) const
double coVector::dot ( const coVector v) const
double coVector::enclosedAngle ( const coVector v) const
coVector coVector::eval ( const coVector v) const
void covise::coVector::get ( double  f[3])
inline
void covise::coVector::get ( float  f[3])
inline
bool coVector::isZero ( ) const
double coVector::length ( void  ) const
coVector coVector::maximal ( const coVector v) const
coVector coVector::negate ( ) const
coVector & coVector::normalize ( )
double coVector::operator* ( const coVector v) const
coVector coVector::operator* ( const coMatrix m) const
coVector coVector::operator* ( double  r) const
coVector coVector::operator+ ( const coVector v) const
coVector coVector::operator- ( const coVector v) const
coVector coVector::operator- ( ) const
coVector& covise::coVector::operator= ( const coVector v)
inline
int coVector::operator== ( coVector v)
double& covise::coVector::operator[] ( int  i)
inline
double covise::coVector::operator[] ( int  i) const
inline
void coVector::print ( FILE *  f,
char *  n = 0 
)
coVector covise::coVector::scale ( double  f)
inline
coVector coVector::unitize ( ) const

Friends And Related Function Documentation

friend class coMatrix
friend
ostream& operator<< ( ostream &  O,
const coVector v 
)
friend

Member Data Documentation

int covise::coVector::dim
double* covise::coVector::vec
double covise::coVector::vec4[4]

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