mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-07 04:04:17 +05:00
0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
arg theFirstVertex of SMESH_Block::GetOrderedEdges() became optional
This commit is contained in:
parent
212d7fc62e
commit
0cd977f8bf
@ -541,7 +541,7 @@ bool SMESH_Pattern::Load (SMESH_Mesh* theMesh,
|
|||||||
bool isClosed = helper.HasSeam();
|
bool isClosed = helper.HasSeam();
|
||||||
list<TopoDS_Edge> eList;
|
list<TopoDS_Edge> eList;
|
||||||
list<TopoDS_Edge>::iterator elIt;
|
list<TopoDS_Edge>::iterator elIt;
|
||||||
SMESH_Block::GetOrderedEdges( face, the1stVertex, eList, myNbKeyPntInBoundary );
|
SMESH_Block::GetOrderedEdges( face, eList, myNbKeyPntInBoundary, the1stVertex );
|
||||||
|
|
||||||
// check that requested or needed projection is possible
|
// check that requested or needed projection is possible
|
||||||
bool isMainShape = theMesh->IsMainShape( face );
|
bool isMainShape = theMesh->IsMainShape( face );
|
||||||
@ -2370,7 +2370,7 @@ bool SMESH_Pattern::Apply (const TopoDS_Face& theFace,
|
|||||||
|
|
||||||
list< TopoDS_Edge > eList;
|
list< TopoDS_Edge > eList;
|
||||||
list< int > nbVertexInWires;
|
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 )))
|
if ( !theVertexOnKeyPoint1.IsSame( TopExp::FirstVertex( eList.front(), true )))
|
||||||
{
|
{
|
||||||
MESSAGE( " theVertexOnKeyPoint1 not found in the outer wire ");
|
MESSAGE( " theVertexOnKeyPoint1 not found in the outer wire ");
|
||||||
|
Loading…
Reference in New Issue
Block a user