0024171: Eliminate CLang compiler warning -Wreorder
[occt.git] / src / ShapeCustom / ShapeCustom_RestrictionParameters.cdl
CommitLineData
b311480e 1-- Created on: 2000-05-22
2-- Created by: data exchange team
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
22class RestrictionParameters from ShapeCustom inherits TShared from MMgt
23
24 ---Purpose: This class is axuluary tool which contains parameters for
25 -- BSplineRestriction class.
26
27
28is
29
30 Create returns mutable RestrictionParameters from ShapeCustom;
31 ---Purpose: Sets default parameters.
32
33 ---Methods for modifying fields.
34
35 GMaxDegree(me: mutable) returns Integer;
36 ---C++: inline
37 ---C++: return &
38 ---Purpose: Returns (modifiable) maximal degree of approximation.
39
40 GMaxSeg(me: mutable) returns Integer;
41 ---C++: inline
42 ---C++: return &
43 ---Purpose: Returns (modifiable) maximal number of spans of
44 -- approximation.
45
46 ConvertPlane (me: mutable) returns Boolean;
47 ---C++: inline
48 ---C++: return &
49 ---Purpose: Sets flag for define if Plane converted to BSpline surface.
50
51 ConvertBezierSurf(me: mutable) returns Boolean;
52 ---C++: inline
53 ---C++: return &
54 ---Purpose: Sets flag for define if Bezier surface converted to BSpline
55 -- surface.
56
57 ConvertRevolutionSurf(me: mutable) returns Boolean;
58 ---C++: inline
59 ---C++: return &
60 ---Purpose: Sets flag for define if surface of Revolution converted to
61 -- BSpline surface.
62
63 ConvertExtrusionSurf(me: mutable) returns Boolean;
64 ---C++: inline
65 ---C++: return &
66 ---Purpose: Sets flag for define if surface of LinearExtrusion converted
67 -- to BSpline surface.
68
69 ConvertOffsetSurf(me: mutable) returns Boolean;
70 ---C++: inline
71 ---C++: return &
72 ---Purpose: Sets flag for define if Offset surface converted to BSpline
73 -- surface.
74
75 ConvertCylindricalSurf(me: mutable) returns Boolean;
76 ---C++: inline
77 ---C++: return &
78 ---Purpose: Sets flag for define if cylindrical surface converted to BSpline
79 -- surface.
80 ConvertConicalSurf(me: mutable) returns Boolean;
81 ---C++: inline
82 ---C++: return &
83 ---Purpose: Sets flag for define if conical surface converted to BSpline
84 -- surface.
85 ConvertToroidalSurf(me: mutable) returns Boolean;
86 ---C++: inline
87 ---C++: return &
88 ---Purpose: Sets flag for define if toroidal surface converted to BSpline
89 -- surface.
90
91 ConvertSphericalSurf(me: mutable) returns Boolean;
92 ---C++: inline
93 ---C++: return &
94 ---Purpose: Sets flag for define if spherical surface converted to BSpline
95 -- surface.
96
97 -- ConvertElementarySurf(me: mutable) returns Boolean;
98 -- ---C++: inline
99 -- ---C++: return &
100 -- ---Purpose: Sets flag for define if Offset surface converted to BSpline
101 -- -- surface.
102
103 SegmentSurfaceMode(me: mutable)returns Boolean;
104 ---C++: inline
105 ---C++: return &
106 ---Purpose: Sets Segment mode for surface. If Segment is True surface is
107 -- approximated in the bondaries of face lying on this surface.
108
109 ConvertCurve3d(me: mutable) returns Boolean;
110 ---C++: inline
111 ---C++: return &
112 ---Purpose: Sets flag for define if 3d curve converted to BSpline curve.
113
114 ConvertOffsetCurv3d(me: mutable) returns Boolean;
115 ---C++: inline
116 ---C++: return &
117 ---Purpose: Sets flag for define if Offset curve3d converted to BSpline
118 -- surface.
119
120 ConvertCurve2d(me: mutable) returns Boolean;
121 ---C++: inline
122 ---C++: return &
123 ---Purpose: Returns (modifiable) flag for define if 2d curve converted
124 -- to BSpline curve.
125
126 ConvertOffsetCurv2d(me: mutable) returns Boolean;
127 ---C++: inline
128 ---C++: return &
129 ---Purpose: Returns (modifiable) flag for define if Offset curve2d
130 -- converted to BSpline surface.
131
132fields
133
134 myGMaxDegree: Integer from Standard;
135 myGMaxSeg : Integer from Standard;
136
137 myConvPlane : Boolean;
138 --myConvElementarySurf: Boolean;
139 myConvConicalSurf : Boolean;
140 myConvSphericalSurf : Boolean;
141 myConvCylindricalSurf : Boolean;
142 myConvToroidalSurf : Boolean;
143 myConvBezierSurf : Boolean;
144 myConvRevolSurf : Boolean;
145 myConvExtrSurf : Boolean;
146 myConvOffsetSurf : Boolean;
147 mySegmentSurfaceMode: Boolean;
148 myConvCurve3d : Boolean;
149 myConvOffsetCurv3d : Boolean;
150 myConvCurve2d : Boolean;
151 myConvOffsetCurv2d : Boolean;
152
153end RestrictionParameters;