1 // Created on: 1999-06-22
2 // Created by: data exchange team
3 // Copyright (c) 1999-1999 Matra Datavision
4 // Copyright (c) 1999-2012 OPEN CASCADE SAS
6 // The content of this file is subject to the Open CASCADE Technology Public
7 // License Version 6.5 (the "License"). You may not use the content of this file
8 // except in compliance with the License. Please obtain a copy of the License
9 // at http://www.opencascade.org and read it completely before using this file.
11 // The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12 // main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
14 // The Original Code and all software distributed under the License is
15 // distributed on an "AS IS" basis, without warranty of any kind, and the
16 // Initial Developer hereby disclaims all such warranties, including without
17 // limitation, any warranties of merchantability, fitness for a particular
18 // purpose or non-infringement. Please see the License for the specific terms
19 // and conditions governing the rights and limitations under the License.
22 //=======================================================================
23 //function : Set2dConversion
25 //=======================================================================
27 inline void ShapeUpgrade_ShapeConvertToBezier::Set2dConversion(const Standard_Boolean mode)
32 //=======================================================================
33 //function : Get2dConversion
35 //=======================================================================
37 inline Standard_Boolean ShapeUpgrade_ShapeConvertToBezier::Get2dConversion() const
42 //=======================================================================
43 //function : Set3dConversion
45 //=======================================================================
47 inline void ShapeUpgrade_ShapeConvertToBezier::Set3dConversion(const Standard_Boolean mode)
52 //=======================================================================
53 //function : Get3dConversion
55 //=======================================================================
57 inline Standard_Boolean ShapeUpgrade_ShapeConvertToBezier::Get3dConversion() const
62 //=======================================================================
63 //function : SetSurfaceConversion
65 //=======================================================================
67 inline void ShapeUpgrade_ShapeConvertToBezier::SetSurfaceConversion(const Standard_Boolean mode)
72 //=======================================================================
73 //function : GetSurfaceConversion
75 //=======================================================================
77 inline Standard_Boolean ShapeUpgrade_ShapeConvertToBezier::GetSurfaceConversion() const
82 //=======================================================================
83 //function : Set3dLineConversion
85 //=======================================================================
87 inline void ShapeUpgrade_ShapeConvertToBezier::Set3dLineConversion(const Standard_Boolean mode)
92 //=======================================================================
93 //function : Get3dLineConversion
95 //=======================================================================
97 inline Standard_Boolean ShapeUpgrade_ShapeConvertToBezier::Get3dLineConversion() const
102 //=======================================================================
103 //function : Set3dCircleConversion
105 //=======================================================================
107 inline void ShapeUpgrade_ShapeConvertToBezier::Set3dCircleConversion(const Standard_Boolean mode)
109 my3dCircleMode = mode;
112 //=======================================================================
113 //function : Get3dCircleConversion
115 //=======================================================================
117 inline Standard_Boolean ShapeUpgrade_ShapeConvertToBezier::Get3dCircleConversion() const
119 return my3dCircleMode;
122 //=======================================================================
123 //function : Set3dConicConversion
125 //=======================================================================
127 inline void ShapeUpgrade_ShapeConvertToBezier::Set3dConicConversion(const Standard_Boolean mode)
129 my3dConicMode = mode;
132 //=======================================================================
133 //function : Get3dConicConversion
135 //=======================================================================
137 inline Standard_Boolean ShapeUpgrade_ShapeConvertToBezier::Get3dConicConversion() const
139 return my3dConicMode;
142 //=======================================================================
143 //function : SetPlaneMode
145 //=======================================================================
147 inline void ShapeUpgrade_ShapeConvertToBezier::SetPlaneMode(const Standard_Boolean mode)
152 //=======================================================================
153 //function : GetPlaneMode
155 //=======================================================================
157 inline Standard_Boolean ShapeUpgrade_ShapeConvertToBezier::GetPlaneMode() const
162 //=======================================================================
163 //function : SetRevolutionMode
165 //=======================================================================
167 inline void ShapeUpgrade_ShapeConvertToBezier::SetRevolutionMode(const Standard_Boolean mode)
169 myRevolutionMode = mode;
172 //=======================================================================
173 //function : GetRevolutionMode
175 //=======================================================================
177 inline Standard_Boolean ShapeUpgrade_ShapeConvertToBezier::GetRevolutionMode() const
179 return myRevolutionMode;
182 //=======================================================================
183 //function : SetExtrusionMode
185 //=======================================================================
187 inline void ShapeUpgrade_ShapeConvertToBezier::SetExtrusionMode(const Standard_Boolean mode)
189 myExtrusionMode = mode;
192 //=======================================================================
193 //function : GetExtrusionMode
195 //=======================================================================
197 inline Standard_Boolean ShapeUpgrade_ShapeConvertToBezier::GetExtrusionMode() const
199 return myExtrusionMode;
202 //=======================================================================
203 //function : SetBSplineMode
205 //=======================================================================
207 inline void ShapeUpgrade_ShapeConvertToBezier::SetBSplineMode(const Standard_Boolean mode)
209 myBSplineMode = mode;
212 //=======================================================================
213 //function : GetBSplineMode
215 //=======================================================================
217 inline Standard_Boolean ShapeUpgrade_ShapeConvertToBezier::GetBSplineMode() const
219 return myBSplineMode;