Salome HOME
This commit was generated by cvs2git to track changes on a CVS vendor
[modules/smesh.git] / src / SMDS / SMDS_Mesh.lxx
1 // File:        SMDS_Mesh.lxx
2 // Created:     Thu Jan 24 09:45:40 2002
3 // Author:      Jean-Michel BOULCOURT
4 //              <jmb@coulox.paris1.matra-dtv.fr>
5
6 //=======================================================================
7 //function : NbNodes
8 //purpose  : 
9 //=======================================================================
10
11 inline Standard_Integer SMDS_Mesh::NbNodes() const
12 {
13   return myNodes.Extent();
14 }
15
16 //=======================================================================
17 //function : NbEdges
18 //purpose  : 
19 //=======================================================================
20
21 inline Standard_Integer SMDS_Mesh::NbEdges() const
22 {
23   return myEdges.Extent();
24 }
25
26 //=======================================================================
27 //function : NbFaces
28 //purpose  : 
29 //=======================================================================
30
31 inline Standard_Integer SMDS_Mesh::NbFaces() const
32 {
33   return myFaces.Extent();
34 }
35
36 //=======================================================================
37 //function : NbVolumes
38 //purpose  : 
39 //=======================================================================
40
41 inline Standard_Integer SMDS_Mesh::NbVolumes() const
42 {
43   return myVolumes.Extent();
44 }
45
46
47 //=======================================================================
48 //function : NbSubMesh
49 //purpose  : 
50 //=======================================================================
51
52 inline Standard_Integer SMDS_Mesh::NbSubMesh() const
53 {
54   return myChildren.Extent();
55 }
56
57