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
Correction because of 'geompyDC' refactoring.
[modules/smesh.git]
/
src
/
SMESH
/
SMESH_Pattern.cxx
diff --git
a/src/SMESH/SMESH_Pattern.cxx
b/src/SMESH/SMESH_Pattern.cxx
index cc493ca3439cfed759fbb3153f1a8a1518d2ecb1..926f78cf73a2e3292b085ed190f767199eb4b8b5 100644
(file)
--- a/
src/SMESH/SMESH_Pattern.cxx
+++ b/
src/SMESH/SMESH_Pattern.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
2
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
3
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
@@
-514,7
+514,8
@@
static bool isMeshBoundToShape(SMESHDS_Mesh * aMeshDS,
bool SMESH_Pattern::Load (SMESH_Mesh* theMesh,
const TopoDS_Face& theFace,
bool SMESH_Pattern::Load (SMESH_Mesh* theMesh,
const TopoDS_Face& theFace,
- bool theProject)
+ bool theProject,
+ TopoDS_Vertex the1stVertex)
{
MESSAGE(" ::Load(face) " );
Clear();
{
MESSAGE(" ::Load(face) " );
Clear();
@@
-538,10
+539,9
@@
bool SMESH_Pattern::Load (SMESH_Mesh* theMesh,
// check if face is closed
bool isClosed = helper.HasSeam();
// check if face is closed
bool isClosed = helper.HasSeam();
- TopoDS_Vertex bidon;
list<TopoDS_Edge> eList;
list<TopoDS_Edge>::iterator elIt;
list<TopoDS_Edge> eList;
list<TopoDS_Edge>::iterator elIt;
- SMESH_Block::GetOrderedEdges( face,
bidon, eList, myNbKeyPntInBoundary
);
+ SMESH_Block::GetOrderedEdges( face,
eList, myNbKeyPntInBoundary, the1stVertex
);
// check that requested or needed projection is possible
bool isMainShape = theMesh->IsMainShape( face );
// check that requested or needed projection is possible
bool isMainShape = theMesh->IsMainShape( face );
@@
-2370,7
+2370,7
@@
bool SMESH_Pattern::Apply (const TopoDS_Face& theFace,
list< TopoDS_Edge > eList;
list< int > nbVertexInWires;
list< TopoDS_Edge > eList;
list< int > nbVertexInWires;
- int nbWires = SMESH_Block::GetOrderedEdges( face,
theVertexOnKeyPoint1, eList, nbVertexInWires
);
+ int nbWires = SMESH_Block::GetOrderedEdges( face,
eList, nbVertexInWires, theVertexOnKeyPoint1
);
if ( !theVertexOnKeyPoint1.IsSame( TopExp::FirstVertex( eList.front(), true )))
{
MESSAGE( " theVertexOnKeyPoint1 not found in the outer wire ");
if ( !theVertexOnKeyPoint1.IsSame( TopExp::FirstVertex( eList.front(), true )))
{
MESSAGE( " theVertexOnKeyPoint1 not found in the outer wire ");