X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHUtils%2FSMESH_MeshAlgos.hxx;h=51cc8dd3d98053f244c711b5899dcf56e2f5bee9;hb=2a5ef76d25b4416b4abcd7e968586423b06b3eb4;hp=beebbe79687b7ab7ab047216dac7c5d4d1f01f41;hpb=385d4cede5f752d0eec26c306f3b5e14511e2a3d;p=modules%2Fsmesh.git diff --git a/src/SMESHUtils/SMESH_MeshAlgos.hxx b/src/SMESHUtils/SMESH_MeshAlgos.hxx index beebbe796..51cc8dd3d 100644 --- a/src/SMESHUtils/SMESH_MeshAlgos.hxx +++ b/src/SMESHUtils/SMESH_MeshAlgos.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2019 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2020 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -187,6 +187,12 @@ namespace SMESH_MeshAlgos SMESHUtils_EXPORT bool FaceNormal(const SMDS_MeshElement* F, gp_XYZ& normal, bool normalized=true); + /*! + * \brief Return number of nodes common to two elements + */ + SMESHUtils_EXPORT + int NbCommonNodes(const SMDS_MeshElement* e1, + const SMDS_MeshElement* e2); /*! * \brief Return nodes common to two elements */ @@ -500,14 +506,15 @@ namespace SMESH_MeshAlgos /*! * Create a slot of given width around given 1D elements lying on a triangle mesh. - * The slot is consrtucted by cutting faces by cylindrical surfaces made around each segment. + * The slot is constructed by cutting faces by cylindrical surfaces made around each segment. * \return Edges located at the slot boundary */ // Implemented in ./SMESH_Slot.cxx SMESHUtils_EXPORT - std::vector< Edge > MakeSlot( SMDS_ElemIteratorPtr segmentIt, - double width, - SMDS_Mesh* mesh); + std::vector< Edge > MakeSlot( SMDS_ElemIteratorPtr segmentIt, + double width, + SMDS_Mesh* mesh, + std::vector< SMDS_MeshGroup* > & groupsToUpdate); } // namespace SMESH_MeshAlgos