]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL15429 Computation of the mesh, based on "014.brep" via Tetrahedron(NETGEN), is...
authoreap <eap@opencascade.com>
Tue, 17 Feb 2009 07:07:51 +0000 (07:07 +0000)
committereap <eap@opencascade.com>
Tue, 17 Feb 2009 07:07:51 +0000 (07:07 +0000)
    fix for G7.py
+  /*!
+   * \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);
+

src/SMESH/SMESH_MesherHelper.hxx

index f88f1fc08e0732b60c2a42140967ea005f5454e4..f9f906240dd4d2c44a76d2ef2ef97479864dc835 100644 (file)
@@ -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 ----------