From: eap Date: Wed, 28 Feb 2007 09:39:07 +0000 (+0000) Subject: PAL13460 (force the mesh to go through a point) X-Git-Tag: V3_2_6a1~42 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c9b555c2515436b8ccff655771403ea8817af216;hp=0249b75412cccd153dec81af6142906559f89082;p=modules%2Fsmesh.git PAL13460 (force the mesh to go through a point) + int level() const { return myLevel; } --- diff --git a/src/SMESH/SMESH_Octree.hxx b/src/SMESH/SMESH_Octree.hxx index d9615b8dd..525bc62ad 100644 --- a/src/SMESH/SMESH_Octree.hxx +++ b/src/SMESH/SMESH_Octree.hxx @@ -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;