Salome HOME
0020855: [CEA] Problem with ijk algo
[modules/smesh.git] / src / StdMeshers / StdMeshers_ProjectionUtils.hxx
index 6ca881c88960146cc8cd805d4f6d39ff2c1e1be9..6b81307bdba92e66fb9c6adcce6c8fca61737ce9 100644 (file)
@@ -81,10 +81,10 @@ class StdMeshers_ProjectionUtils
     * \param edges2 - out list of edges of face 2
     * \retval int - nb of edges in an outer wire in a success case, else zero
    */
-  static int FindFaceAssociation(const TopoDS_Face&    face1,
-                                 TopoDS_Vertex         VV1[2],
-                                 const TopoDS_Face&    face2,
-                                 TopoDS_Vertex         VV2[2],
+  static int FindFaceAssociation(const TopoDS_Face&         face1,
+                                 TopoDS_Vertex              VV1[2],
+                                 const TopoDS_Face&         face2,
+                                 TopoDS_Vertex              VV2[2],
                                  std::list< TopoDS_Edge > & edges1,
                                  std::list< TopoDS_Edge > & edges2);
 
@@ -111,10 +111,6 @@ class StdMeshers_ProjectionUtils
                                  TShapeShapeMap &    theAssociationMap,
                                  const bool          theBidirectional=true);
 
-  static bool IsSubShape( const TopoDS_Shape& shape, SMESH_Mesh* aMesh );
-
-  static bool IsSubShape( const TopoDS_Shape& shape, const TopoDS_Shape& mainShape );
-
   /*!
    * \brief Finds an edge by its vertices in a main shape of the mesh
    */
@@ -206,6 +202,12 @@ class StdMeshers_ProjectionUtils
                                TopoDS_Shape   srcShape,
                                SMESH_Mesh*    srcMesh);
 
+  /*!
+   * \brief Return true if edge is a boundary of edgeContainer
+   */
+  static bool IsBoundaryEdge(const TopoDS_Edge&  edge,
+                             const TopoDS_Shape& edgeContainer,
+                             SMESH_Mesh&         mesh);
 };
 
 #endif