mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-27 20:50:32 +05:00
22582: EDF 8036 SMESH: ConvertToQuadratic fails with theForce3d off
Fix force3DOutOfBoundary()
This commit is contained in:
parent
c85da25c70
commit
2c50a35a86
@ -242,8 +242,6 @@ void SMESH_MesherHelper::SetSubShape(const TopoDS_Shape& aSh)
|
|||||||
for ( TopExp_Explorer eF( aSh, TopAbs_FACE ); eF.More(); eF.Next() )
|
for ( TopExp_Explorer eF( aSh, TopAbs_FACE ); eF.More(); eF.Next() )
|
||||||
{
|
{
|
||||||
const TopoDS_Face& face = TopoDS::Face( eF.Current() );
|
const TopoDS_Face& face = TopoDS::Face( eF.Current() );
|
||||||
// TopLoc_Location loc;
|
|
||||||
// Handle(Geom_Surface) surface = BRep_Tool::Surface( face, loc );
|
|
||||||
|
|
||||||
// if ( surface->IsUPeriodic() || surface->IsVPeriodic() ||
|
// if ( surface->IsUPeriodic() || surface->IsVPeriodic() ||
|
||||||
// surface->IsUClosed() || surface->IsVClosed() )
|
// surface->IsUClosed() || surface->IsVClosed() )
|
||||||
@ -4214,6 +4212,8 @@ namespace { // Structures used by FixQuadraticElements()
|
|||||||
nInSolid = n;
|
nInSolid = n;
|
||||||
else if ( subIDs.count( n->getshapeId() ))
|
else if ( subIDs.count( n->getshapeId() ))
|
||||||
nOnFace.push_back( n );
|
nOnFace.push_back( n );
|
||||||
|
else
|
||||||
|
nInSolid = n;
|
||||||
}
|
}
|
||||||
if ( !nInSolid || nOnFace.size() != nbN - 1 )
|
if ( !nInSolid || nOnFace.size() != nbN - 1 )
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user