0024763: Convertation of the generic classes to the non-generic. Part 6
[occt.git] / src / Contap / Contap_ContAna.cdl
CommitLineData
b311480e 1-- Created on: 1993-03-04
2-- Created by: Jacques GOUSSARD
3-- Copyright (c) 1993-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
17class ContAna from Contap
18
19 ---Purpose: This class provides the computation of the contours
20 -- for quadric surfaces.
21
22uses Sphere from gp,
23 Cylinder from gp,
24 Cone from gp,
25 Lin from gp,
26 Circ from gp,
27 Pnt from gp,
28 Dir from gp,
29 CurveType from GeomAbs
30
31
32raises NotDone from StdFail,
33 DomainError from Standard,
34 OutOfRange from Standard
35
36is
37
38 Create
39
40 returns ContAna from Contap;
41
42
43 Perform(me: in out; S: Sphere from gp; D: Dir from gp)
44
45 is static;
46
47
48 Perform(me: in out; S: Sphere from gp; D : Dir from gp;
49 Ang: Real from Standard)
50
51 is static;
52
53
54 Perform(me: in out; S: Sphere from gp; Eye: Pnt from gp)
55
56 is static;
57
58
59 Perform(me: in out; C: Cylinder from gp; D: Dir from gp)
60
61 is static;
62
63
64 Perform(me: in out; C: Cylinder from gp; D : Dir from gp;
65 Ang: Real from Standard)
66
67 is static;
68
69
70 Perform(me: in out; C: Cylinder from gp; Eye: Pnt from gp)
71
72 ---Purpose:
73
74 is static;
75
76
77 Perform(me: in out; C: Cone from gp; D: Dir from gp)
78
79 is static;
80
81
82 Perform(me: in out; C: Cone from gp; D : Dir from gp;
83 Ang: Real from Standard)
84
85 is static;
86
87
88 Perform(me: in out; C: Cone from gp; Eye: Pnt from gp)
89
90 ---Purpose:
91
92 is static;
93
94
95 IsDone(me)
96
97 returns Boolean from Standard
98 ---C++: inline
99
100 is static;
101
102
103 NbContours(me)
104
105 returns Integer from Standard
106 ---C++: inline
107
108 raises NotDone from StdFail
109
110 is static;
111
112
113
114 TypeContour(me)
115
116 ---Purpose: Returns GeomAbs_Line or GeomAbs_Circle, when
117 -- IsDone() returns True.
118
119 returns CurveType from GeomAbs
120 ---C++: inline
121
122 raises NotDone from StdFail,
123 DomainError from Standard
124
125 is static;
126
127
128 Circle(me)
129
130 returns Circ from gp
131 ---C++: inline
132
133 raises NotDone from StdFail,
134 DomainError from Standard
135
136
137 is static;
138
139
140 Line(me; Index: Integer from Standard)
141
142 returns Lin from gp
143
144 raises NotDone from StdFail,
145 DomainError from Standard,
146 OutOfRange from Standard
147
148 is static;
149
150
151fields
152
153 done : Boolean from Standard;
154 nbSol : Integer from Standard;
155 typL : CurveType from GeomAbs;
156 pt1 : Pnt from gp;
157 pt2 : Pnt from gp;
158 pt3 : Pnt from gp;
159 pt4 : Pnt from gp;
160 dir1 : Dir from gp;
161 dir2 : Dir from gp;
162 dir3 : Dir from gp;
163 dir4 : Dir from gp;
164 prm : Real from Standard;
165
166end ContAna;