1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
-- File: Extrema_CurveTool.cdl
-- Created: Tue Jul 18 13:00:23 1995
-- Author: Modelistation
-- <model@metrox>
---Copyright: Matra Datavision 1995
class CurveTool from Extrema
uses Pnt from gp,
Vec from gp,
Circ from gp,
Elips from gp,
Hypr from gp,
Parab from gp,
Lin from gp,
Array1OfReal from TColStd,
BezierCurve from Geom,
BSplineCurve from Geom,
CurveType from GeomAbs,
Shape from GeomAbs,
Curve from Adaptor3d
is
FirstParameter(myclass; C : Curve from Adaptor3d)
returns Real from Standard;
---C++: inline
LastParameter(myclass; C : Curve from Adaptor3d)
returns Real from Standard;
---C++: inline
Continuity(myclass; C: Curve from Adaptor3d) returns Shape from GeomAbs;
---C++: inline
NbIntervals(myclass; C: in out Curve from Adaptor3d; S : Shape from GeomAbs) returns Integer;
---Purpose: Returns the number of intervals for continuity
-- <S>. May be one if Continuity(me) >= <S>
---C++: inline
Intervals(myclass; C: in out Curve from Adaptor3d; T : in out Array1OfReal from TColStd;
S : Shape from GeomAbs);
---Purpose: Stores in <T> the parameters bounding the intervals
-- of continuity <S>.
--
-- The array must provide enough room to accomodate
-- for the parameters. i.e. T.Length() > NbIntervals()
---C++: inline
IsPeriodic(myclass;C: Curve from Adaptor3d) returns Boolean;
Period(myclass; C: Curve from Adaptor3d) returns Real;
---C++: inline
Resolution(myclass; C: Curve from Adaptor3d; R3d: Real) returns Real;
---C++: inline
GetType(myclass;C: Curve from Adaptor3d) returns CurveType from GeomAbs;
---C++: inline
Value(myclass; C : Curve from Adaptor3d;
U : Real from Standard)
returns Pnt from gp;
---C++: inline
D1 (myclass; C : Curve from Adaptor3d;
U : Real from Standard;
P : out Pnt from gp;
V : out Vec from gp);
---C++: inline
D2 (myclass; C : Curve from Adaptor3d;
U : Real from Standard;
P : out Pnt from gp;
V1, V2 : out Vec from gp);
---C++: inline
Line(myclass; C : Curve from Adaptor3d) returns Lin from gp;
---C++: inline
Circle(myclass; C : Curve from Adaptor3d) returns Circ from gp;
---C++: inline
Ellipse(myclass; C : Curve from Adaptor3d) returns Elips from gp;
---C++: inline
Hyperbola(myclass; C : Curve from Adaptor3d) returns Hypr from gp;
---C++: inline
Parabola(myclass; C : Curve from Adaptor3d) returns Parab from gp;
---C++: inline
Degree(myclass; C : Curve from Adaptor3d) returns Integer;
---C++: inline
IsRational(myclass; C : Curve from Adaptor3d) returns Boolean;
---C++: inline
NbPoles(myclass; C : Curve from Adaptor3d) returns Integer;
---C++: inline
NbKnots(myclass; C : Curve from Adaptor3d) returns Integer;
---C++: inline
Bezier(myclass; C : Curve from Adaptor3d) returns BezierCurve from Geom;
---C++: inline
BSpline(myclass; C : Curve from Adaptor3d) returns BSplineCurve from Geom;
---C++: inline
end CurveTool;
|