Salome HOME
NRI : First integration.
[modules/smesh.git] / src / SMDS / SMDSControl_MeshBoundary.cxx
1 using namespace std;
2 // File:        SMDSControl_MeshBoundary.cxx
3 // Created:     Tue Mar 12 23:42:53 2002
4 // Author:      Jean-Michel BOULCOURT
5 //              <jmb@localhost.localdomain>
6
7
8 #include "SMDSControl_MeshBoundary.ixx"
9
10 //=======================================================================
11 //function : SMDSControl_MeshBoundary
12 //purpose  : 
13 //=======================================================================
14
15 SMDSControl_MeshBoundary::SMDSControl_MeshBoundary()
16 {
17 }
18
19 //=======================================================================
20 //function : SMDSControl_MeshBoundary
21 //purpose  : 
22 //=======================================================================
23
24 SMDSControl_MeshBoundary::SMDSControl_MeshBoundary(const Handle(SMDS_Mesh)& M)
25   :myMesh(M)
26 {
27 }
28
29 //=======================================================================
30 //function : ResultMesh
31 //purpose  : 
32 //=======================================================================
33
34 Handle(SMDS_Mesh) SMDSControl_MeshBoundary::ResultMesh()
35 {
36   if (myBoundaryMesh.IsNull())
37     Compute();
38   return myBoundaryMesh;
39 }
40