Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
669d7d6
)
0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm
author
eap
<eap@opencascade.com>
Thu, 13 Oct 2011 05:35:12 +0000
(
05:35
+0000)
committer
eap
<eap@opencascade.com>
Thu, 13 Oct 2011 05:35:12 +0000
(
05:35
+0000)
fix for projection of a group
src/StdMeshers/StdMeshers_Projection_1D2D.cxx
patch
|
blob
|
history
diff --git
a/src/StdMeshers/StdMeshers_Projection_1D2D.cxx
b/src/StdMeshers/StdMeshers_Projection_1D2D.cxx
index 6053964286192d1c4198a7b0e5d7b08020b71582..02ec4a9aa96af34bdd2dd9c46517f6a846d3c2e6 100644
(file)
--- a/
src/StdMeshers/StdMeshers_Projection_1D2D.cxx
+++ b/
src/StdMeshers/StdMeshers_Projection_1D2D.cxx
@@
-100,8
+100,8
@@
bool StdMeshers_Projection_1D2D::Compute(SMESH_Mesh& theMesh, const TopoDS_Shape
int edgeID = meshDS->ShapeToIndex( wires[ iWire ]->Edge(0) );
for ( size_t i = 1; i < nodes.size(); ++i )
{
- if ( checkExisting && meshDS->FindEdge( nodes[i-1], nodes[i])
-
continue;
+ if ( checkExisting && meshDS->FindEdge( nodes[i-1], nodes[i])
)
+ continue;
SMDS_MeshElement* e = meshDS->AddEdge( nodes[i-1], nodes[i] );
if ( nodes[i-1]->getshapeId() != edgeID &&
nodes[i ]->getshapeId() != edgeID )