const SMDS_MeshNode* node = f->GetNode( i ), * inFaceNode=0;
// get node UV on face
- int shapeID = node->GetPosition()->GetShapeId();
+ int shapeID = node->getshapeId();
if ( helper.IsSeamShape( shapeID ))
- if ( helper.IsSeamShape( f->GetNodeWrap( i+1 )->GetPosition()->GetShapeId() ))
+ if ( helper.IsSeamShape( f->GetNodeWrap( i+1 )->getshapeId() ))
inFaceNode = f->GetNodeWrap( i-1 );
else
inFaceNode = f->GetNodeWrap( i+1 );
strncmp( file, badEdgeStr, badEdgeStrLen ) == 0 &&
two[0] < nodeVec.size() && two[1] < nodeVec.size())
{
- err->myBadElements.push_back( new SMDS_MeshEdge( nodeVec[ two[0]], nodeVec[ two[1]] ));
+ err->myBadElements.push_back( new SMDS_LinearEdge( nodeVec[ two[0]], nodeVec[ two[1]] ));
file += badEdgeStrLen;
}
else if ( strncmp( file, "Intersecting: ", 14 ) == 0 )
{
int nbDblNodes = 0;
for ( int i = 0; i < nbNodes; ++i )
- nbDblNodes += isInternalShape( f->GetNode(i)->GetPosition()->GetShapeId() );
+ nbDblNodes += isInternalShape( f->GetNode(i)->getshapeId() );
if ( nbDblNodes )
suspectFaces[ nbDblNodes < 2 ].push_back( f );
nbSuspectFaces++;
{
// Add the first point of a segment
const SMDS_MeshNode * n = uvPtVec[ i ].node;
- const int posShapeID = n->GetPosition()->GetShapeId();
+ const int posShapeID = n->getshapeId();
bool onVertex = ( n->GetPosition()->GetTypeOfPosition() == SMDS_TOP_VERTEX );
// skip nodes on degenerated edges
if ( helper.IsDegenShape( posShapeID ) &&
- helper.IsDegenShape( uvPtVec[ i+1 ].node->GetPosition()->GetShapeId() ))
+ helper.IsDegenShape( uvPtVec[ i+1 ].node->getshapeId() ))
continue;
int ngID1 = ngMesh.GetNP() + 1, ngID2 = ngID1+1;
for ( int iN = 0; iN < 3; ++iN )
{
const SMDS_MeshNode* node = trias[i]->GetNode( iN );
- int shapeID = node->GetPosition()->GetShapeId();
+ int shapeID = node->getshapeId();
if ( node->GetPosition()->GetTypeOfPosition() == SMDS_TOP_EDGE &&
helper.IsDegenShape( shapeID ))
{