]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL13460 (force the mesh to go through a point)
authoreap <eap@opencascade.com>
Wed, 28 Feb 2007 09:39:07 +0000 (09:39 +0000)
committereap <eap@opencascade.com>
Wed, 28 Feb 2007 09:39:07 +0000 (09:39 +0000)
+  int level() const { return myLevel; }

src/SMESH/SMESH_Octree.hxx

index d9615b8dd8e7a5cc93c32acef9c6f3a120e6e08f..525bc62ad8b07c4e2daf11c77c8fb33b5d8c1f24 100644 (file)
@@ -56,11 +56,14 @@ public:
   void                   setBox(const Bnd_B3d* box);
 
   // Set box to the 3d Bounding Box of the Octree
-  void                   getBox(Bnd_B3d* box);
+  void                   getBox(Bnd_B3d & box);
 
   // Compute the bigger dimension of the box
   static double          maxSize(const Bnd_B3d* box);
 
+  // Return its level
+  int                    level() const { return myLevel; }
+
 protected:
   // Constructor for children (has to be implemented in inherited classes)
   virtual SMESH_Octree* allocateOctreeChild() = 0;