Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
#19887 [CEA] Body fitting missing some faces and generates not-wanted splitted elements
[modules/smesh.git]
/
src
/
SMESHDS
/
SMESHDS_Mesh.cxx
diff --git
a/src/SMESHDS/SMESHDS_Mesh.cxx
b/src/SMESHDS/SMESHDS_Mesh.cxx
index 7a8714424974831a8fe72e7c73b9aa4a7041c9aa..fa3b0ec9af680f70f86737ecd608e132d0a055a4 100644
(file)
--- a/
src/SMESHDS/SMESHDS_Mesh.cxx
+++ b/
src/SMESHDS/SMESHDS_Mesh.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
16
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-20
20
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
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-246,17
+246,17
@@
bool SMESHDS_Mesh::ChangePolygonNodes
//=======================================================================
//function : ChangePolyhedronNodes
//=======================================================================
//function : ChangePolyhedronNodes
-//purpose :
+//purpose :
//=======================================================================
//=======================================================================
-bool SMESHDS_Mesh
::ChangePolyhedronNodes
-
(const SMDS_MeshElement *
elem,
-
std::vector<const SMDS_MeshNode*>
nodes,
-
std::vector<int>
quantities)
+bool SMESHDS_Mesh
+
::ChangePolyhedronNodes (const SMDS_MeshElement *
elem,
+
const std::vector<const SMDS_MeshNode*>&
nodes,
+
const std::vector<int> &
quantities)
{
ASSERT(nodes.size() > 3);
{
ASSERT(nodes.size() > 3);
-
//if (!SMDS_Mesh::ChangePolyhedronNodes(elem, nodes, quantities
))
- return false;
+
if ( !SMDS_Mesh::ChangePolyhedronNodes( elem, nodes, quantities
))
+
return false;
int i, len = nodes.size();
std::vector<int> nodes_ids (len);
int i, len = nodes.size();
std::vector<int> nodes_ids (len);
@@
-270,7
+270,7
@@
bool SMESHDS_Mesh::ChangePolyhedronNodes
//=======================================================================
//function : Renumber
//=======================================================================
//function : Renumber
-//purpose :
+//purpose :
//=======================================================================
void SMESHDS_Mesh::Renumber (const bool isNodes, const int startID, const int deltaID)
//=======================================================================
void SMESHDS_Mesh::Renumber (const bool isNodes, const int startID, const int deltaID)
@@
-1202,7
+1202,7
@@
bool SMESHDS_Mesh::IsGroupOfSubShapes (const TopoDS_Shape& theShape) const
return true;
for ( TopoDS_Iterator it( theShape ); it.More(); it.Next() )
return true;
for ( TopoDS_Iterator it( theShape ); it.More(); it.Next() )
- if (IsGroupOfSubShapes( it.Value() ))
+ if (
IsGroupOfSubShapes( it.Value() ))
return true;
return false;
return true;
return false;