0022627: Change OCCT memory management defaults
[occt.git] / src / IntSurf / IntSurf_Quadric.cdl
CommitLineData
7fd59977 1-- File: Quadric.cdl
2-- Created: Mon Apr 13 17:38:01 1992
3-- Author: Jacques GOUSSARD
4-- <jag@sdsun1>
5---Copyright: Matra Datavision 1992
6
7
8class Quadric from IntSurf
9
10 ---Purpose:
11
12
13uses Ax3 from gp,
14 Pnt from gp,
15 Vec from gp,
16 Dir from gp,
17 Lin from gp,
18 Pln from gp,
19 Cylinder from gp,
20 Sphere from gp,
21 Cone from gp,
22 SurfaceType from GeomAbs
23
24is
25
26 Create
27
28 returns Quadric from IntSurf;
29
30
31 Create(P: Pln from gp)
32
33 returns Quadric from IntSurf;
34
35
36 Create(C: Cylinder from gp)
37
38 returns Quadric from IntSurf;
39
40
41 Create(S: Sphere from gp)
42
43 returns Quadric from IntSurf;
44
45
46 Create(C: Cone from gp)
47
48 returns Quadric from IntSurf;
49
50
51 SetValue(me: in out; P: Pln from gp)
52
53 is static;
54
55
56 SetValue(me: in out; C: Cylinder from gp)
57
58 is static;
59
60
61 SetValue(me: in out; S: Sphere from gp)
62
63 is static;
64
65
66 SetValue(me: in out; C: Cone from gp)
67
68 is static;
69
70
71 Distance(me; P: Pnt from gp)
72
73 returns Real from Standard
74
75 is static;
76
77
78 Gradient(me; P: Pnt from gp)
79
80 returns Vec from gp
81
82 is static;
83
84
85 ValAndGrad(me; P: Pnt from gp; Dist: out Real from Standard;
86 Grad: out Vec from gp)
87
88 is static;
89
90
91 TypeQuadric(me)
92
93 returns SurfaceType from GeomAbs
94 ---C++: inline
95
96 is static;
97
98
99 Plane(me)
100
101 returns Pln from gp
102 ---C++: inline
103
104 is static;
105
106
107 Sphere(me)
108
109 returns Sphere from gp
110 ---C++: inline
111
112 is static;
113
114
115 Cylinder(me)
116
117 returns Cylinder from gp
118 ---C++: inline
119
120 is static;
121
122
123 Cone(me)
124
125 returns Cone from gp
126 ---C++: inline
127
128 is static;
129
130
131
132 Value(me; U,V: Real)
133
134 returns Pnt from gp
135
136 is static;
137
138
139 D1(me; U,V: Real; P: out Pnt; D1U,D1V: out Vec from gp)
140
141 is static;
142
143
144 DN(me; U,V: Real; Nu,Nv: Integer)
145
146 returns Vec from gp
147
148 is static;
149
150
151 Normale(me; U,V: Real)
152
153 returns Vec from gp
154
155 is static;
156
157
158 Parameters(me; P: Pnt from gp; U,V: out Real)
159
160 is static;
161
162
163 Normale(me; P: Pnt from gp)
164
165 returns Vec from gp
166
167 is static;
168
169
170fields
171
172 ax3 : Ax3 from gp;
173 lin : Lin from gp;
174 prm1 : Real from Standard;
175 prm2 : Real from Standard;
176 prm3 : Real from Standard;
177 prm4 : Real from Standard;
178 ax3direc : Boolean from Standard;
179 typ : SurfaceType from GeomAbs;
180
181end Quadric;