blob: 8b6cc6ad59905ce08f3f8ac061cee7336417040e (
plain)
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
119
120
121
122
123
|
-- File: PGeom_BSplineCurve.cdl
-- Created: Mon Mar 1 10:27:22 1993
-- Author: Philippe DAUTRY
-- <fid@phylox>
-- Copyright: Matra Datavision 1993
class BSplineCurve from PGeom inherits BoundedCurve from PGeom
---Purpose : Definition of a B_spline curve (it can be
-- periodic, rational and non uniform : NURBS).
--
---See Also : BSplineCurve from Geom.
uses HArray1OfInteger from PColStd,
HArray1OfReal from PColStd,
HArray1OfPnt from PColgp
is
Create returns mutable BSplineCurve from PGeom;
---Purpose: Creates a BSplineCurve with default values.
---Level: Internal
Create (
aRational : Boolean from Standard;
aPeriodic : Boolean from Standard;
aSpineDegree : Integer from Standard;
aPoles : HArray1OfPnt from PColgp;
aWeights : HArray1OfReal from PColStd;
aKnots : HArray1OfReal from PColStd;
aMultiplicities : HArray1OfInteger from PColStd)
returns mutable BSplineCurve from PGeom;
---Purpose: Creates a BSplineCurve with these field values.
---Level: Internal
Periodic (me: mutable; aPeriodic: Boolean from Standard);
---Purpose :Set the field periodic with <aPeriodic>.
---Level: Internal
Periodic (me) returns Boolean from Standard;
---Purpose :Returns the value of the field periodic.
---Level: Internal
Rational (me: mutable; aRational: Boolean from Standard);
---Purpose :Set the value of the field rational with
-- <aRational>.
---Level: Internal
Rational (me) returns Boolean from Standard;
---Purpose :Returns the value of the field rational.
---Level: Internal
SpineDegree (me: mutable; aSpineDegree: Integer from Standard);
---Purpose: Set the value of the field spineDegree with <aSpineDegree>.
---Level: Internal
SpineDegree (me) returns Integer from Standard;
---Purpose: Returns the value of the field spineDegree.
---Level: Internal
Poles (me: mutable; aPoles: HArray1OfPnt from PColgp);
---Purpose : Set the value of the field poles with <aPoles>.
---Level: Internal
Poles (me) returns HArray1OfPnt from PColgp;
---Purpose : Returns the value of the field poles.
---Level: Internal
Weights (me: mutable; aWeights : HArray1OfReal from PColStd);
---Purpose : Set the value of the field weights with <aWeights>.
---Level: Internal
Weights (me) returns HArray1OfReal from PColStd;
---Purpose : Returns the the value of the field weights.
---Level: Internal
Knots (me: mutable; aKnots : HArray1OfReal);
---Purpose : Set the field knots with <aKnots>.
-- The multiplicity of the knots are not modified.
---Level: Internal
Knots (me) returns HArray1OfReal from PColStd;
---Purpose : returns the value of the field knots.
---Level: Internal
Multiplicities (me: mutable; aMultiplicities : HArray1OfInteger);
---Purpose : Set the field multiplicities with <aMultiplicities>.
---Level: Internal
Multiplicities (me) returns HArray1OfInteger from PColStd;
---Purpose : returns the value of the field multiplicities.
---Level: Internal
fields
rational : Boolean from Standard;
periodic : Boolean from Standard;
spineDegree : Integer from Standard;
poles : HArray1OfPnt from PColgp;
weights : HArray1OfReal from PColStd;
knots : HArray1OfReal from PColStd;
multiplicities : HArray1OfInteger from PColStd;
end;
|