Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

SL_GridCell.h

Go to the documentation of this file.
00001 // SL_GridCell.h: interface for the SL_GridCell class.
00002 //
00004 
00005 #if !defined(AFX_SL_GRIDCELL_H__BBE5864F_410D_4411_94F4_B0A89C14C252__INCLUDED_)
00006 #define AFX_SL_GRIDCELL_H__BBE5864F_410D_4411_94F4_B0A89C14C252__INCLUDED_
00007 
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011 
00012 //#include <list>
00013 #include <vector>
00014 #include <algorithm>
00015 
00016 #include "misc.h"
00017 
00018 using namespace std;
00019 
00020 class SL_GridCell  
00021 {
00022 
00023 public:
00024         SL_GridCell();
00025         virtual ~SL_GridCell();
00026         
00027         void add( const Vec2f dotPtr );
00028         //void add( const Vec2f dotPtr );
00029 
00033         //bool AllowSetPointInCell( const Vec2f dotPtr, float fDistSqr );
00034 
00038         //bool AllowSetPoint( const Vec2f* dotPtr, float fDistSqr );
00039         bool AllowSetPointInCell( const Vec2f dotPtr, float fDistSqr );
00040 
00041 public:
00043         //bool AcceptDistanceDot2Dot( const Vec2f* dot1, const Vec2f* dot2,
00044         //      float fDistSqr);
00045 
00046         bool static AcceptDistanceDot2Dot( const Vec2f dot1,
00047                                                                                 const Vec2f dot2,
00048                                                                                 float fDistSqr );
00049 
00050 public: 
00051         //list< Vec2f > elementList;
00052         vector< Vec2f > elementList;
00053 
00054 };
00055 
00056 #endif // !defined(AFX_SL_GRIDCELL_H__BBE5864F_410D_4411_94F4_B0A89C14C252__INCLUDED_)

Generated on Thu Jan 23 04:30:11 2003 for FlowVis- vector field in 2D by doxygen1.3-rc2