b311480e |
1 | // Created on: 1993-11-02 |
2 | // Created by: Christophe MARION |
3 | // Copyright (c) 1993-1999 Matra Datavision |
973c2be1 |
4 | // Copyright (c) 1999-2014 OPEN CASCADE SAS |
b311480e |
5 | // |
973c2be1 |
6 | // This file is part of Open CASCADE Technology software library. |
b311480e |
7 | // |
d5f74e42 |
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 |
973c2be1 |
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. |
b311480e |
13 | // |
973c2be1 |
14 | // Alternatively, this file may be used under the terms of Open CASCADE |
15 | // commercial license or contractual agreement. |
7fd59977 |
16 | |
17 | #include <TopoDS_Shape.hxx> |
18 | |
19 | //======================================================================= |
20 | //function : VCompound |
21 | //purpose : |
22 | //======================================================================= |
23 | |
24 | inline TopoDS_Shape HLRBRep_HLRToShape::VCompound() |
25 | { return InternalCompound(5,Standard_True,TopoDS_Shape()); } |
26 | |
27 | //======================================================================= |
28 | //function : VCompound |
29 | //purpose : |
30 | //======================================================================= |
31 | |
32 | inline TopoDS_Shape |
33 | HLRBRep_HLRToShape::VCompound(const TopoDS_Shape& S) |
34 | { return InternalCompound(5,Standard_True,S); } |
35 | |
36 | //======================================================================= |
37 | //function : Rg1LineVCompound |
38 | //purpose : |
39 | //======================================================================= |
40 | |
41 | inline TopoDS_Shape HLRBRep_HLRToShape::Rg1LineVCompound() |
42 | { return InternalCompound(3,Standard_True,TopoDS_Shape()); } |
43 | |
44 | //======================================================================= |
45 | //function : Rg1LineVCompound |
46 | //purpose : |
47 | //======================================================================= |
48 | |
49 | inline TopoDS_Shape |
50 | HLRBRep_HLRToShape::Rg1LineVCompound(const TopoDS_Shape& S) |
51 | { return InternalCompound(3,Standard_True,S); } |
52 | |
53 | //======================================================================= |
54 | //function : RgNLineVCompound |
55 | //purpose : |
56 | //======================================================================= |
57 | |
58 | inline TopoDS_Shape HLRBRep_HLRToShape::RgNLineVCompound() |
59 | { return InternalCompound(4,Standard_True,TopoDS_Shape()); } |
60 | |
61 | //======================================================================= |
62 | //function : RgNLineVCompound |
63 | //purpose : |
64 | //======================================================================= |
65 | |
66 | inline TopoDS_Shape |
67 | HLRBRep_HLRToShape::RgNLineVCompound(const TopoDS_Shape& S) |
68 | { return InternalCompound(4,Standard_True,S); } |
69 | |
70 | //======================================================================= |
71 | //function : OutLineVCompound |
72 | //purpose : |
73 | //======================================================================= |
74 | |
75 | inline TopoDS_Shape HLRBRep_HLRToShape::OutLineVCompound() |
76 | { return InternalCompound(2,Standard_True,TopoDS_Shape()); } |
77 | |
78 | //======================================================================= |
bda83605 |
79 | //function : OutLineVCompound3d |
80 | //purpose : |
81 | //======================================================================= |
82 | |
83 | inline TopoDS_Shape HLRBRep_HLRToShape::OutLineVCompound3d() |
84 | { return InternalCompound(2,Standard_True,TopoDS_Shape(),Standard_True); } |
85 | |
86 | //======================================================================= |
7fd59977 |
87 | //function : OutLineVCompound |
88 | //purpose : |
89 | //======================================================================= |
90 | |
91 | inline TopoDS_Shape |
92 | HLRBRep_HLRToShape::OutLineVCompound(const TopoDS_Shape& S) |
93 | { return InternalCompound(2,Standard_True,S); } |
94 | |
95 | //======================================================================= |
96 | //function : IsoLineVCompound |
97 | //purpose : |
98 | //======================================================================= |
99 | |
100 | inline TopoDS_Shape HLRBRep_HLRToShape::IsoLineVCompound() |
101 | { return InternalCompound(1,Standard_True,TopoDS_Shape()); } |
102 | |
103 | //======================================================================= |
104 | //function : IsoLineVCompound |
105 | //purpose : |
106 | //======================================================================= |
107 | |
108 | inline TopoDS_Shape |
109 | HLRBRep_HLRToShape::IsoLineVCompound(const TopoDS_Shape& S) |
110 | { return InternalCompound(1,Standard_True,S); } |
111 | |
112 | //======================================================================= |
113 | //function : HCompound |
114 | //purpose : |
115 | //======================================================================= |
116 | |
117 | inline TopoDS_Shape HLRBRep_HLRToShape::HCompound() |
118 | { return InternalCompound(5,Standard_False,TopoDS_Shape()); } |
119 | |
120 | //======================================================================= |
121 | //function : HCompound |
122 | //purpose : |
123 | //======================================================================= |
124 | |
125 | inline TopoDS_Shape |
126 | HLRBRep_HLRToShape::HCompound(const TopoDS_Shape& S) |
127 | { return InternalCompound(5,Standard_False,S); } |
128 | |
129 | //======================================================================= |
130 | //function : Rg1LineHCompound |
131 | //purpose : |
132 | //======================================================================= |
133 | |
134 | inline TopoDS_Shape HLRBRep_HLRToShape::Rg1LineHCompound() |
135 | { return InternalCompound(3,Standard_False,TopoDS_Shape()); } |
136 | |
137 | //======================================================================= |
138 | //function : Rg1LineHCompound |
139 | //purpose : |
140 | //======================================================================= |
141 | |
142 | inline TopoDS_Shape |
143 | HLRBRep_HLRToShape::Rg1LineHCompound(const TopoDS_Shape& S) |
144 | { return InternalCompound(3,Standard_False,S); } |
145 | |
146 | //======================================================================= |
147 | //function : RgNLineHCompound |
148 | //purpose : |
149 | //======================================================================= |
150 | |
151 | inline TopoDS_Shape HLRBRep_HLRToShape::RgNLineHCompound() |
152 | { return InternalCompound(4,Standard_False,TopoDS_Shape()); } |
153 | |
154 | //======================================================================= |
155 | //function : RgNLineHCompound |
156 | //purpose : |
157 | //======================================================================= |
158 | |
159 | inline TopoDS_Shape |
160 | HLRBRep_HLRToShape::RgNLineHCompound(const TopoDS_Shape& S) |
161 | { return InternalCompound(4,Standard_False,S); } |
162 | |
163 | //======================================================================= |
164 | //function : OutLineHCompound |
165 | //purpose : |
166 | //======================================================================= |
167 | |
168 | inline TopoDS_Shape HLRBRep_HLRToShape::OutLineHCompound() |
169 | { return InternalCompound(2,Standard_False,TopoDS_Shape()); } |
170 | |
171 | //======================================================================= |
172 | //function : OutLineHCompound |
173 | //purpose : |
174 | //======================================================================= |
175 | |
176 | inline TopoDS_Shape |
177 | HLRBRep_HLRToShape::OutLineHCompound(const TopoDS_Shape& S) |
178 | { return InternalCompound(2,Standard_False,S); } |
179 | |
180 | //======================================================================= |
181 | //function : IsoLineHCompound |
182 | //purpose : |
183 | //======================================================================= |
184 | |
185 | inline TopoDS_Shape HLRBRep_HLRToShape::IsoLineHCompound() |
186 | { return InternalCompound(1,Standard_False,TopoDS_Shape()); } |
187 | |
188 | //======================================================================= |
189 | //function : IsoLineHCompound |
190 | //purpose : |
191 | //======================================================================= |
192 | |
193 | inline TopoDS_Shape |
194 | HLRBRep_HLRToShape::IsoLineHCompound(const TopoDS_Shape& S) |
195 | { return InternalCompound(1,Standard_False,S); } |
bd5160a5 |
196 | |
197 | //======================================================================= |
198 | //function : CompoundOfEdges |
199 | //purpose : |
200 | //======================================================================= |
201 | |
202 | inline TopoDS_Shape |
203 | HLRBRep_HLRToShape::CompoundOfEdges(const HLRBRep_TypeOfResultingEdge type, |
204 | const Standard_Boolean visible, |
205 | const Standard_Boolean In3d) |
206 | { return InternalCompound(type,visible,TopoDS_Shape(),In3d); } |
207 | |
208 | //======================================================================= |
209 | //function : CompoundOfEdges |
210 | //purpose : |
211 | //======================================================================= |
212 | |
213 | inline TopoDS_Shape |
214 | HLRBRep_HLRToShape::CompoundOfEdges(const TopoDS_Shape& S, |
215 | const HLRBRep_TypeOfResultingEdge type, |
216 | const Standard_Boolean visible, |
217 | const Standard_Boolean In3d) |
218 | { return InternalCompound(type,visible,S,In3d); } |