Salome HOME
0020206: EDF SMESH 987: Netgen1D2D3D +submesh
[modules/smesh.git] / src / SMESH / SMESH_MesherHelper.hxx
index f88f1fc08e0732b60c2a42140967ea005f5454e4..7c8f5f70487278d2d03d7b3a7c69ec2ebfda9308 100644 (file)
@@ -28,7 +28,7 @@
 
 #include "SMESH_SMESH.hxx"
 
-#include <SMESH_Mesh.hxx>
+#include "SMESH_Mesh.hxx"
 #include <TopoDS_Shape.hxx>
 #include <SMDS_MeshNode.hxx>
 #include <TopoDS_Face.hxx>
@@ -106,6 +106,13 @@ public:
     return ind;
   }
 
+  /*!
+   * \brief Return number of unique ancestors of the shape
+   */
+  static int NbAncestors(const TopoDS_Shape& shape,
+                         const SMESH_Mesh&   mesh,
+                         TopAbs_ShapeEnum    ancestorType=TopAbs_SHAPE);
+
 public:
   // ---------- PUBLIC INSTANCE METHODS ----------