vec-constructor.hpp

Go to the documentation of this file.
00001 //=============================================================================
00002 /*! vec constructor without arguments */
00003 inline vec::vec()
00004 {
00005   ;
00006 }
00007 
00008 ///////////////////////////////////////////////////////////////////////////////
00009 ///////////////////////////////////////////////////////////////////////////////
00010 ///////////////////////////////////////////////////////////////////////////////
00011 
00012 //=============================================================================
00013 /*! vec copy constructor */
00014 inline vec::vec(const vec& v)
00015   : x(v.x), y(v.y), z(v.z)
00016 {
00017   ;
00018 }
00019 
00020 //=============================================================================
00021 /*! vec constructor to build from three components */
00022 inline vec::vec(const double& _x, const double& _y, const double& _z)
00023   : x(_x), y(_y), z(_z)
00024 {
00025   ;
00026 }
00027 
00028 ///////////////////////////////////////////////////////////////////////////////
00029 ///////////////////////////////////////////////////////////////////////////////
00030 ///////////////////////////////////////////////////////////////////////////////
00031 
00032 //=============================================================================
00033 /*! vec destructor */
00034 inline vec::~vec()
00035 {
00036   ;
00037 }

Generated on Tue Mar 15 16:02:38 2005 for QVM by  doxygen 1.4.1