diff --git a/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cxx b/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cxx index 5e3f5533f..3ae9552d9 100644 --- a/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cxx +++ b/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cxx @@ -25,8 +25,10 @@ // #include "StdMeshers_QuadToTriaAdaptor.hxx" -#include -#include +#include "SMDS_SetIterator.hxx" + +#include "SMESH_Algo.hxx" +#include "SMESH_MesherHelper.hxx" #include #include @@ -89,6 +91,12 @@ namespace { return SMDSAbs_EntityType( Q2TAbs_TmpTriangle ); } + virtual SMDS_ElemIteratorPtr elementsIterator(SMDSAbs_ElementType type) const + { + if ( type == SMDSAbs_Node ) + return SMDS_ElemIteratorPtr( new SMDS_NodeArrayElemIterator( _nodes, _nodes+3 )); + throw SALOME_Exception(LOCALIZED("Not implemented")); + } }; //================================================================================