mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-19 00:40:32 +05:00
0020737: [CEA] Computing mesh fails
* Fix constructor from regression made in frames of issue 0020676
This commit is contained in:
parent
859674eaf0
commit
c0c6cee1a5
@ -134,13 +134,16 @@ StdMeshers_FaceSide::StdMeshers_FaceSide(const TopoDS_Face& theFace,
|
|||||||
myNbPonits += nbN;
|
myNbPonits += nbN;
|
||||||
myNbSegments += sm->NbElements();
|
myNbSegments += sm->NbElements();
|
||||||
}
|
}
|
||||||
|
// TopExp::FirstVertex() and TopExp::LastVertex() return NULL from INTERNAL edge
|
||||||
vExp.Initialize( *edge );
|
vExp.Initialize( *edge );
|
||||||
|
if ( vExp.Value().Orientation() == TopAbs_REVERSED ) vExp.Next();
|
||||||
if ( SMESH_Algo::VertexNode( TopoDS::Vertex( vExp.Value()), meshDS ))
|
if ( SMESH_Algo::VertexNode( TopoDS::Vertex( vExp.Value()), meshDS ))
|
||||||
myNbPonits += 1; // for the first end
|
myNbPonits += 1; // for the first end
|
||||||
else
|
else
|
||||||
myMissingVertexNodes = true;
|
myMissingVertexNodes = true;
|
||||||
}
|
}
|
||||||
vExp.Next();
|
vExp.Initialize( theEdges.back() );
|
||||||
|
if ( vExp.Value().Orientation() != TopAbs_REVERSED ) vExp.Next();
|
||||||
if ( vExp.More() )
|
if ( vExp.More() )
|
||||||
{
|
{
|
||||||
if ( SMESH_Algo::VertexNode( TopoDS::Vertex( vExp.Value()), meshDS ))
|
if ( SMESH_Algo::VertexNode( TopoDS::Vertex( vExp.Value()), meshDS ))
|
||||||
|
Loading…
Reference in New Issue
Block a user