w-mesh-tecplot 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/.editorconfig +9 -0
  2. package/.eslintignore +3 -0
  3. package/.eslintrc.js +55 -0
  4. package/.jsdoc +25 -0
  5. package/README.md +51 -0
  6. package/SECURITY.md +5 -0
  7. package/babel.config.js +15 -0
  8. package/dist/w-mesh-tecplot.umd.js +7 -0
  9. package/dist/w-mesh-tecplot.umd.js.map +1 -0
  10. package/docs/WMeshTecplot.mjs.html +174 -0
  11. package/docs/fonts/Montserrat/Montserrat-Bold.eot +0 -0
  12. package/docs/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
  13. package/docs/fonts/Montserrat/Montserrat-Bold.woff +0 -0
  14. package/docs/fonts/Montserrat/Montserrat-Bold.woff2 +0 -0
  15. package/docs/fonts/Montserrat/Montserrat-Regular.eot +0 -0
  16. package/docs/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
  17. package/docs/fonts/Montserrat/Montserrat-Regular.woff +0 -0
  18. package/docs/fonts/Montserrat/Montserrat-Regular.woff2 +0 -0
  19. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
  20. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +978 -0
  21. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
  22. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
  23. package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2 +0 -0
  24. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
  25. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +1049 -0
  26. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
  27. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
  28. package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2 +0 -0
  29. package/docs/global.html +802 -0
  30. package/docs/index.html +84 -0
  31. package/docs/scripts/collapse.js +39 -0
  32. package/docs/scripts/commonNav.js +28 -0
  33. package/docs/scripts/linenumber.js +25 -0
  34. package/docs/scripts/nav.js +12 -0
  35. package/docs/scripts/polyfill.js +4 -0
  36. package/docs/scripts/prettify/Apache-License-2.0.txt +202 -0
  37. package/docs/scripts/prettify/lang-css.js +2 -0
  38. package/docs/scripts/prettify/prettify.js +28 -0
  39. package/docs/scripts/search.js +99 -0
  40. package/docs/styles/jsdoc.css +776 -0
  41. package/docs/styles/prettify.css +80 -0
  42. package/g.read.mjs +5 -0
  43. package/g.write.mjs +24 -0
  44. package/package.json +28 -0
  45. package/src/WMeshTecplot.mjs +102 -0
  46. package/test/all.test.mjs +10 -0
  47. package/toolg/addVersion.mjs +4 -0
  48. package/toolg/cleanFolder.mjs +4 -0
  49. package/toolg/gDistRollup.mjs +34 -0
  50. package/toolg/gDocsExams.mjs +48 -0
  51. package/toolg/modifyReadme.mjs +4 -0
