0024166: Unable to create file with "Save" menu of voxeldemo Qt sample
[occt.git] / src / BRepBuilderAPI / BRepBuilderAPI_Sewing.lxx
CommitLineData
b311480e 1// Created on: 2000-12-18
2// Created by: Galina KULIKOVA
3// Copyright (c) 2000-2012 OPEN CASCADE SAS
4//
5// The content of this file is subject to the Open CASCADE Technology Public
6// License Version 6.5 (the "License"). You may not use the content of this file
7// except in compliance with the License. Please obtain a copy of the License
8// at http://www.opencascade.org and read it completely before using this file.
9//
10// The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
11// main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
12//
13// The Original Code and all software distributed under the License is
14// distributed on an "AS IS" basis, without warranty of any kind, and the
15// Initial Developer hereby disclaims all such warranties, including without
16// limitation, any warranties of merchantability, fitness for a particular
17// purpose or non-infringement. Please see the License for the specific terms
18// and conditions governing the rights and limitations under the License.
19
7fd59977 20
21//=======================================================================
22//function : SetMaxTolerance
23//purpose :
24//=======================================================================
25
26inline void BRepBuilderAPI_Sewing::SetMaxTolerance(const Standard_Real theMaxToler)
27{
28 myMaxTolerance = theMaxToler;
29}
30
31//=======================================================================
32//function : MaxTolerance
33//purpose :
34//=======================================================================
35
36inline Standard_Real BRepBuilderAPI_Sewing::MaxTolerance() const
37{
38 return myMaxTolerance;
39}
40
41//=======================================================================
42//function : Tolerance
43//purpose :
44//=======================================================================
45
46inline Standard_Real BRepBuilderAPI_Sewing::Tolerance() const
47{
48 return myTolerance;
49}
50
51
52//=======================================================================
53//function : SetTolerance
54//purpose :
55//=======================================================================
56
57inline void BRepBuilderAPI_Sewing::SetTolerance(const Standard_Real theToler)
58{
59 myTolerance = theToler;
60}
61
62//=======================================================================
63//function : SetMinTolerance
64//purpose :
65//=======================================================================
66
67inline void BRepBuilderAPI_Sewing::SetMinTolerance(const Standard_Real theMinToler)
68{
69 myMinTolerance = theMinToler;
70}
71
72//=======================================================================
73//function : MinTolerance
74//purpose :
75//=======================================================================
76
77inline Standard_Real BRepBuilderAPI_Sewing::MinTolerance() const
78{
79 return myMinTolerance;
80}
81
82//=======================================================================
83//function : SetFaceMode
84//purpose :
85//=======================================================================
86
87inline void BRepBuilderAPI_Sewing::SetFaceMode(const Standard_Boolean theFaceMode)
88{
89 myFaceMode = theFaceMode;
90}
91
92//=======================================================================
93//function : FaceMode
94//purpose :
95//=======================================================================
96
97inline Standard_Boolean BRepBuilderAPI_Sewing::FaceMode() const
98{
99 return myFaceMode;
100}
101
102//=======================================================================
103//function : SetFloatingEdgesMode
104//purpose :
105//=======================================================================
106
107inline void BRepBuilderAPI_Sewing::SetFloatingEdgesMode(const Standard_Boolean theFloatingEdgesMode)
108{
109 myFloatingEdgesMode = theFloatingEdgesMode;
110}
111
112//=======================================================================
113//function : FloatingEdgesMode
114//purpose :
115//=======================================================================
116
117inline Standard_Boolean BRepBuilderAPI_Sewing::FloatingEdgesMode() const
118{
119 return myFloatingEdgesMode;
120}
121
122/*
123//=======================================================================
124//function : SetCuttingFloatingEdgesMode
125//purpose :
126//=======================================================================
127
128inline void BRepBuilderAPI_Sewing::SetCuttingFloatingEdgesMode(const Standard_Boolean theCuttingFloatingEdgesMode)
129{
130 myCuttingFloatingEdgesMode = theCuttingFloatingEdgesMode;
131}
132
133//=======================================================================
134//function : CuttingFloatingEdgesMode
135//purpose :
136//=======================================================================
137
138inline Standard_Boolean BRepBuilderAPI_Sewing::CuttingFloatingEdgesMode() const
139{
140 return myCuttingFloatingEdgesMode;
141}
142*/
143
144//=======================================================================
145//function : SameParameterMode
146//purpose :
147//=======================================================================
148
149inline Standard_Boolean BRepBuilderAPI_Sewing::SameParameterMode() const
150{
151 return mySameParameterMode;
152}
153
154//=======================================================================
155//function : SetSameParameterMode
156//purpose :
157//=======================================================================
158
159inline void BRepBuilderAPI_Sewing::SetSameParameterMode(const Standard_Boolean SameParameterMode)
160{
161 mySameParameterMode = SameParameterMode;
162}
163
164//=======================================================================
165//function : SetLocalTolerancesMode
166//purpose :
167//=======================================================================
168
169inline void BRepBuilderAPI_Sewing::SetLocalTolerancesMode(const Standard_Boolean theLocalTolerancesMode)
170{
171 myLocalToleranceMode = theLocalTolerancesMode;
172}
173
174//=======================================================================
175//function : LocalTolerancesMode
176//purpose :
177//=======================================================================
178
179inline Standard_Boolean BRepBuilderAPI_Sewing::LocalTolerancesMode() const
180{
181 return myLocalToleranceMode;
182}
183
184//=======================================================================
185//function : SetNonManifoldMode
186//purpose :
187//=======================================================================
188
189inline void BRepBuilderAPI_Sewing::SetNonManifoldMode(const Standard_Boolean theNonManifoldMode)
190{
191 myNonmanifold = theNonManifoldMode;
192}
193
194//=======================================================================
195//function : NonManifoldMode
196//purpose :
197//=======================================================================
198
199inline Standard_Boolean BRepBuilderAPI_Sewing::NonManifoldMode() const
200{
201 return myNonmanifold;
202}