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
23413: [CEA 2025] bug SMESH orientation
[modules/smesh.git]
/
src
/
SMESH
/
SMESH_ProxyMesh.cxx
diff --git
a/src/SMESH/SMESH_ProxyMesh.cxx
b/src/SMESH/SMESH_ProxyMesh.cxx
index 5271a6c17ad879c35d5e4e2fed65968714275936..f994b83ecd020ed74828c79b950ec3f0515aac10 100644
(file)
--- a/
src/SMESH/SMESH_ProxyMesh.cxx
+++ b/
src/SMESH/SMESH_ProxyMesh.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
5
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
6
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
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-24,6
+24,8
@@
#include "SMDS_IteratorOnIterators.hxx"
#include "SMDS_SetIterator.hxx"
#include "SMDS_IteratorOnIterators.hxx"
#include "SMDS_SetIterator.hxx"
+#include "SMESHDS_Mesh.hxx"
+#include "SMESH_Mesh.hxx"
#include "SMESH_MesherHelper.hxx"
#include <TopTools_ListIteratorOfListOfShape.hxx>
#include "SMESH_MesherHelper.hxx"
#include <TopTools_ListIteratorOfListOfShape.hxx>
@@
-99,7
+101,7
@@
SMESH_ProxyMesh::SMESH_ProxyMesh(std::vector<SMESH_ProxyMesh::Ptr>& components):
SMESH_ProxyMesh::~SMESH_ProxyMesh()
{
SMESH_ProxyMesh::~SMESH_ProxyMesh()
{
- for (
unsigned
i = 0; i < _subMeshes.size(); ++i )
+ for (
size_t
i = 0; i < _subMeshes.size(); ++i )
delete _subMeshes[i];
_subMeshes.clear();
delete _subMeshes[i];
_subMeshes.clear();
@@
-531,7
+533,7
@@
int SMESH_ProxyMesh::SubMesh::NbElements() const
*/
//================================================================================
*/
//================================================================================
-SMDS_ElemIteratorPtr SMESH_ProxyMesh::SubMesh::GetElements() const
+SMDS_ElemIteratorPtr SMESH_ProxyMesh::SubMesh::GetElements(
bool reverse
) const
{
return SMDS_ElemIteratorPtr
( new SMDS_ElementVectorIterator( _elements.begin(), _elements.end() ));
{
return SMDS_ElemIteratorPtr
( new SMDS_ElementVectorIterator( _elements.begin(), _elements.end() ));
@@
-556,7
+558,7
@@
int SMESH_ProxyMesh::SubMesh::NbNodes() const
*/
//================================================================================
*/
//================================================================================
-SMDS_NodeIteratorPtr SMESH_ProxyMesh::SubMesh::GetNodes() const
+SMDS_NodeIteratorPtr SMESH_ProxyMesh::SubMesh::GetNodes(
bool reverse
) const
{
if ( !_uvPtStructVec.empty() )
return SMDS_NodeIteratorPtr ( new SMDS_SetIterator
{
if ( !_uvPtStructVec.empty() )
return SMDS_NodeIteratorPtr ( new SMDS_SetIterator