From 09024c777cbabb8d444ba49dea29c38d881d6dd7 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 28 Jan 2013 08:31:21 +0000 Subject: [PATCH] more comments --- src/StdMeshers/StdMeshers_Projection_1D2D.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/StdMeshers/StdMeshers_Projection_1D2D.cxx b/src/StdMeshers/StdMeshers_Projection_1D2D.cxx index 23f5e7cc0..f9fe63dc3 100644 --- a/src/StdMeshers/StdMeshers_Projection_1D2D.cxx +++ b/src/StdMeshers/StdMeshers_Projection_1D2D.cxx @@ -108,9 +108,13 @@ bool StdMeshers_Projection_1D2D::Compute(SMESH_Mesh& theMesh, const TopoDS_Shape { UnsetterOfEventProparatorToEdges eventBarrier( theMesh.GetSubMesh( theShape )); + // 1) Project faces + if ( !StdMeshers_Projection_2D::Compute(theMesh, theShape)) return false; + // 2) Create segments + SMESHDS_Mesh * meshDS = theMesh.GetMeshDS(); 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 ); } } - } + } return true; } -- 2.39.2