DefaultNodeMovement.hpp

Go to the documentation of this file.
00001 //-----------------------------------------------------------------------------
00002 // Author: Jim Holmström
00003 // Date:   2002-02-13
00004 //-----------------------------------------------------------------------------
00005 
00006 #ifndef __DEFAULTNODEMOVEMENT_H
00007 #define __DEFAULTNODEMOVEMENT_H
00008 
00009 #include <GNGCore/IGNGNodeMovement.hpp>
00010 
00014 class DefaultNodeMovement : public IGNGNodeMovement
00015 {
00016 public:
00024   virtual Vector GetNewReferenceVector(Vector const & i, Vector const & r, double p) const
00025   {
00026     return r + (i - r) * p;
00027   }
00028   
00029 };
00030 
00031 #endif

Generated on Mon Mar 22 16:40:47 2004 for GNG_GL by doxygen 1.3.6