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
imn/auto-reorder_of_nodes_ver2
[modules/smesh.git]
/
src
/
StdMeshers
/
StdMeshers_ProjectionSource2D.cxx
diff --git
a/src/StdMeshers/StdMeshers_ProjectionSource2D.cxx
b/src/StdMeshers/StdMeshers_ProjectionSource2D.cxx
index 479bdd6eca6f29bf8d70aec89f7ab05fd2d926e5..5034d7920398715666406c283a1145c55e57f9e6 100644
(file)
--- a/
src/StdMeshers/StdMeshers_ProjectionSource2D.cxx
+++ b/
src/StdMeshers/StdMeshers_ProjectionSource2D.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
2
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
4
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-6,7
+6,7
@@
// 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
@@
-28,6
+28,7
@@
#include "StdMeshers_ProjectionSource2D.hxx"
#include "SMESH_Mesh.hxx"
#include "StdMeshers_ProjectionSource2D.hxx"
#include "SMESH_Mesh.hxx"
+#include "SMESH_MesherHelper.hxx"
#include "StdMeshers_ProjectionUtils.hxx"
#include "utilities.h"
#include "StdMeshers_ProjectionUtils.hxx"
#include "utilities.h"
@@
-111,7
+112,7
@@
void StdMeshers_ProjectionSource2D::SetVertexAssociation(const TopoDS_Shape& sou
{
// possibly there is only 1 vertex in the face
if ( !_sourceFace.IsNull() &&
{
// possibly there is only 1 vertex in the face
if ( !_sourceFace.IsNull() &&
- S
tdMeshers_ProjectionUtils
::Count( _sourceFace, TopAbs_VERTEX, /*ignoreSame=*/true) != 1 )
+ S
MESH_MesherHelper
::Count( _sourceFace, TopAbs_VERTEX, /*ignoreSame=*/true) != 1 )
throw SALOME_Exception(LOCALIZED("Two or none pairs of vertices must be provided"));
}
throw SALOME_Exception(LOCALIZED("Two or none pairs of vertices must be provided"));
}