CVector3d Class Reference
[Linear algebra library]

#include <geometry.h>

Inheritance diagram for CVector3d:

CVector

List of all members.

Public Member Functions

 CVector3d (const real &x=0, const real &y=0, const real &z=0)
 CVector3d (const CVector &v)
real & x (void)
real x (void) const
real & y (void)
real y (void) const
real & z (void)
real z (void) const
CVector3d cross (const CVector3d &v) const
CVector3doperator= (const CVector3d &v)


Detailed Description

Generic three dimensional real-valued vector.

Definition at line 75 of file geometry.h.


Constructor & Destructor Documentation

CVector3d::CVector3d ( const real &  x = 0,
const real &  y = 0,
const real &  z = 0 
) [inline]

Constructor.

Definition at line 79 of file geometry.h.

References x(), y(), and z().

CVector3d::CVector3d ( const CVector v  )  [inline]

Copy constructor.

Definition at line 89 of file geometry.h.


Member Function Documentation

real& CVector3d::x ( void   )  [inline]

real& CVector3d::y ( void   )  [inline]

real& CVector3d::z ( void   )  [inline]

CVector3d CVector3d::cross ( const CVector3d v  )  const [inline]

Cross product. Produces a vector orthogonal to the two original vectors.

Definition at line 131 of file geometry.h.

Referenced by CSailWorker::Area(), and CSubSpace3d::plane().

CVector3d& CVector3d::operator= ( const CVector3d v  )  [inline]

Assignment.

Definition at line 140 of file geometry.h.


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

Generated on Sun Mar 22 21:38:32 2009 for Sailcut CAD by  doxygen 1.5.6