54462: Hexa(ijk) fails on a composite block with a degenerated edge

This commit is contained in:
eap 2018-11-12 16:42:33 +03:00 committed by vsr
parent db0762b147
commit 830c88cc3a

View File

@ -893,6 +893,8 @@ bool _QuadFaceGrid::Init(const TopoDS_Face& f, SMESH_Mesh& mesh)
while ( !edges.empty()) {
sideEdges.clear();
sideEdges.splice( sideEdges.end(), edges, edges.begin());// edges.front()->sideEdges.back()
if ( SMESH_Algo::isDegenerated( sideEdges.back() ))
continue;
while ( !edges.empty() ) {
if ( SMESH_Algo::IsContinuous( sideEdges.back(), edges.front() )) {
sideEdges.splice( sideEdges.end(), edges, edges.begin());