mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 09:50:34 +05:00
Merge branch 'master' into gni/adaptation
This commit is contained in:
commit
1d3309b296
@ -4776,6 +4776,7 @@ bool StdMeshers_Quadrangle_2D::check()
|
|||||||
|
|
||||||
const SMDS_MeshNode* nInFace = 0;
|
const SMDS_MeshNode* nInFace = 0;
|
||||||
if ( myHelper->HasSeam() )
|
if ( myHelper->HasSeam() )
|
||||||
|
{
|
||||||
for ( int i = 0; i < nbN && !nInFace; ++i )
|
for ( int i = 0; i < nbN && !nInFace; ++i )
|
||||||
if ( !myHelper->IsSeamShape( nn[i]->getshapeId() ))
|
if ( !myHelper->IsSeamShape( nn[i]->getshapeId() ))
|
||||||
{
|
{
|
||||||
@ -4784,6 +4785,33 @@ bool StdMeshers_Quadrangle_2D::check()
|
|||||||
if ( myHelper->IsOnSeam( uv ))
|
if ( myHelper->IsOnSeam( uv ))
|
||||||
nInFace = NULL;
|
nInFace = NULL;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
if ( myHelper->GetPeriodicIndex() && !nInFace )
|
||||||
|
{
|
||||||
|
for ( int i = 0; i < nbN && !nInFace; ++i )
|
||||||
|
if ( fSubMesh->Contains( nn[i] ))
|
||||||
|
nInFace = nn[i];
|
||||||
|
if ( !nInFace )
|
||||||
|
for ( int i = 0; i < nbN && !nInFace; ++i )
|
||||||
|
{
|
||||||
|
SMDS_ElemIteratorPtr fIt = nn[i]->GetInverseElementIterator( SMDSAbs_Face );
|
||||||
|
while ( fIt->more() && !nInFace )
|
||||||
|
{
|
||||||
|
const SMDS_MeshElement* face = fIt->next();
|
||||||
|
if ( !fSubMesh->Contains( face ))
|
||||||
|
continue;
|
||||||
|
for ( int iN = 0, nN = face->NbCornerNodes(); iN < nN; ++iN )
|
||||||
|
{
|
||||||
|
const SMDS_MeshNode* n = face->GetNode( iN );
|
||||||
|
if ( fSubMesh->Contains( n ))
|
||||||
|
{
|
||||||
|
nInFace = n;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
toCheckUV = true;
|
toCheckUV = true;
|
||||||
for ( int i = 0; i < nbN; ++i )
|
for ( int i = 0; i < nbN; ++i )
|
||||||
|
Loading…
Reference in New Issue
Block a user