25c8c0e340a5b4acb25a278cc21b3dd67b89431b
[occt.git] / src / BRepMesh / BRepMesh_FastDiscret.lxx
1 // File:        BRepMesh_FastDiscret.lxx
2 // Created:     Fri Sep 26 16:39:53 2003
3 // Author:      Open CASCADE Support
4 //              <support@opencascade.com>
5 // Copyright:    Open CASCADE 2003
6
7 #include <BRepMesh_DataStructureOfDelaun.hxx>
8
9 //=======================================================================
10 //function : GetDeflection
11 //purpose  : 
12 //=======================================================================
13
14 inline Standard_Real BRepMesh_FastDiscret::GetDeflection() const
15 {
16   return myDeflection;
17 }
18
19 //=======================================================================
20 //function : GetAngle
21 //purpose  : 
22 //=======================================================================
23
24 inline Standard_Real BRepMesh_FastDiscret::GetAngle() const
25 {
26   return myAngle;
27 }
28
29 //=======================================================================
30 //function : GetMapOfDefEdge
31 //purpose  : 
32 //=======================================================================
33
34 inline const TopTools_DataMapOfShapeReal& BRepMesh_FastDiscret::GetMapOfDefEdge() const
35 {
36   return myMapdefle;
37 }
38
39 //=======================================================================
40 //function : EdgesOfDomain
41 //purpose  : 
42 //=======================================================================
43
44 inline void BRepMesh_FastDiscret::EdgesOfDomain(MeshDS_MapOfInteger&  Indices) const 
45
46   Indices = myStructure->LinkOfDomain();
47 }
48
49 //=======================================================================
50 //function : TrianglesOfDomain
51 //purpose  : 
52 //=======================================================================
53
54 inline void BRepMesh_FastDiscret::TrianglesOfDomain(MeshDS_MapOfInteger&  Indices) const 
55
56   Indices = myStructure->ElemOfDomain();
57 }
58
59 //=======================================================================
60 //function : NbPoint3d
61 //purpose  : 
62 //=======================================================================
63
64 inline Standard_Integer BRepMesh_FastDiscret::NbPoint3d() const
65 {
66   return myNbLocat;
67 }
68
69 //=======================================================================
70 //function : Point3d
71 //purpose  : 
72 //=======================================================================
73
74 inline const gp_Pnt& BRepMesh_FastDiscret::Point3d(const Standard_Integer Index) const
75 {
76   return myLocation3d(Index);
77 }
78
79 //=======================================================================
80 //function : WithShare
81 //purpose  : 
82 //=======================================================================
83
84 inline Standard_Boolean BRepMesh_FastDiscret::WithShare() const
85 {
86   return myWithShare;
87 }
88
89 //=======================================================================
90 //function : InShape
91 //purpose  : 
92 //=======================================================================
93
94 inline Standard_Boolean BRepMesh_FastDiscret::InShape() const
95 {
96   return myInshape;
97 }
98
99 //=======================================================================
100 //function : ShapeTrigu
101 //purpose  : 
102 //=======================================================================
103
104 inline Standard_Boolean BRepMesh_FastDiscret::ShapeTrigu() const
105 {
106   return myShapetrigu;
107 }