0024023: Revamp the OCCT Handle -- ambiguity
[occt.git] / src / AppBlend / AppBlend_Approx.cdl
CommitLineData
b311480e 1-- Created on: 1996-08-27
2-- Created by: Philippe MANGIN
3-- Copyright (c) 1996-1999 Matra Datavision
973c2be1 4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5--
973c2be1 6-- This file is part of Open CASCADE Technology software library.
b311480e 7--
d5f74e42 8-- This library is free software; you can redistribute it and/or modify it under
9-- the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 10-- by the Free Software Foundation, with special exception defined in the file
11-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12-- distribution for complete text of the license and disclaimer of any warranty.
b311480e 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
7fd59977 16
17deferred class Approx from AppBlend
18
19
20 ---Purpose: Bspline approximation of a surface.
21
22uses Array2OfPnt from TColgp,
23 HArray2OfPnt from TColgp,
24 Array2OfReal from TColStd,
25 HArray2OfReal from TColStd,
26 Array1OfReal from TColStd,
27 HArray1OfReal from TColStd,
28 Array1OfInteger from TColStd,
29 HArray1OfInteger from TColStd,
30 Array1OfPnt2d from TColgp
31
32raises NotDone from StdFail,
33 DomainError from Standard,
34 OutOfRange from Standard
35
36is
37
7fd59977 38 IsDone(me)
39 returns Boolean from Standard
40 is deferred;
41
42
43 SurfShape(me; UDegree,VDegree : out Integer from Standard;
44 NbUPoles,NbVPoles: out Integer from Standard;
45 NbUKnots,NbVKnots: out Integer from Standard)
46 raises NotDone from StdFail
47 is deferred;
48
49
50 Surface(me; TPoles : out Array2OfPnt from TColgp;
51 TWeights : out Array2OfReal from TColStd;
52 TUKnots,TVKnots : out Array1OfReal from TColStd;
53 TUMults,TVMults : out Array1OfInteger from TColStd)
54 raises NotDone from StdFail
55 is deferred;
56
57
58 UDegree(me)
59
60 returns Integer from Standard
61 raises NotDone from StdFail
62 is deferred;
63
64
65 VDegree(me)
66
67 returns Integer from Standard
68 raises NotDone from StdFail
69 is deferred;
70
71
72 SurfPoles(me)
73
74 returns Array2OfPnt from TColgp
75 ---C++: return const&
76
77 raises NotDone from StdFail
78 is deferred;
79
80
81 SurfWeights(me)
82
83 returns Array2OfReal from TColStd
84 ---C++: return const&
85
86 raises NotDone from StdFail
87 is deferred;
88
89
90 SurfUKnots(me)
91
92 returns Array1OfReal from TColStd
93 ---C++: return const&
94
95 raises NotDone from StdFail
96 is deferred;
97
98
99 SurfVKnots(me)
100
101 returns Array1OfReal from TColStd
102 ---C++: return const&
103
104 raises NotDone from StdFail
105 is deferred;
106
107
108 SurfUMults(me)
109
110 returns Array1OfInteger from TColStd
111 ---C++: return const&
112
113 raises NotDone from StdFail
114 is deferred;
115
116
117 SurfVMults(me)
118
119 returns Array1OfInteger from TColStd
120 ---C++: return const&
121
122 raises NotDone from StdFail
123 is deferred;
124
125
126 NbCurves2d(me)
127
128 returns Integer from Standard
129 raises NotDone from StdFail
130 is deferred;
131
132
133 Curves2dShape(me; Degree,NbPoles,NbKnots: out Integer from Standard)
134
135 raises NotDone from StdFail,
136 DomainError from Standard
137
138 is deferred;
139
140
141 Curve2d(me; Index: Integer from Standard;
142 TPoles : out Array1OfPnt2d from TColgp;
143 TKnots : out Array1OfReal from TColStd;
144 TMults : out Array1OfInteger from TColStd)
145
146 raises NotDone from StdFail,
147 OutOfRange from Standard,
148 DomainError from Standard
149
150 is deferred;
151
152
153 Curves2dDegree(me)
154
155 returns Integer from Standard
156 raises NotDone from StdFail,
157 DomainError from Standard
158 is deferred;
159
160
161 Curve2dPoles(me; Index: Integer from Standard)
162
163 returns Array1OfPnt2d from TColgp
164 ---C++: return const&
165
166 raises NotDone from StdFail,
167 OutOfRange from Standard,
168 DomainError from Standard
169 is deferred;
170
171
172 Curves2dKnots(me)
173
174 returns Array1OfReal from TColStd
175 ---C++: return const&
176
177 raises NotDone from StdFail,
178 DomainError from Standard
179 is deferred;
180
181
182 Curves2dMults(me)
183
184 returns Array1OfInteger from TColStd
185 ---C++: return const&
186
187 raises NotDone from StdFail,
188 DomainError from Standard
189 is deferred;
190
191 TolReached(me; Tol3d, Tol2d : out Real from Standard)
192 raises NotDone from StdFail
193 is deferred;
194
195 TolCurveOnSurf(me; Index : Integer from Standard)
196 returns Real from Standard
197 raises NotDone from StdFail
198 is deferred;
199
6da30ff1 200 ---C++: alias " Standard_EXPORT virtual ~AppBlend_Approx();"
7fd59977 201
202end Approx;