blob: b172aef0028e10fe23af4be7591042944992e169 (
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
|
-- File: TDataXtd_PatternStd.cdl
-- Created: Mon Apr 6 18:02:51 2009
-- Author: Sergey ZARITCHNY
-- <sergey.zaritchny@opencascade.com>
---Copyright: Open CasCade SA 2009
class PatternStd from TDataXtd inherits Pattern from TDataXtd
---Purpose: to create a PatternStd
uses
Label from TDF,
Attribute from TDF,
RelocationTable from TDF,
DataSet from TDF,
NamedShape from TNaming,
Real from TDataStd,
Integer from TDataStd,
Array1OfTrsf from TDataXtd,
OStream from Standard,
GUID from Standard
is
---Category: class methods
-- =============
GetPatternID(myclass)
---C++: return const &
returns GUID from Standard;
Set (myclass ; label : Label from TDF)
returns PatternStd from TDataXtd;
---Purpose: Find, or create, a PatternStd attribute
---Category: constructor
-- ===========
Create
returns mutable PatternStd from TDataXtd;
--- Category: Set and Get methods
Signature(me: mutable; signature: Integer from Standard);
-- Use SetSignature to set the signature
-- signature = 1 : linear PatternStd
-- (axis1 + dist1 + nb1)
-- = 2 : circular PatternStd
-- (axis1 + angle + nb1)
-- = 3 : rentagular PatternStd
-- (axis1 + dist1 + nb1 + axis2 + dist2 + nb2)
-- = 4 : circular rectangulaire PatternStd
-- (axis1 + dist1 + nb1 + axis2 + angle + nb2)
-- = 5 : mirror PatternStd
-- (plane)
Axis1(me: mutable; Axis1: NamedShape from TNaming);
Axis2(me: mutable; Axis2: NamedShape from TNaming);
Axis1Reversed(me: mutable; Axis1Reversed: Boolean from Standard);
Axis2Reversed(me: mutable; Axis2Reversed: Boolean from Standard);
Value1(me: mutable; value : Real from TDataStd);
Value2(me: mutable; value : Real from TDataStd);
NbInstances1(me: mutable; NbInstances1: Integer from TDataStd);
NbInstances2(me: mutable; NbInstances2: Integer from TDataStd);
Mirror(me: mutable; plane: NamedShape from TNaming);
Signature(me) returns Integer from Standard;
---C++: inline
Axis1(me) returns NamedShape from TNaming;
---C++: inline
Axis2(me) returns NamedShape from TNaming;
---C++: inline
Axis1Reversed(me) returns Boolean from Standard;
---C++: inline
Axis2Reversed(me) returns Boolean from Standard;
---C++: inline
Value1(me) returns Real from TDataStd;
---C++: inline
Value2(me) returns Real from TDataStd;
---C++: inline
NbInstances1(me) returns Integer from TDataStd;
---C++: inline
NbInstances2(me) returns Integer from TDataStd;
---C++: inline
Mirror(me) returns NamedShape from TNaming;
---C++: inline
--- Category: TDataXtd_Pattern methods
NbTrsfs(me) returns Integer from Standard;
ComputeTrsfs(me; Trsfs: in out Array1OfTrsf from TDataXtd);
---Category: Deferred methods from TDF_Attribute
PatternID (me)
---C++: return const &
returns GUID from Standard;
Restore (me: mutable; With : Attribute from TDF);
NewEmpty (me) returns mutable Attribute from TDF;
Paste (me; Into : mutable Attribute from TDF;
RT : mutable RelocationTable from TDF);
References(me; aDataSet : DataSet from TDF)
is redefined;
Dump(me; anOS : in out OStream from Standard)
---C++: return &
returns OStream from Standard
is redefined;
fields
mySignature : Integer from Standard;
myAxis1Reversed : Boolean from Standard;
myAxis2Reversed : Boolean from Standard;
myAxis1 : NamedShape from TNaming;
myAxis2 : NamedShape from TNaming;
myValue1 : Real from TDataStd;
myValue2 : Real from TDataStd;
myNb1 : Integer from TDataStd;
myNb2 : Integer from TDataStd;
myMirror : NamedShape from TNaming;
end PatternStd;
|