Salome HOME
0022106: EDF 2464 SMESH : Split quadrangles in 4 triangles
[modules/smesh.git] / src / SMESH / SMESH_MeshEditor.hxx
index a042e4bcc19e7f176e5c41159fab43ea57075ca2..7796b7cbc92a1fd8c771f71e751241551a9c591c 100644 (file)
@@ -137,7 +137,6 @@ public:
   bool TriToQuad (TIDSortedElemSet &                   theElems,
                   SMESH::Controls::NumericalFunctorPtr theCriterion,
                   const double                         theMaxAngle);
-
   /*!
    * \brief Split quadrangles into triangles.
    * \param theElems     - The faces to be splitted.
@@ -146,7 +145,6 @@ public:
    */
   bool QuadToTri (TIDSortedElemSet &                   theElems,
                   SMESH::Controls::NumericalFunctorPtr theCriterion);
-
   /*!
    * \brief Split quadrangles into triangles.
    * \param theElems  - The faces to be splitted.
@@ -155,6 +153,11 @@ public:
    */
   bool QuadToTri (TIDSortedElemSet & theElems,
                   const bool         the13Diag);
+  /*!
+   * \brief Split each of given quadrangles into 4 triangles.
+   * \param theElems - The faces to be splitted. If empty all faces are split.
+   */
+  void QuadTo4Tri (TIDSortedElemSet & theElems);
 
   /*!
    * \brief Find better diagonal for splitting.