Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote branch 'origin/gdd/translations'
[modules/smesh.git]
/
src
/
SMDS
/
SMDS_VtkCellIterator.cxx
diff --git
a/src/SMDS/SMDS_VtkCellIterator.cxx
b/src/SMDS/SMDS_VtkCellIterator.cxx
index bf198834306cef2f2194e36373b76c691bceff3c..987ca65bf4d5f2b21ac306e8665c334582747dd6 100644
(file)
--- a/
src/SMDS/SMDS_VtkCellIterator.cxx
+++ b/
src/SMDS/SMDS_VtkCellIterator.cxx
@@
-1,9
+1,9
@@
-// Copyright (C) 2010-201
3
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2010-201
5
CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License
, or (at your option) any later version
.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
@@
-81,9
+81,11
@@
SMDS_VtkCellIteratorToUNV::SMDS_VtkCellIteratorToUNV(SMDS_Mesh* mesh, int vtkCel
break;
}
case SMDSEntity_Quad_Triangle:
break;
}
case SMDSEntity_Quad_Triangle:
+ case SMDSEntity_BiQuad_Triangle:
{
static int id[] = { 0, 3, 1, 4, 2, 5 };
ids = id;
{
static int id[] = { 0, 3, 1, 4, 2, 5 };
ids = id;
+ _nbNodes = 6;
break;
}
case SMDSEntity_Quad_Quadrangle:
break;
}
case SMDSEntity_Quad_Quadrangle:
@@
-146,6
+148,16
@@
SMDS_VtkCellIteratorToUNV::SMDS_VtkCellIteratorToUNV(SMDS_Mesh* mesh, int vtkCel
_vtkIdList->SetId(i, pts[i]);
}
_vtkIdList->SetId(i, pts[i]);
}
+bool SMDS_VtkCellIteratorToUNV::more()
+{
+ return SMDS_VtkCellIterator::more();
+}
+
+const SMDS_MeshNode* SMDS_VtkCellIteratorToUNV::next()
+{
+ return static_cast< const SMDS_MeshNode* >( SMDS_VtkCellIterator::next() );
+}
+
SMDS_VtkCellIteratorToUNV::~SMDS_VtkCellIteratorToUNV()
{
}
SMDS_VtkCellIteratorToUNV::~SMDS_VtkCellIteratorToUNV()
{
}