From e42414f2110fbd65fd81d85ce1e1df86a9a77265 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 29 Jun 2012 13:53:54 +0000 Subject: [PATCH] 0021542: EDF 1699 SMESH: Reorient a group of faces + long Reorient2D(in SMESH_IDSource the2Dgroup, + in DirStruct theDirection, + in long theFace, + in PointStruct thePoint) raises (SALOME::SALOME_Exception); --- idl/SMESH_MeshEditor.idl | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/idl/SMESH_MeshEditor.idl b/idl/SMESH_MeshEditor.idl index cd4453d2c..d1a396a13 100644 --- a/idl/SMESH_MeshEditor.idl +++ b/idl/SMESH_MeshEditor.idl @@ -176,6 +176,19 @@ module SMESH boolean Reorient(in long_array IDsOfElements); boolean ReorientObject(in SMESH_IDSource theObject); + /*! + * \brief Reorient faces contained in \a the2Dgroup. + * \param the2Dgroup - the mesh or its part to reorient + * \param theDirection - desired direction of normal of \a theFace + * \param theFace - ID of face whose orientation is checked. + * It can be < 1 then \a thePoint is used to find a face. + * \param thePoint - is used to find a face if \a theFace < 1. + * \return number of reoriented elements. + */ + long Reorient2D(in SMESH_IDSource the2Dgroup, + in DirStruct theDirection, + in long theFace, + in PointStruct thePoint) raises (SALOME::SALOME_Exception); /*! * \brief Fuse neighbour triangles into quadrangles. -- 2.39.2