]> SALOME platform Git repositories - modules/smesh.git/commit
Salome HOME
0020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh comput...
authoreap <eap@opencascade.com>
Thu, 18 Mar 2010 09:46:14 +0000 (09:46 +0000)
committereap <eap@opencascade.com>
Thu, 18 Mar 2010 09:46:14 +0000 (09:46 +0000)
commitb51a02ed246df98ed29ab97ee49b52ddf0b28cbe
tree41cfaaba2d1f7a7adef247f94dc6d1d01e8406f6
parent331cc524a8e943bb1d1b008b30848308d06ce0e0
0020676: EDF 1212 GEOM: Partition operation creates vertices which causes mesh computation to fail with netgen

-  TopoDS_Shape GetSubShape() const  { return myShape; }
+  const TopoDS_Shape& GetSubShape() const  { return myShape; }

+typedef SMDS_Iterator<const TopoDS_Shape*>  PShapeIterator;
+typedef boost::shared_ptr< PShapeIterator > PShapeIteratorPtr;

+  /*!
+   * \brief Return iterator on ancestors of the given type
+   */
+  static PShapeIteratorPtr GetAncestors(const TopoDS_Shape& shape,
+                                        const SMESH_Mesh&   mesh,
+                                        TopAbs_ShapeEnum    ancestorType);
src/SMESH/SMESH_MesherHelper.hxx