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
Update copyright information
[modules/smesh.git]
/
src
/
StdMeshers
/
StdMeshers_ProjectionUtils.cxx
diff --git
a/src/StdMeshers/StdMeshers_ProjectionUtils.cxx
b/src/StdMeshers/StdMeshers_ProjectionUtils.cxx
index 62b889bf82bc74a4500aad149f465be930f4aded..94714a25551a3949b4e0ef4e0074b86071a504e8 100644
(file)
--- a/
src/StdMeshers/StdMeshers_ProjectionUtils.cxx
+++ b/
src/StdMeshers/StdMeshers_ProjectionUtils.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
1
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
2
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
@@
-1829,7
+1829,7
@@
FindMatchingNodesOnFaces( const TopoDS_Face& face1,
notInSet.insert( f2 );
for ( int i = 0; i < nbNodes; ++i ) {
const SMDS_MeshNode* n1 = faceToKeep->GetNode( i );
notInSet.insert( f2 );
for ( int i = 0; i < nbNodes; ++i ) {
const SMDS_MeshNode* n1 = faceToKeep->GetNode( i );
- const SMDS_MeshNode* n2 = faceToKeep->GetNode(
i+1
% nbNodes );
+ const SMDS_MeshNode* n2 = faceToKeep->GetNode(
( i+1 )
% nbNodes );
f1 = SMESH_MeshEditor::FindFaceInSet( n1, n2, inSet, notInSet );
if ( f1 )
elems.insert( f1 );
f1 = SMESH_MeshEditor::FindFaceInSet( n1, n2, inSet, notInSet );
if ( f1 )
elems.insert( f1 );
@@
-2062,7
+2062,7
@@
TopoDS_Edge StdMeshers_ProjectionUtils::GetBoundaryEdge(const TopoDS_Shape& edge
PShapeIteratorPtr faceIt = SMESH_MesherHelper::GetAncestors( edge, mesh, TopAbs_FACE );
while ( const TopoDS_Shape* face = faceIt->next() )
if ( facesOfEdgeContainer.Contains( *face ))
PShapeIteratorPtr faceIt = SMESH_MesherHelper::GetAncestors( edge, mesh, TopAbs_FACE );
while ( const TopoDS_Shape* face = faceIt->next() )
if ( facesOfEdgeContainer.Contains( *face ))
- if ( facesNearEdge.Add( *face )
and
facesNearEdge.Extent() > 1 )
+ if ( facesNearEdge.Add( *face )
&&
facesNearEdge.Extent() > 1 )
break;
if ( facesNearEdge.Extent() == 1 )
return edge;
break;
if ( facesNearEdge.Extent() == 1 )
return edge;