blob: a4096d079ad8fc3c170c8d8f1a2c0de93ee79882 (
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
124
125
126
127
128
129
130
131
132
133
|
-- File: ChFiDS_FilSpine.cdl
-- Created: Mon Apr 24 16:48:31 1995
-- Author: Modelistation
-- <model@phylox>
---Copyright: Matra Datavision 1995
class FilSpine from ChFiDS inherits Spine from ChFiDS
---Purpose: Provides data specific to the fillets -
-- vector or rule of evolution (C2).
--
uses
HArray1OfReal from TColStd,
HElSpine from ChFiDS,
Function from Law,
Laws from Law,
Composite from Law,
Edge from TopoDS,
Vertex from TopoDS,
SequenceOfXY from TColgp,
XY from gp
is
Create returns mutable FilSpine from ChFiDS;
Create(Tol : Real from Standard) returns mutable FilSpine from ChFiDS;
Reset(me : mutable; AllData : Boolean from Standard = Standard_False)
is redefined;
------------------------------------------------
-- Update selectif du rayon par edges ou vertex.
------------------------------------------------
SetRadius(me : mutable;
Radius : Real from Standard;
E : Edge from TopoDS)
---Purpose: initializes the constant vector on edge E.
is static;
UnSetRadius(me : mutable;
E : Edge from TopoDS)
---Purpose: resets the constant vector on edge E.
is static;
SetRadius(me : mutable;
Radius : Real from Standard;
V : Vertex from TopoDS)
---Purpose: initializes the vector on Vertex V.
is static;
UnSetRadius(me : mutable;
V : Vertex from TopoDS)
---Purpose: resets the vector on Vertex V.
is static;
SetRadius(me : mutable;
UandR : XY from gp;
IinC : Integer from Standard)
---Purpose: initializes the vector on the point of parameter W.
is static;
SetRadius(me : mutable;Radius : Real from Standard)
---Purpose: initializes the constant vector on all spine.
is static;
SetRadius(me : mutable;
C : Function from Law;
IinC : Integer from Standard)
---Purpose: initializes the rule of evolution on all spine.
is static;
IsConstant(me)
returns Boolean from Standard
---Purpose: returns true if the radius is constant
-- all along the spine.
is static;
IsConstant(me; IE : Integer from Standard)
returns Boolean from Standard
---Purpose: returns true if the radius is constant
-- all along the edge E.
is static;
Radius(me) returns Real from Standard;
---Purpose: returns the radius if the fillet is constant
-- all along the spine.
Radius(me; IE : Integer from Standard)
returns Real from Standard;
---Purpose: returns the radius if the fillet is constant
-- all along the edge E.
Radius(me; E : Edge from TopoDS)
returns Real from Standard;
---Purpose: returns the radius if the fillet is constant
-- all along the edge E.
ComputeLaw(me : mutable; Els : HElSpine from ChFiDS)
returns mutable Composite from Law
is private;
AppendElSpine(me : mutable; Els : HElSpine from ChFiDS)
is redefined;
AppendLaw(me : mutable; Els : HElSpine from ChFiDS)
is private;
Law(me; Els : HElSpine from ChFiDS)
returns mutable Composite from Law
is static;
ChangeLaw(me : mutable; E : Edge from TopoDS)
---C++: return &
returns mutable Function from Law
---Purpose: returns the elementary law
is static;
MaxRadFromSeqAndLaws(me) returns Real from Standard;
---Purpose: returns the maximum radius if the fillet is non-constant
fields
--radius : HArray1OfReal from TColStd;
parandrad : SequenceOfXY from TColgp;
laws : Laws from Law;
end FilSpine;
|