7fd59977 |
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 : InternalVerticesMode |
11 | //purpose : |
12 | //======================================================================= |
13 | |
14 | inline Standard_Boolean& BRepMesh_FastDiscret::InternalVerticesMode () |
15 | { |
16 | return myInternalVerticesMode; |
17 | } |
18 | |
19 | //======================================================================= |
20 | //function : GetDeflection |
21 | //purpose : |
22 | //======================================================================= |
23 | |
24 | inline Standard_Real BRepMesh_FastDiscret::GetDeflection() const |
25 | { |
26 | return mydeflection; |
27 | } |
28 | |
29 | //======================================================================= |
30 | //function : GetAngle |
31 | //purpose : |
32 | //======================================================================= |
33 | |
34 | inline Standard_Real BRepMesh_FastDiscret::GetAngle() const |
35 | { |
36 | return myangle; |
37 | } |
38 | |
39 | //======================================================================= |
40 | //function : GetMapOfDefEdge |
41 | //purpose : |
42 | //======================================================================= |
43 | |
44 | inline const TopTools_DataMapOfShapeReal& BRepMesh_FastDiscret::GetMapOfDefEdge() const |
45 | { |
46 | return mapdefle; |
47 | } |
48 | |
49 | //======================================================================= |
50 | //function : EdgesOfDomain |
51 | //purpose : |
52 | //======================================================================= |
53 | |
54 | inline void BRepMesh_FastDiscret::EdgesOfDomain(MeshDS_MapOfInteger& Indices) const |
55 | { |
56 | Indices = structure->LinkOfDomain(); |
57 | } |
58 | |
59 | //======================================================================= |
60 | //function : TrianglesOfDomain |
61 | //purpose : |
62 | //======================================================================= |
63 | |
64 | inline void BRepMesh_FastDiscret::TrianglesOfDomain(MeshDS_MapOfInteger& Indices) const |
65 | { |
66 | Indices = structure->ElemOfDomain(); |
67 | } |
68 | |
69 | //======================================================================= |
70 | //function : NbPoint3d |
71 | //purpose : |
72 | //======================================================================= |
73 | |
74 | inline Standard_Integer BRepMesh_FastDiscret::NbPoint3d() const |
75 | { |
76 | return nbLocat; |
77 | } |
78 | |
79 | //======================================================================= |
80 | //function : Point3d |
81 | //purpose : |
82 | //======================================================================= |
83 | |
84 | inline const gp_Pnt& BRepMesh_FastDiscret::Point3d(const Standard_Integer Index) const |
85 | { |
86 | return Location3d(Index); |
87 | } |
88 | |
89 | //======================================================================= |
90 | //function : WithShare |
91 | //purpose : |
92 | //======================================================================= |
93 | |
94 | inline Standard_Boolean BRepMesh_FastDiscret::WithShare() const |
95 | { |
96 | return myWithShare; |
97 | } |
98 | |
99 | //======================================================================= |
100 | //function : InShape |
101 | //purpose : |
102 | //======================================================================= |
103 | |
104 | inline Standard_Boolean BRepMesh_FastDiscret::InShape() const |
105 | { |
106 | return myinshape; |
107 | } |
108 | |
109 | //======================================================================= |
110 | //function : ShapeTrigu |
111 | //purpose : |
112 | //======================================================================= |
113 | |
114 | inline Standard_Boolean BRepMesh_FastDiscret::ShapeTrigu() const |
115 | { |
116 | return myshapetrigu; |
117 | } |