0029915: Porting to VC 2017 : Regressions in Modeling Algorithms on VC 2017
[occt.git] / src / ShapeCustom / ShapeCustom_RestrictionParameters.lxx
1 // Created on: 2000-05-22
2 // Created by: data exchange team
3 // Copyright (c) 2000-2014 OPEN CASCADE SAS
4 //
5 // This file is part of Open CASCADE Technology software library.
6 //
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.
12 //
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
15
16 //=======================================================================
17 //function : GMaxDegree
18 //purpose  : 
19 //=======================================================================
20
21 inline Standard_Integer& ShapeCustom_RestrictionParameters::GMaxDegree()
22 {
23   return myGMaxDegree;
24 }
25
26 //=======================================================================
27 //function : GMaxSeg
28 //purpose  : 
29 //=======================================================================
30
31 inline Standard_Integer& ShapeCustom_RestrictionParameters::GMaxSeg()
32 {
33   return myGMaxSeg;
34 }
35
36 //=======================================================================
37 //function : ConvertPlane
38 //purpose  : 
39 //=======================================================================
40
41 inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertPlane()
42 {
43   return myConvPlane;
44 }
45
46 //=======================================================================
47 //function : ConvertBezierSurf
48 //purpose  : 
49 //=======================================================================
50
51 inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertBezierSurf()
52 {
53   return myConvBezierSurf;
54 }
55
56 //=======================================================================
57 //function : ConvertRevolutionSurf
58 //purpose  : 
59 //=======================================================================
60
61 inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertRevolutionSurf()
62 {
63   return myConvRevolSurf;
64 }
65
66 //=======================================================================
67 //function : ConvertExtrusionSurf
68 //purpose  : 
69 //=======================================================================
70
71 inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertExtrusionSurf()
72 {
73   return myConvExtrSurf;
74 }
75
76 //=======================================================================
77 //function : ConvertOffsetSurf
78 //purpose  : 
79 //=======================================================================
80
81 inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertOffsetSurf()
82 {
83   return myConvOffsetSurf;
84 }
85
86 //=======================================================================
87 //function : SegmentSurfaceMode
88 //purpose  : 
89 //=======================================================================
90
91 inline Standard_Boolean& ShapeCustom_RestrictionParameters::SegmentSurfaceMode()
92 {
93   return mySegmentSurfaceMode;
94 }
95
96 //=======================================================================
97 //function : ConvertCurve3d
98 //purpose  : 
99 //=======================================================================
100
101 inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertCurve3d()
102 {
103   return myConvCurve3d;
104 }
105
106 //=======================================================================
107 //function : ConvertOffsetCurv3d
108 //purpose  : 
109 //=======================================================================
110
111 inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertOffsetCurv3d()
112 {
113   return myConvOffsetCurv3d;
114 }
115
116 //=======================================================================
117 //function : ConvertCurve2d
118 //purpose  : 
119 //=======================================================================
120
121 inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertCurve2d()
122 {
123   return myConvCurve2d;
124 }
125
126 //=======================================================================
127 //function : ConvertOffsetCurv2d
128 //purpose  : 
129 //=======================================================================
130
131 inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertOffsetCurv2d()
132 {
133   return myConvOffsetCurv2d;
134 }
135
136 //=======================================================================
137 //function : ConvertConicalSurface
138 //purpose  : 
139 //=======================================================================
140 inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertConicalSurf()
141 {
142   return myConvConicalSurf;
143 }
144
145 //=======================================================================
146 //function : ConvertSphericalSurf
147 //purpose  : 
148 //=======================================================================
149 inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertSphericalSurf()
150 {
151   return myConvSphericalSurf;
152 }
153
154 //=======================================================================
155 //function : ConvertToroidalSurf
156 //purpose  : 
157 //=======================================================================
158 inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertToroidalSurf()
159 {
160   return myConvCylindricalSurf;
161 }
162
163 //=======================================================================
164 //function : ConvertCylindricalSurf
165 //purpose  : 
166 //=======================================================================
167 inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertCylindricalSurf()
168 {
169   return myConvToroidalSurf;
170 }