Salome HOME
more comments
authoreap <eap@opencascade.com>
Mon, 28 Jan 2013 08:31:21 +0000 (08:31 +0000)
committereap <eap@opencascade.com>
Mon, 28 Jan 2013 08:31:21 +0000 (08:31 +0000)
src/StdMeshers/StdMeshers_Projection_1D2D.cxx

index 23f5e7cc043b707585e72b0835b8bbeb9c0267c7..f9fe63dc3c6b87de66f08f83630be7065899a9a9 100644 (file)
@@ -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;
 }