cgma
|
00001 00002 #ifndef GSTREE_HPP 00003 #define GSTREE_HPP 00004 00005 #include "GridSearchTreeNode.hpp" 00006 00007 #include <map> 00008 00009 typedef std::map< GridSearchTreeNode* , int, GridSearchTreeNode::GSTNodeComparator > gmap; 00010 00011 class GridSearchTree { 00012 00013 private: 00014 double epsilon; 00015 gmap nodemap; 00016 gmap::iterator pos; 00017 public: 00018 00019 GridSearchTree(double tolerance) { 00020 epsilon = tolerance; 00021 } 00022 00023 ~GridSearchTree() {} 00024 00025 00026 CubitPoint * fix (CubitPoint * data); 00027 00028 }; 00029 00030 #endif 00031 00032