blob: aac7a6c5f4b0075e3d70cb789034034c53db79cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
// File: HLRBRep_Data.lxx
// Created: Thu Apr 17 16:56:27 1997
// Author: Christophe MARION
// <cma@partox.paris1.matra-dtv.fr>
//=======================================================================
//function : EDataArray
//purpose :
//=======================================================================
inline HLRBRep_Array1OfEData & HLRBRep_Data::EDataArray ()
{ return myEData; }
//=======================================================================
//function : FDataArray
//purpose :
//=======================================================================
inline HLRBRep_Array1OfFData & HLRBRep_Data::FDataArray ()
{ return myFData; }
//=======================================================================
//function : Tolerance
//purpose :
//=======================================================================
inline void HLRBRep_Data::Tolerance (const Standard_ShortReal tol)
{ myToler = tol; }
//=======================================================================
//function : Tolerance
//purpose :
//=======================================================================
inline Standard_ShortReal HLRBRep_Data::Tolerance () const
{ return myToler; }
//=======================================================================
//function : Projector
//purpose :
//=======================================================================
inline HLRAlgo_Projector & HLRBRep_Data::Projector ()
{ return myProj; }
//=======================================================================
//function : NbVertices
//purpose :
//=======================================================================
inline Standard_Integer HLRBRep_Data::NbVertices () const
{ return myNbVertices; }
//=======================================================================
//function : NbEdges
//purpose :
//=======================================================================
inline Standard_Integer HLRBRep_Data::NbEdges () const
{ return myNbEdges; }
//=======================================================================
//function : NbFaces
//purpose :
//=======================================================================
inline Standard_Integer HLRBRep_Data::NbFaces () const
{ return myNbFaces; }
//=======================================================================
//function : EdgeMap
//purpose :
//=======================================================================
inline TopTools_IndexedMapOfShape & HLRBRep_Data::EdgeMap ()
{ return myEMap; }
//=======================================================================
//function : FaceMap
//purpose :
//=======================================================================
inline TopTools_IndexedMapOfShape & HLRBRep_Data::FaceMap ()
{ return myFMap; }
//=======================================================================
//function : SimpleHidingFace
//purpose :
//=======================================================================
inline Standard_Boolean HLRBRep_Data::SimpleHidingFace () const
{ return iFaceSimp; }
//=======================================================================
//function : HidingTheFace
//purpose :
//=======================================================================
inline Standard_Boolean HLRBRep_Data::HidingTheFace () const
{ return iFaceTest; }
//=======================================================================
//function : MoreInterference
//purpose :
//=======================================================================
inline Standard_Boolean HLRBRep_Data::MoreInterference () const
{ return (iInterf <= myNbPoints + 2*myNbSegments); }
//=======================================================================
//function : Interference
//purpose :
//=======================================================================
inline HLRAlgo_Interference & HLRBRep_Data::Interference ()
{ return myIntf; }
//=======================================================================
//function :EdgeOfTheHidingFace
//purpose :
//=======================================================================
inline Standard_Boolean
HLRBRep_Data::EdgeOfTheHidingFace (const Standard_Integer E,
const HLRBRep_EdgeData& EData) const
{ return EData.HideCount() == myHideCount-1; }
|