1 // Created on: 1997-04-17
2 // Created by: Christophe MARION
3 // Copyright (c) 1997-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
6 // This file is part of Open CASCADE Technology software library.
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
17 //=======================================================================
18 //function : EDataArray
20 //=======================================================================
22 inline HLRBRep_Array1OfEData & HLRBRep_Data::EDataArray ()
25 //=======================================================================
26 //function : FDataArray
28 //=======================================================================
30 inline HLRBRep_Array1OfFData & HLRBRep_Data::FDataArray ()
33 //=======================================================================
34 //function : Tolerance
36 //=======================================================================
38 inline void HLRBRep_Data::Tolerance (const Standard_ShortReal tol)
41 //=======================================================================
42 //function : Tolerance
44 //=======================================================================
46 inline Standard_ShortReal HLRBRep_Data::Tolerance () const
49 //=======================================================================
50 //function : Projector
52 //=======================================================================
54 inline HLRAlgo_Projector & HLRBRep_Data::Projector ()
57 //=======================================================================
58 //function : NbVertices
60 //=======================================================================
62 inline Standard_Integer HLRBRep_Data::NbVertices () const
63 { return myNbVertices; }
65 //=======================================================================
68 //=======================================================================
70 inline Standard_Integer HLRBRep_Data::NbEdges () const
73 //=======================================================================
76 //=======================================================================
78 inline Standard_Integer HLRBRep_Data::NbFaces () const
81 //=======================================================================
84 //=======================================================================
86 inline TopTools_IndexedMapOfShape & HLRBRep_Data::EdgeMap ()
89 //=======================================================================
92 //=======================================================================
94 inline TopTools_IndexedMapOfShape & HLRBRep_Data::FaceMap ()
97 //=======================================================================
98 //function : SimpleHidingFace
100 //=======================================================================
102 inline Standard_Boolean HLRBRep_Data::SimpleHidingFace () const
103 { return iFaceSimp; }
105 //=======================================================================
106 //function : HidingTheFace
108 //=======================================================================
110 inline Standard_Boolean HLRBRep_Data::HidingTheFace () const
111 { return iFaceTest; }
113 //=======================================================================
114 //function : MoreInterference
116 //=======================================================================
118 inline Standard_Boolean HLRBRep_Data::MoreInterference () const
119 { return (iInterf <= myNbPoints + 2*myNbSegments); }
121 //=======================================================================
122 //function : Interference
124 //=======================================================================
126 inline HLRAlgo_Interference & HLRBRep_Data::Interference ()
129 //=======================================================================
130 //function :EdgeOfTheHidingFace
132 //=======================================================================
134 inline Standard_Boolean
135 HLRBRep_Data::EdgeOfTheHidingFace (const Standard_Integer,
136 const HLRBRep_EdgeData& ED) const
137 { return ED.HideCount() == myHideCount-1; }