]>
Commit | Line | Data |
---|---|---|
b311480e | 1 | // Created on: 2000-12-18 |
2 | // Created by: Galina KULIKOVA | |
973c2be1 | 3 | // Copyright (c) 2000-2014 OPEN CASCADE SAS |
b311480e | 4 | // |
973c2be1 | 5 | // This file is part of Open CASCADE Technology software library. |
b311480e | 6 | // |
973c2be1 | 7 | // This library is free software; you can redistribute it and / or modify it |
8 | // under the terms of the GNU Lesser General Public version 2.1 as published | |
9 | // by the Free Software Foundation, with special exception defined in the file | |
10 | // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT | |
11 | // distribution for complete text of the license and disclaimer of any warranty. | |
b311480e | 12 | // |
973c2be1 | 13 | // Alternatively, this file may be used under the terms of Open CASCADE |
14 | // commercial license or contractual agreement. | |
7fd59977 | 15 | |
16 | //======================================================================= | |
17 | //function : SetMaxTolerance | |
18 | //purpose : | |
19 | //======================================================================= | |
20 | ||
21 | inline void BRepBuilderAPI_Sewing::SetMaxTolerance(const Standard_Real theMaxToler) | |
22 | { | |
23 | myMaxTolerance = theMaxToler; | |
24 | } | |
25 | ||
26 | //======================================================================= | |
27 | //function : MaxTolerance | |
28 | //purpose : | |
29 | //======================================================================= | |
30 | ||
31 | inline Standard_Real BRepBuilderAPI_Sewing::MaxTolerance() const | |
32 | { | |
33 | return myMaxTolerance; | |
34 | } | |
35 | ||
36 | //======================================================================= | |
37 | //function : Tolerance | |
38 | //purpose : | |
39 | //======================================================================= | |
40 | ||
41 | inline Standard_Real BRepBuilderAPI_Sewing::Tolerance() const | |
42 | { | |
43 | return myTolerance; | |
44 | } | |
45 | ||
46 | ||
47 | //======================================================================= | |
48 | //function : SetTolerance | |
49 | //purpose : | |
50 | //======================================================================= | |
51 | ||
52 | inline void BRepBuilderAPI_Sewing::SetTolerance(const Standard_Real theToler) | |
53 | { | |
54 | myTolerance = theToler; | |
55 | } | |
56 | ||
57 | //======================================================================= | |
58 | //function : SetMinTolerance | |
59 | //purpose : | |
60 | //======================================================================= | |
61 | ||
62 | inline void BRepBuilderAPI_Sewing::SetMinTolerance(const Standard_Real theMinToler) | |
63 | { | |
64 | myMinTolerance = theMinToler; | |
65 | } | |
66 | ||
67 | //======================================================================= | |
68 | //function : MinTolerance | |
69 | //purpose : | |
70 | //======================================================================= | |
71 | ||
72 | inline Standard_Real BRepBuilderAPI_Sewing::MinTolerance() const | |
73 | { | |
74 | return myMinTolerance; | |
75 | } | |
76 | ||
77 | //======================================================================= | |
78 | //function : SetFaceMode | |
79 | //purpose : | |
80 | //======================================================================= | |
81 | ||
82 | inline void BRepBuilderAPI_Sewing::SetFaceMode(const Standard_Boolean theFaceMode) | |
83 | { | |
84 | myFaceMode = theFaceMode; | |
85 | } | |
86 | ||
87 | //======================================================================= | |
88 | //function : FaceMode | |
89 | //purpose : | |
90 | //======================================================================= | |
91 | ||
92 | inline Standard_Boolean BRepBuilderAPI_Sewing::FaceMode() const | |
93 | { | |
94 | return myFaceMode; | |
95 | } | |
96 | ||
97 | //======================================================================= | |
98 | //function : SetFloatingEdgesMode | |
99 | //purpose : | |
100 | //======================================================================= | |
101 | ||
102 | inline void BRepBuilderAPI_Sewing::SetFloatingEdgesMode(const Standard_Boolean theFloatingEdgesMode) | |
103 | { | |
104 | myFloatingEdgesMode = theFloatingEdgesMode; | |
105 | } | |
106 | ||
107 | //======================================================================= | |
108 | //function : FloatingEdgesMode | |
109 | //purpose : | |
110 | //======================================================================= | |
111 | ||
112 | inline Standard_Boolean BRepBuilderAPI_Sewing::FloatingEdgesMode() const | |
113 | { | |
114 | return myFloatingEdgesMode; | |
115 | } | |
116 | ||
117 | /* | |
118 | //======================================================================= | |
119 | //function : SetCuttingFloatingEdgesMode | |
120 | //purpose : | |
121 | //======================================================================= | |
122 | ||
123 | inline void BRepBuilderAPI_Sewing::SetCuttingFloatingEdgesMode(const Standard_Boolean theCuttingFloatingEdgesMode) | |
124 | { | |
125 | myCuttingFloatingEdgesMode = theCuttingFloatingEdgesMode; | |
126 | } | |
127 | ||
128 | //======================================================================= | |
129 | //function : CuttingFloatingEdgesMode | |
130 | //purpose : | |
131 | //======================================================================= | |
132 | ||
133 | inline Standard_Boolean BRepBuilderAPI_Sewing::CuttingFloatingEdgesMode() const | |
134 | { | |
135 | return myCuttingFloatingEdgesMode; | |
136 | } | |
137 | */ | |
138 | ||
139 | //======================================================================= | |
140 | //function : SameParameterMode | |
141 | //purpose : | |
142 | //======================================================================= | |
143 | ||
144 | inline Standard_Boolean BRepBuilderAPI_Sewing::SameParameterMode() const | |
145 | { | |
146 | return mySameParameterMode; | |
147 | } | |
148 | ||
149 | //======================================================================= | |
150 | //function : SetSameParameterMode | |
151 | //purpose : | |
152 | //======================================================================= | |
153 | ||
154 | inline void BRepBuilderAPI_Sewing::SetSameParameterMode(const Standard_Boolean SameParameterMode) | |
155 | { | |
156 | mySameParameterMode = SameParameterMode; | |
157 | } | |
158 | ||
159 | //======================================================================= | |
160 | //function : SetLocalTolerancesMode | |
161 | //purpose : | |
162 | //======================================================================= | |
163 | ||
164 | inline void BRepBuilderAPI_Sewing::SetLocalTolerancesMode(const Standard_Boolean theLocalTolerancesMode) | |
165 | { | |
166 | myLocalToleranceMode = theLocalTolerancesMode; | |
167 | } | |
168 | ||
169 | //======================================================================= | |
170 | //function : LocalTolerancesMode | |
171 | //purpose : | |
172 | //======================================================================= | |
173 | ||
174 | inline Standard_Boolean BRepBuilderAPI_Sewing::LocalTolerancesMode() const | |
175 | { | |
176 | return myLocalToleranceMode; | |
177 | } | |
178 | ||
179 | //======================================================================= | |
180 | //function : SetNonManifoldMode | |
181 | //purpose : | |
182 | //======================================================================= | |
183 | ||
184 | inline void BRepBuilderAPI_Sewing::SetNonManifoldMode(const Standard_Boolean theNonManifoldMode) | |
185 | { | |
186 | myNonmanifold = theNonManifoldMode; | |
187 | } | |
188 | ||
189 | //======================================================================= | |
190 | //function : NonManifoldMode | |
191 | //purpose : | |
192 | //======================================================================= | |
193 | ||
194 | inline Standard_Boolean BRepBuilderAPI_Sewing::NonManifoldMode() const | |
195 | { | |
196 | return myNonmanifold; | |
197 | } |