mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-18 06:50:36 +05:00
0021381: EDF 1984 BLSURFPLUGIN: Sub-mesh with BLSURF
Enable IsQuadraticSubMesh() work with compounds
This commit is contained in:
parent
d34c6e3bd4
commit
2ee680b116
@ -120,8 +120,15 @@ bool SMESH_MesherHelper::IsQuadraticSubMesh(const TopoDS_Shape& aSh)
|
||||
mySeamShapeIds.clear();
|
||||
myDegenShapeIds.clear();
|
||||
TopAbs_ShapeEnum subType( aSh.ShapeType()==TopAbs_FACE ? TopAbs_EDGE : TopAbs_FACE );
|
||||
if ( aSh.ShapeType()==TopAbs_COMPOUND )
|
||||
{
|
||||
TopoDS_Iterator subIt( aSh );
|
||||
if ( subIt.More() )
|
||||
subType = ( subIt.Value().ShapeType()==TopAbs_FACE ) ? TopAbs_EDGE : TopAbs_FACE;
|
||||
}
|
||||
SMDSAbs_ElementType elemType( subType==TopAbs_FACE ? SMDSAbs_Face : SMDSAbs_Edge );
|
||||
|
||||
|
||||
int nbOldLinks = myTLinkNodeMap.size();
|
||||
|
||||
if ( !myMesh->HasShapeToMesh() )
|
||||
|
Loading…
Reference in New Issue
Block a user