0031642: Visualization - crash in Graphic3d_Structure::SetVisual() on redisplaying...
[occt.git] / src / HLRAlgo / HLRAlgo_Intersection.lxx
1 // Created on: 1992-02-19
2 // Created by: Christophe MARION
3 // Copyright (c) 1992-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
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.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 //=======================================================================
18 //function : Orientation
19 //purpose  : 
20 //=======================================================================
21
22 inline void HLRAlgo_Intersection::Orientation (const TopAbs_Orientation Ori)
23 { myOrien = Ori; }
24
25 //=======================================================================
26 //function : Orientation
27 //purpose  : 
28 //=======================================================================
29
30 inline TopAbs_Orientation HLRAlgo_Intersection::Orientation() const
31 { return myOrien; }
32
33 //=======================================================================
34 //function : Level
35 //purpose  : 
36 //=======================================================================
37
38 inline void HLRAlgo_Intersection::Level (const Standard_Integer Lev)
39 { myLevel = Lev; }
40
41 //=======================================================================
42 //function : Level
43 //purpose  : 
44 //=======================================================================
45
46 inline Standard_Integer HLRAlgo_Intersection::Level () const
47 { return myLevel; }
48
49 //=======================================================================
50 //function : SegIndex
51 //purpose  : 
52 //=======================================================================
53
54 inline void HLRAlgo_Intersection::SegIndex (const Standard_Integer SegInd)
55 { mySegIndex = SegInd; }
56
57 //=======================================================================
58 //function : SegIndex
59 //purpose  : 
60 //=======================================================================
61
62 inline Standard_Integer HLRAlgo_Intersection::SegIndex () const
63 { return mySegIndex; }
64
65 //=======================================================================
66 //function : Index
67 //purpose  : 
68 //=======================================================================
69
70 inline void HLRAlgo_Intersection::Index (const Standard_Integer Ind)
71 { myIndex = Ind; }
72
73 //=======================================================================
74 //function : Index
75 //purpose  : 
76 //=======================================================================
77
78 inline Standard_Integer HLRAlgo_Intersection::Index () const
79 { return myIndex; }
80
81 //=======================================================================
82 //function : Parameter
83 //purpose  : 
84 //=======================================================================
85
86 inline void HLRAlgo_Intersection::Parameter (const Standard_Real P)
87 { myParam = P; }
88
89 //=======================================================================
90 //function : Parameter
91 //purpose  : 
92 //=======================================================================
93
94 inline Standard_Real HLRAlgo_Intersection::Parameter () const
95 { return myParam; }
96
97 //=======================================================================
98 //function : Tolerance
99 //purpose  : 
100 //=======================================================================
101
102 inline void HLRAlgo_Intersection::Tolerance (const Standard_ShortReal T)
103 { myToler = T; }
104
105 //=======================================================================
106 //function : Tolerance
107 //purpose  : 
108 //=======================================================================
109
110 inline Standard_ShortReal HLRAlgo_Intersection::Tolerance () const
111 { return myToler; }
112
113 //=======================================================================
114 //function : State
115 //purpose  : 
116 //=======================================================================
117
118 inline void HLRAlgo_Intersection::State (const TopAbs_State St)
119 { myState = St; }
120
121 //=======================================================================
122 //function : State
123 //purpose  : 
124 //=======================================================================
125
126 inline TopAbs_State HLRAlgo_Intersection::State() const
127 { return myState; }