blob: b4947c97b9fec2beb27744005f094c9a3a3772ec (
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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
|
-- File: HatchGen_IntersectionPoint.cdl
-- Created: Fri Oct 29 15:21:47 1993
-- Author: Jean Marc LACHAUME
-- <jml@phobox>
-- Copyright: Matra Datavision 1993
deferred class IntersectionPoint from HatchGen
uses
Orientation from TopAbs ,
State from TopAbs ,
IntersectionPoint from IntRes2d
is
Initialize
---Purpose: Creates an empty intersection point.
---Category: IntersectionPoint
is protected ;
SetIndex (me : in out ; Index : Integer from Standard)
---Purpose: Sets the index of the supporting curve.
---Category: IntersectionPoint
is static ;
Index (me)
---Purpose: Returns the index of the supporting curve.
---Category: IntersectionPoint
returns Integer from Standard
is static ;
SetParameter (me : in out ; Parameter : Real from Standard)
---Purpose: Sets the parameter on the curve.
---Category: IntersectionPoint
is static ;
Parameter (me)
---Purpose: Returns the parameter on the curve.
---Category: IntersectionPoint
returns Real from Standard
is static ;
SetPosition (me : in out ; Position : Orientation from TopAbs)
---Purpose: Sets the position of the point on the curve.
---Category: IntersectionPoint
is static ;
Position (me)
---Purpose: Returns the position of the point on the curve.
---Category: IntersectionPoint
returns Orientation from TopAbs
is static ;
SetStateBefore (me : in out ; State : State from TopAbs)
---Purpose: Sets the transition state before the intersection.
---Category: IntersectionPoint
is static ;
StateBefore (me)
---Purpose: Returns the transition state before the intersection.
---Category: IntersectionPoint
returns State from TopAbs
is static ;
SetStateAfter (me : in out ; State : State from TopAbs)
---Purpose: Sets the transition state after the intersection.
---Category: IntersectionPoint
is static ;
StateAfter (me)
---Purpose: Returns the transition state after of the intersection.
---Category: IntersectionPoint
returns State from TopAbs
is static ;
SetSegmentBeginning (me : in out ; State : Boolean from Standard = Standard_True)
---Purpose: Sets the flag that the point is the beginning of a segment.
---Category: IntersectionPoint
is static ;
SegmentBeginning (me)
---Purpose: Returns the flag that the point is the beginning of a segment.
---Category: IntersectionPoint
returns Boolean from Standard
is static ;
SetSegmentEnd (me : in out ; State : Boolean from Standard = Standard_True)
---Purpose: Sets the flag that the point is the end of a segment.
---Category: IntersectionPoint
is static ;
SegmentEnd (me)
---Purpose: Returns the flag that the point is the end of a segment.
---Category: IntersectionPoint
returns Boolean from Standard
is static ;
Dump (me; Index : Integer from Standard = 0)
---Purpose: Dump of the point on element.
is deferred ;
fields
myIndex : Integer from Standard is protected ;
myParam : Real from Standard is protected ;
myPosit : Orientation from TopAbs is protected ;
myBefore : State from TopAbs is protected ;
myAfter : State from TopAbs is protected ;
mySegBeg : Boolean from Standard is protected ;
mySegEnd : Boolean from Standard is protected ;
end IntersectionPoint from HatchGen ;
|