Salome HOME
merge BR_v14_rc
[modules/hydro.git] / src / HYDROData / HYDROData_QuadtreeNode.hxx
index 9dfe0a07b8fce94b4da5a03198abcb6e81c6e897..78497ffae78a521d0457700ebc98ef86184d4fe6 100644 (file)
@@ -93,6 +93,9 @@ public:
   //! tells us if the tree as already bin computed
   bool isEmpty() const { return myChildren == 0; }
 
+  inline double getPrecision() {return myPrecision; }
+  inline double setPrecision(double precision)  {myPrecision = precision; }
+
 protected:
 
   struct Limit: public HYDROData_TreeLimit
@@ -117,6 +120,9 @@ protected:
 
   //! The set of nodes inside the box of the Quadtree (Empty if Quadtree is not a leaf)
   Nodes_3D* myNodes;
+
+  //! distance to look for nearest nodes
+  double myPrecision;
 };
 
 #endif