mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-01 20:30:35 +05:00
more comments
This commit is contained in:
parent
1fff018cb3
commit
09024c777c
@ -108,9 +108,13 @@ bool StdMeshers_Projection_1D2D::Compute(SMESH_Mesh& theMesh, const TopoDS_Shape
|
|||||||
{
|
{
|
||||||
UnsetterOfEventProparatorToEdges eventBarrier( theMesh.GetSubMesh( theShape ));
|
UnsetterOfEventProparatorToEdges eventBarrier( theMesh.GetSubMesh( theShape ));
|
||||||
|
|
||||||
|
// 1) Project faces
|
||||||
|
|
||||||
if ( !StdMeshers_Projection_2D::Compute(theMesh, theShape))
|
if ( !StdMeshers_Projection_2D::Compute(theMesh, theShape))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
// 2) Create segments
|
||||||
|
|
||||||
SMESHDS_Mesh * meshDS = theMesh.GetMeshDS();
|
SMESHDS_Mesh * meshDS = theMesh.GetMeshDS();
|
||||||
|
|
||||||
SMESHDS_SubMesh * faceSubMesh = meshDS->MeshElements( theShape );
|
SMESHDS_SubMesh * faceSubMesh = meshDS->MeshElements( theShape );
|
||||||
@ -173,7 +177,7 @@ bool StdMeshers_Projection_1D2D::Compute(SMESH_Mesh& theMesh, const TopoDS_Shape
|
|||||||
meshDS->SetMeshElementOnShape( e, edgeID );
|
meshDS->SetMeshElementOnShape( e, edgeID );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user