mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-18 08:40:36 +05:00
0021096: EDF 1729 SMESH: Create a Projection 1D-2D algorithm
fix for projection of a group
This commit is contained in:
parent
669d7d6d0f
commit
bb2db66613
@ -100,8 +100,8 @@ bool StdMeshers_Projection_1D2D::Compute(SMESH_Mesh& theMesh, const TopoDS_Shape
|
|||||||
int edgeID = meshDS->ShapeToIndex( wires[ iWire ]->Edge(0) );
|
int edgeID = meshDS->ShapeToIndex( wires[ iWire ]->Edge(0) );
|
||||||
for ( size_t i = 1; i < nodes.size(); ++i )
|
for ( size_t i = 1; i < nodes.size(); ++i )
|
||||||
{
|
{
|
||||||
if ( checkExisting && meshDS->FindEdge( nodes[i-1], nodes[i])
|
if ( checkExisting && meshDS->FindEdge( nodes[i-1], nodes[i]))
|
||||||
continue;
|
continue;
|
||||||
SMDS_MeshElement* e = meshDS->AddEdge( nodes[i-1], nodes[i] );
|
SMDS_MeshElement* e = meshDS->AddEdge( nodes[i-1], nodes[i] );
|
||||||
if ( nodes[i-1]->getshapeId() != edgeID &&
|
if ( nodes[i-1]->getshapeId() != edgeID &&
|
||||||
nodes[i ]->getshapeId() != edgeID )
|
nodes[i ]->getshapeId() != edgeID )
|
||||||
|
Loading…
Reference in New Issue
Block a user