-
Notifications
You must be signed in to change notification settings - Fork 34
/
FormulaParser.dfm
287 lines (287 loc) · 6.2 KB
/
FormulaParser.dfm
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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
object FormulaEditor: TFormulaEditor
Left = 192
Top = 127
Caption = 'Formula editor'
ClientHeight = 643
ClientWidth = 764
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
PixelsPerInch = 96
TextHeight = 13
object Panel1: TPanel
Left = 0
Top = 0
Width = 764
Height = 65
Align = alTop
TabOrder = 0
object TabControl1: TTabControl
Left = 8
Top = 8
Width = 569
Height = 55
Style = tsButtons
TabOrder = 0
Tabs.Strings = (
'3D formula'
'3D analytic formula'
'4D formula'
'4D analytic formula'
'Addon formula')
TabIndex = 0
object Label1: TLabel
Left = 8
Top = 32
Width = 32
Height = 13
Caption = 'Inputs:'
end
object StaticText1: TStaticText
Left = 56
Top = 30
Width = 25
Height = 17
Alignment = taCenter
AutoSize = False
BevelKind = bkFlat
BevelOuter = bvRaised
Caption = 'X'
TabOrder = 0
end
object StaticText2: TStaticText
Left = 88
Top = 30
Width = 25
Height = 17
Alignment = taCenter
AutoSize = False
BevelKind = bkFlat
BevelOuter = bvRaised
Caption = 'Y'
TabOrder = 1
end
object StaticText3: TStaticText
Left = 120
Top = 30
Width = 25
Height = 17
Alignment = taCenter
AutoSize = False
BevelKind = bkFlat
BevelOuter = bvRaised
Caption = 'Z'
TabOrder = 2
end
object StaticText4: TStaticText
Left = 152
Top = 30
Width = 25
Height = 17
Alignment = taCenter
AutoSize = False
BevelKind = bkFlat
BevelOuter = bvRaised
Caption = 'W'
TabOrder = 3
end
object StaticText5: TStaticText
Left = 184
Top = 30
Width = 49
Height = 17
Alignment = taCenter
AutoSize = False
BevelKind = bkFlat
BevelOuter = bvRaised
Caption = 'Deriv'
TabOrder = 4
end
object StaticText10: TStaticText
Left = 240
Top = 30
Width = 25
Height = 17
Alignment = taCenter
AutoSize = False
BevelKind = bkFlat
BevelOuter = bvRaised
Caption = 'Cx'
TabOrder = 5
end
object StaticText11: TStaticText
Left = 272
Top = 30
Width = 25
Height = 17
Alignment = taCenter
AutoSize = False
BevelKind = bkFlat
BevelOuter = bvRaised
Caption = 'Cy'
TabOrder = 6
end
object StaticText12: TStaticText
Left = 304
Top = 30
Width = 25
Height = 17
Alignment = taCenter
AutoSize = False
BevelKind = bkFlat
BevelOuter = bvRaised
Caption = 'Cz'
TabOrder = 7
end
object StaticText13: TStaticText
Left = 336
Top = 30
Width = 25
Height = 17
Alignment = taCenter
AutoSize = False
BevelKind = bkFlat
BevelOuter = bvRaised
Caption = 'Cw'
TabOrder = 8
end
object StaticText14: TStaticText
Left = 368
Top = 30
Width = 49
Height = 17
Alignment = taCenter
AutoSize = False
BevelKind = bkFlat
BevelOuter = bvRaised
Caption = 'Iteration'
TabOrder = 9
end
end
end
object Panel2: TPanel
Left = 0
Top = 471
Width = 764
Height = 172
Align = alBottom
TabOrder = 1
object Label2: TLabel
Left = 8
Top = 16
Width = 49
Height = 13
Caption = 'Functions:'
end
object StaticText6: TStaticText
Left = 72
Top = 14
Width = 25
Height = 19
Alignment = taCenter
AutoSize = False
BevelKind = bkFlat
BevelOuter = bvRaised
Caption = '+'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
ParentFont = False
TabOrder = 0
end
object StaticText7: TStaticText
Left = 104
Top = 14
Width = 25
Height = 19
Alignment = taCenter
AutoSize = False
BevelKind = bkFlat
BevelOuter = bvRaised
Caption = '-'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
ParentFont = False
TabOrder = 1
end
object StaticText8: TStaticText
Left = 136
Top = 14
Width = 25
Height = 19
Alignment = taCenter
AutoSize = False
BevelKind = bkFlat
BevelOuter = bvRaised
Caption = '*'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
ParentFont = False
TabOrder = 2
end
object StaticText9: TStaticText
Left = 168
Top = 14
Width = 25
Height = 19
Alignment = taCenter
AutoSize = False
BevelKind = bkFlat
BevelOuter = bvRaised
Caption = '/'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
ParentFont = False
TabOrder = 3
end
end
object Panel3: TPanel
Left = 579
Top = 65
Width = 185
Height = 406
Align = alRight
TabOrder = 2
end
object RichEdit1: TRichEdit
Left = 0
Top = 65
Width = 579
Height = 406
Align = alClient
BorderWidth = 8
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
Lines.Strings = (
''
''
''
'X'#39' = X + Cx'
'Y'#39' = Y + Cy'
'Z'#39' = Z + Cz'
'W'#39' = W + Cw'
'Deriv'#39' = Deriv * 2')
ParentFont = False
ScrollBars = ssBoth
TabOrder = 3
WordWrap = False
end
end