X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FStdMeshers%2FStdMeshers_QuadToTriaAdaptor.cxx;h=47fffaeb2c1244d189d01bfbc65d313e4a94a2f1;hb=5504d02a2237b17b8459bcd3b1fb2a89468598cd;hp=a286e0e48b588c584e30bc65afe524707b39ec1d;hpb=63c75f2e20fda47e06650e57e250a16734229302;p=modules%2Fsmesh.git diff --git a/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cxx b/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cxx index a286e0e48..47fffaeb2 100644 --- a/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cxx +++ b/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2016 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 @@ -27,8 +27,10 @@ #include "SMDS_IteratorOnIterators.hxx" #include "SMDS_SetIterator.hxx" #include "SMESHDS_GroupBase.hxx" +#include "SMESHDS_Mesh.hxx" #include "SMESH_Algo.hxx" #include "SMESH_Group.hxx" +#include "SMESH_Mesh.hxx" #include "SMESH_MeshAlgos.hxx" #include "SMESH_MesherHelper.hxx" @@ -764,7 +766,7 @@ bool StdMeshers_QuadToTriaAdaptor::Compute(SMESH_Mesh& aMesh, else { for ( TopExp_Explorer exp(aShape,TopAbs_FACE); exp.More(); exp.Next() ) - if (( aSubMeshDSFace = aProxyMesh->GetSubMesh( exp.Current() ))) + if (( aSubMeshDSFace = meshDS->MeshElements( exp.Current() ))) itVec.push_back( aSubMeshDSFace->GetElements() ); } typedef