@@ -0,0 +1,802 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+
5
+ <meta charset="utf-8">
6
+ <title>Global - Documentation</title>
7
+
8
+
9
+ <script src="scripts/prettify/prettify.js"></script>
10
+ <script src="scripts/prettify/lang-css.js"></script>
11
+ <!--[if lt IE 9]>
12
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
13
+ <![endif]-->
14
+ <link type="text/css" rel="stylesheet" href="styles/prettify.css">
15
+ <link type="text/css" rel="stylesheet" href="styles/jsdoc.css">
16
+ <script src="scripts/nav.js" defer></script>
17
+
18
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
19
+ </head>
20
+ <body>
21
+
22
+ <input type="checkbox" id="nav-trigger" class="nav-trigger" />
23
+ <label for="nav-trigger" class="navicon-button x">
24
+ <div class="navicon"></div>
25
+ </label>
26
+
27
+ <label for="nav-trigger" class="overlay"></label>
28
+
29
+ <nav >
30
+
31
+
32
+ <h2><a href="index.html">Home</a></h2><h3>Global</h3><ul><li><a href="global.html#WMeshTecplot">WMeshTecplot</a></li><li><a href="global.html#readTecplot">readTecplot</a></li><li><a href="global.html#writeTecplot">writeTecplot</a></li></ul>
33
+
34
+ </nav>
35
+
36
+ <div id="main">
37
+
38
+ <h1 class="page-title">Global</h1>
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+ <section>
47
+
48
+ <header>
49
+
50
+ <h2>
51
+
52
+
53
+
54
+ </h2>
55
+
56
+
57
+ </header>
58
+
59
+ <article>
60
+
61
+ <div class="container-overview">
62
+
63
+
64
+
65
+ <dl class="details">
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
+ </dl>
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+ </div>
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+ <h3 class="subsection-title">Members</h3>
125
+
126
+
127
+
128
+ <h4 class="name" id="WMeshTecplot"><span class="type-signature"></span>WMeshTecplot<span class="type-signature"></span></h4>
129
+
130
+
131
+
132
+
133
+
134
+ <dl class="details">
135
+
136
+ <dt class="tag-description">Description:</dt>
137
+ <dd class="tag-description"><ul class="dummy"><li><p>讀寫Tecplot的ASCII檔檔</p></li></ul></dd>
138
+
139
+
140
+
141
+ <dt class="tag-source">Source:</dt>
142
+ <dd class="tag-source"><ul class="dummy"><li>
143
+ <a href="WMeshTecplot.mjs.html">WMeshTecplot.mjs</a>, <a href="WMeshTecplot.mjs.html#line96">line 96</a>
144
+ </li></ul></dd>
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
+ </dl>
177
+
178
+
179
+
180
+
181
+
182
+ <div class="description usertext">
183
+ <p>讀寫Tecplot的ASCII檔檔</p>
184
+ </div>
185
+
186
+
187
+
188
+
189
+
190
+
191
+
192
+ <h5 class="h5-examples">Example</h5>
193
+
194
+ <pre class="prettyprint"><code></code></pre>
195
+
196
+
197
+
198
+
199
+
200
+
201
+
202
+ <h3 class="subsection-title">Methods</h3>
203
+
204
+
205
+
206
+
207
+
208
+
209
+ <h4 class="name" id="readTecplot"><span class="type-signature type-signature-async">(async) </span>readTecplot<span class="signature">(fp)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
210
+
211
+
212
+
213
+
214
+
215
+
216
+ <dl class="details">
217
+
218
+ <dt class="tag-description">Description:</dt>
219
+ <dd class="tag-description"><ul class="dummy"><li><p>讀取Tecplot的ASCII檔</p></li></ul></dd>
220
+
221
+
222
+
223
+ <dt class="tag-source">Source:</dt>
224
+ <dd class="tag-source"><ul class="dummy"><li>
225
+ <a href="WMeshTecplot.mjs.html">WMeshTecplot.mjs</a>, <a href="WMeshTecplot.mjs.html#line18">line 18</a>
226
+ </li></ul></dd>
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
+ </dl>
259
+
260
+
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+
269
+
270
+ <h5 class="h5-examples">Example</h5>
271
+
272
+ <pre class="prettyprint"><code></code></pre>
273
+
274
+
275
+
276
+
277
+ <h5 class="h5-parameters">Parameters:</h5>
278
+
279
+
280
+ <table class="params">
281
+ <thead>
282
+ <tr>
283
+
284
+ <th>Name</th>
285
+
286
+
287
+ <th>Type</th>
288
+
289
+
290
+
291
+
292
+
293
+ <th class="last">Description</th>
294
+ </tr>
295
+ </thead>
296
+
297
+ <tbody>
298
+
299
+
300
+ <tr>
301
+
302
+ <td class="name"><code>fp</code></td>
303
+
304
+
305
+ <td class="type">
306
+
307
+
308
+ <span class="param-type">String</span>
309
+
310
+
311
+
312
+
313
+ </td>
314
+
315
+
316
+
317
+
318
+
319
+ <td class="description last"><p>輸入檔案位置字串</p></td>
320
+ </tr>
321
+
322
+
323
+ </tbody>
324
+ </table>
325
+
326
+
327
+
328
+
329
+
330
+
331
+
332
+
333
+
334
+
335
+
336
+
337
+
338
+
339
+
340
+
341
+ <h5 class="h5-returns">Returns:</h5>
342
+
343
+
344
+ <div class="param-desc">
345
+ <p>回傳Promise,resolve回傳ltdt(各數據列為物件陣列),reject回傳錯誤訊息</p>
346
+ </div>
347
+
348
+
349
+
350
+ <dl class="param-type">
351
+ <dt>
352
+ Type
353
+ </dt>
354
+ <dd>
355
+
356
+ <span class="param-type">Promise</span>
357
+
358
+
359
+
360
+ </dd>
361
+ </dl>
362
+
363
+
364
+
365
+
366
+
367
+
368
+
369
+
370
+
371
+
372
+ <h4 class="name" id="writeTecplot"><span class="type-signature type-signature-async">(async) </span>writeTecplot<span class="signature">(fp, data, opt<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {Promise}</span></h4>
373
+
374
+
375
+
376
+
377
+
378
+
379
+ <dl class="details">
380
+
381
+ <dt class="tag-description">Description:</dt>
382
+ <dd class="tag-description"><ul class="dummy"><li><p>輸出數據至Tecplot檔案</p></li></ul></dd>
383
+
384
+
385
+
386
+ <dt class="tag-source">Source:</dt>
387
+ <dd class="tag-source"><ul class="dummy"><li>
388
+ <a href="WMeshTecplot.mjs.html">WMeshTecplot.mjs</a>, <a href="WMeshTecplot.mjs.html#line41">line 41</a>
389
+ </li></ul></dd>
390
+
391
+
392
+
393
+
394
+
395
+
396
+
397
+
398
+
399
+
400
+
401
+
402
+
403
+
404
+
405
+
406
+
407
+
408
+
409
+
410
+
411
+
412
+
413
+
414
+
415
+
416
+
417
+
418
+
419
+
420
+
421
+ </dl>
422
+
423
+
424
+
425
+
426
+
427
+
428
+
429
+
430
+
431
+
432
+
433
+ <h5 class="h5-examples">Example</h5>
434
+
435
+ <pre class="prettyprint"><code></code></pre>
436
+
437
+
438
+
439
+
440
+ <h5 class="h5-parameters">Parameters:</h5>
441
+
442
+
443
+ <table class="params">
444
+ <thead>
445
+ <tr>
446
+
447
+ <th>Name</th>
448
+
449
+
450
+ <th>Type</th>
451
+
452
+
453
+ <th>Attributes</th>
454
+
455
+
456
+
457
+ <th>Default</th>
458
+
459
+
460
+ <th class="last">Description</th>
461
+ </tr>
462
+ </thead>
463
+
464
+ <tbody>
465
+
466
+
467
+ <tr>
468
+
469
+ <td class="name"><code>fp</code></td>
470
+
471
+
472
+ <td class="type">
473
+
474
+
475
+ <span class="param-type">String</span>
476
+
477
+
478
+
479
+
480
+ </td>
481
+
482
+
483
+ <td class="attributes">
484
+
485
+
486
+
487
+
488
+
489
+ </td>
490
+
491
+
492
+
493
+ <td class="default">
494
+
495
+ </td>
496
+
497
+
498
+ <td class="description last"><p>輸入檔案位置字串</p></td>
499
+ </tr>
500
+
501
+
502
+
503
+ <tr>
504
+
505
+ <td class="name"><code>data</code></td>
506
+
507
+
508
+ <td class="type">
509
+
510
+
511
+ <span class="param-type">Array</span>
512
+
513
+
514
+
515
+
516
+ </td>
517
+
518
+
519
+ <td class="attributes">
520
+
521
+
522
+
523
+
524
+
525
+ </td>
526
+
527
+
528
+
529
+ <td class="default">
530
+
531
+ </td>
532
+
533
+
534
+ <td class="description last"><p>輸入數據陣列,為mat或ltdt格式</p></td>
535
+ </tr>
536
+
537
+
538
+
539
+ <tr>
540
+
541
+ <td class="name"><code>opt</code></td>
542
+
543
+
544
+ <td class="type">
545
+
546
+
547
+ <span class="param-type">Object</span>
548
+
549
+
550
+
551
+
552
+ </td>
553
+
554
+
555
+ <td class="attributes">
556
+
557
+ &lt;optional><br>
558
+
559
+
560
+
561
+
562
+
563
+ </td>
564
+
565
+
566
+
567
+ <td class="default">
568
+
569
+ <code>{}</code>
570
+
571
+ </td>
572
+
573
+
574
+ <td class="description last"><p>輸入設定物件,預設{}</p>
575
+ <h6>Properties</h6>
576
+
577
+
578
+ <table class="params">
579
+ <thead>
580
+ <tr>
581
+
582
+ <th>Name</th>
583
+
584
+
585
+ <th>Type</th>
586
+
587
+
588
+ <th>Attributes</th>
589
+
590
+
591
+
592
+ <th>Default</th>
593
+
594
+
595
+ <th class="last">Description</th>
596
+ </tr>
597
+ </thead>
598
+
599
+ <tbody>
600
+
601
+
602
+ <tr>
603
+
604
+ <td class="name"><code>mode</code></td>
605
+
606
+
607
+ <td class="type">
608
+
609
+
610
+ <span class="param-type">String</span>
611
+
612
+
613
+
614
+
615
+ </td>
616
+
617
+
618
+ <td class="attributes">
619
+
620
+ &lt;optional><br>
621
+
622
+
623
+
624
+
625
+
626
+ </td>
627
+
628
+
629
+
630
+ <td class="default">
631
+
632
+ <code>'ltdt'</code>
633
+
634
+ </td>
635
+
636
+
637
+ <td class="description last"><p>輸入數據格式字串,可選ltdt或mat,預設ltdt</p></td>
638
+ </tr>
639
+
640
+
641
+
642
+ <tr>
643
+
644
+ <td class="name"><code>keys</code></td>
645
+
646
+
647
+ <td class="type">
648
+
649
+
650
+ <span class="param-type">Array</span>
651
+
652
+
653
+
654
+
655
+ </td>
656
+
657
+
658
+ <td class="attributes">
659
+
660
+ &lt;optional><br>
661
+
662
+
663
+
664
+
665
+
666
+ </td>
667
+
668
+
669
+
670
+ <td class="default">
671
+
672
+ <code>[]</code>
673
+
674
+ </td>
675
+
676
+
677
+ <td class="description last"><p>輸入指定欲輸出鍵值陣列,預設[]</p></td>
678
+ </tr>
679
+
680
+
681
+
682
+ <tr>
683
+
684
+ <td class="name"><code>kphead</code></td>
685
+
686
+
687
+ <td class="type">
688
+
689
+
690
+ <span class="param-type">Object</span>
691
+
692
+
693
+
694
+
695
+ </td>
696
+
697
+
698
+ <td class="attributes">
699
+
700
+ &lt;optional><br>
701
+
702
+
703
+
704
+
705
+
706
+ </td>
707
+
708
+
709
+
710
+ <td class="default">
711
+
712
+ <code>{}</code>
713
+
714
+ </td>
715
+
716
+
717
+ <td class="description last"><p>輸入指定鍵值轉換物件,預設{}</p></td>
718
+ </tr>
719
+
720
+
721
+ </tbody>
722
+ </table>
723
+
724
+ </td>
725
+ </tr>
726
+
727
+
728
+ </tbody>
729
+ </table>
730
+
731
+
732
+
733
+
734
+
735
+
736
+
737
+
738
+
739
+
740
+
741
+
742
+
743
+
744
+
745
+
746
+ <h5 class="h5-returns">Returns:</h5>
747
+
748
+
749
+ <div class="param-desc">
750
+ <p>回傳Promise,resolve回傳成功訊息,reject回傳錯誤訊息</p>
751
+ </div>
752
+
753
+
754
+
755
+ <dl class="param-type">
756
+ <dt>
757
+ Type
758
+ </dt>
759
+ <dd>
760
+
761
+ <span class="param-type">Promise</span>
762
+
763
+
764
+
765
+ </dd>
766
+ </dl>
767
+
768
+
769
+
770
+
771
+
772
+
773
+
774
+
775
+
776
+
777
+
778
+ </article>
779
+
780
+ </section>
781
+
782
+
783
+
784
+
785
+
786
+
787
+ </div>
788
+
789
+ <br class="clear">
790
+
791
+ <footer>
792
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Wed Nov 29 2023 15:36:44 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
793
+ </footer>
794
+
795
+ <script>prettyPrint();</script>
796
+ <script src="scripts/polyfill.js"></script>
797
+ <script src="scripts/linenumber.js"></script>
798
+
799
+
800
+
801
+ </body>
802
+ </html>