0020206: EDF SMESH 987: Netgen1D2D3D +submesh (Regression : Compute Mesh_2)
SMDS_MeshElement::GetNode() no more wraps indices
This commit is contained in:
parent
58429b7405
commit
75c7a9333a
@ -467,10 +467,10 @@ bool NETGENPlugin_Mesher::fillNgMesh(netgen::OCCGeometry& occgeom,
|
||||
for ( int i = 0; i < 3; ++i ) {
|
||||
const SMDS_MeshNode* node = f->GetNode( i ), * inFaceNode=0;
|
||||
if ( helper.IsSeamShape( node->GetPosition()->GetShapeId() ))
|
||||
if ( helper.IsSeamShape( f->GetNode( i+1 )->GetPosition()->GetShapeId() ))
|
||||
inFaceNode = f->GetNode( i-1 );
|
||||
if ( helper.IsSeamShape( f->GetNodeWrap( i+1 )->GetPosition()->GetShapeId() ))
|
||||
inFaceNode = f->GetNodeWrap( i-1 );
|
||||
else
|
||||
inFaceNode = f->GetNode( i+1 );
|
||||
inFaceNode = f->GetNodeWrap( i+1 );
|
||||
|
||||
gp_XY uv = helper.GetNodeUV( geomFace, node, inFaceNode );
|
||||
if ( reverse ) {
|
||||
|
Loading…
Reference in New Issue
Block a user