1 // Created on: 2000-12-18
2 // Created by: Galina KULIKOVA
3 // Copyright (c) 2000-2012 OPEN CASCADE SAS
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.
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.
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.
21 //=======================================================================
22 //function : SetMaxTolerance
24 //=======================================================================
26 inline void BRepBuilderAPI_Sewing::SetMaxTolerance(const Standard_Real theMaxToler)
28 myMaxTolerance = theMaxToler;
31 //=======================================================================
32 //function : MaxTolerance
34 //=======================================================================
36 inline Standard_Real BRepBuilderAPI_Sewing::MaxTolerance() const
38 return myMaxTolerance;
41 //=======================================================================
42 //function : Tolerance
44 //=======================================================================
46 inline Standard_Real BRepBuilderAPI_Sewing::Tolerance() const
52 //=======================================================================
53 //function : SetTolerance
55 //=======================================================================
57 inline void BRepBuilderAPI_Sewing::SetTolerance(const Standard_Real theToler)
59 myTolerance = theToler;
62 //=======================================================================
63 //function : SetMinTolerance
65 //=======================================================================
67 inline void BRepBuilderAPI_Sewing::SetMinTolerance(const Standard_Real theMinToler)
69 myMinTolerance = theMinToler;
72 //=======================================================================
73 //function : MinTolerance
75 //=======================================================================
77 inline Standard_Real BRepBuilderAPI_Sewing::MinTolerance() const
79 return myMinTolerance;
82 //=======================================================================
83 //function : SetFaceMode
85 //=======================================================================
87 inline void BRepBuilderAPI_Sewing::SetFaceMode(const Standard_Boolean theFaceMode)
89 myFaceMode = theFaceMode;
92 //=======================================================================
95 //=======================================================================
97 inline Standard_Boolean BRepBuilderAPI_Sewing::FaceMode() const
102 //=======================================================================
103 //function : SetFloatingEdgesMode
105 //=======================================================================
107 inline void BRepBuilderAPI_Sewing::SetFloatingEdgesMode(const Standard_Boolean theFloatingEdgesMode)
109 myFloatingEdgesMode = theFloatingEdgesMode;
112 //=======================================================================
113 //function : FloatingEdgesMode
115 //=======================================================================
117 inline Standard_Boolean BRepBuilderAPI_Sewing::FloatingEdgesMode() const
119 return myFloatingEdgesMode;
123 //=======================================================================
124 //function : SetCuttingFloatingEdgesMode
126 //=======================================================================
128 inline void BRepBuilderAPI_Sewing::SetCuttingFloatingEdgesMode(const Standard_Boolean theCuttingFloatingEdgesMode)
130 myCuttingFloatingEdgesMode = theCuttingFloatingEdgesMode;
133 //=======================================================================
134 //function : CuttingFloatingEdgesMode
136 //=======================================================================
138 inline Standard_Boolean BRepBuilderAPI_Sewing::CuttingFloatingEdgesMode() const
140 return myCuttingFloatingEdgesMode;
144 //=======================================================================
145 //function : SameParameterMode
147 //=======================================================================
149 inline Standard_Boolean BRepBuilderAPI_Sewing::SameParameterMode() const
151 return mySameParameterMode;
154 //=======================================================================
155 //function : SetSameParameterMode
157 //=======================================================================
159 inline void BRepBuilderAPI_Sewing::SetSameParameterMode(const Standard_Boolean SameParameterMode)
161 mySameParameterMode = SameParameterMode;
164 //=======================================================================
165 //function : SetLocalTolerancesMode
167 //=======================================================================
169 inline void BRepBuilderAPI_Sewing::SetLocalTolerancesMode(const Standard_Boolean theLocalTolerancesMode)
171 myLocalToleranceMode = theLocalTolerancesMode;
174 //=======================================================================
175 //function : LocalTolerancesMode
177 //=======================================================================
179 inline Standard_Boolean BRepBuilderAPI_Sewing::LocalTolerancesMode() const
181 return myLocalToleranceMode;
184 //=======================================================================
185 //function : SetNonManifoldMode
187 //=======================================================================
189 inline void BRepBuilderAPI_Sewing::SetNonManifoldMode(const Standard_Boolean theNonManifoldMode)
191 myNonmanifold = theNonManifoldMode;
194 //=======================================================================
195 //function : NonManifoldMode
197 //=======================================================================
199 inline Standard_Boolean BRepBuilderAPI_Sewing::NonManifoldMode() const
201 return myNonmanifold;