1 // Created on: 2000-12-18
2 // Created by: Galina KULIKOVA
3 // Copyright (c) 2000-2014 OPEN CASCADE SAS
5 // This file is part of Open CASCADE Technology software library.
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License 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.
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
16 //=======================================================================
17 //function : SetMaxTolerance
19 //=======================================================================
21 inline void BRepBuilderAPI_Sewing::SetMaxTolerance(const Standard_Real theMaxToler)
23 myMaxTolerance = theMaxToler;
26 //=======================================================================
27 //function : MaxTolerance
29 //=======================================================================
31 inline Standard_Real BRepBuilderAPI_Sewing::MaxTolerance() const
33 return myMaxTolerance;
36 //=======================================================================
37 //function : Tolerance
39 //=======================================================================
41 inline Standard_Real BRepBuilderAPI_Sewing::Tolerance() const
47 //=======================================================================
48 //function : SetTolerance
50 //=======================================================================
52 inline void BRepBuilderAPI_Sewing::SetTolerance(const Standard_Real theToler)
54 myTolerance = theToler;
57 //=======================================================================
58 //function : SetMinTolerance
60 //=======================================================================
62 inline void BRepBuilderAPI_Sewing::SetMinTolerance(const Standard_Real theMinToler)
64 myMinTolerance = theMinToler;
67 //=======================================================================
68 //function : MinTolerance
70 //=======================================================================
72 inline Standard_Real BRepBuilderAPI_Sewing::MinTolerance() const
74 return myMinTolerance;
77 //=======================================================================
78 //function : SetFaceMode
80 //=======================================================================
82 inline void BRepBuilderAPI_Sewing::SetFaceMode(const Standard_Boolean theFaceMode)
84 myFaceMode = theFaceMode;
87 //=======================================================================
90 //=======================================================================
92 inline Standard_Boolean BRepBuilderAPI_Sewing::FaceMode() const
97 //=======================================================================
98 //function : SetFloatingEdgesMode
100 //=======================================================================
102 inline void BRepBuilderAPI_Sewing::SetFloatingEdgesMode(const Standard_Boolean theFloatingEdgesMode)
104 myFloatingEdgesMode = theFloatingEdgesMode;
107 //=======================================================================
108 //function : FloatingEdgesMode
110 //=======================================================================
112 inline Standard_Boolean BRepBuilderAPI_Sewing::FloatingEdgesMode() const
114 return myFloatingEdgesMode;
118 //=======================================================================
119 //function : SetCuttingFloatingEdgesMode
121 //=======================================================================
123 inline void BRepBuilderAPI_Sewing::SetCuttingFloatingEdgesMode(const Standard_Boolean theCuttingFloatingEdgesMode)
125 myCuttingFloatingEdgesMode = theCuttingFloatingEdgesMode;
128 //=======================================================================
129 //function : CuttingFloatingEdgesMode
131 //=======================================================================
133 inline Standard_Boolean BRepBuilderAPI_Sewing::CuttingFloatingEdgesMode() const
135 return myCuttingFloatingEdgesMode;
139 //=======================================================================
140 //function : SameParameterMode
142 //=======================================================================
144 inline Standard_Boolean BRepBuilderAPI_Sewing::SameParameterMode() const
146 return mySameParameterMode;
149 //=======================================================================
150 //function : SetSameParameterMode
152 //=======================================================================
154 inline void BRepBuilderAPI_Sewing::SetSameParameterMode(const Standard_Boolean SameParameterMode)
156 mySameParameterMode = SameParameterMode;
159 //=======================================================================
160 //function : SetLocalTolerancesMode
162 //=======================================================================
164 inline void BRepBuilderAPI_Sewing::SetLocalTolerancesMode(const Standard_Boolean theLocalTolerancesMode)
166 myLocalToleranceMode = theLocalTolerancesMode;
169 //=======================================================================
170 //function : LocalTolerancesMode
172 //=======================================================================
174 inline Standard_Boolean BRepBuilderAPI_Sewing::LocalTolerancesMode() const
176 return myLocalToleranceMode;
179 //=======================================================================
180 //function : SetNonManifoldMode
182 //=======================================================================
184 inline void BRepBuilderAPI_Sewing::SetNonManifoldMode(const Standard_Boolean theNonManifoldMode)
186 myNonmanifold = theNonManifoldMode;
189 //=======================================================================
190 //function : NonManifoldMode
192 //=======================================================================
194 inline Standard_Boolean BRepBuilderAPI_Sewing::NonManifoldMode() const
196 return myNonmanifold;