forked from PeterWaher/IoTGateway
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWaher.Script.Graphs3D.xml
More file actions
2408 lines (2406 loc) · 125 KB
/
Waher.Script.Graphs3D.xml
File metadata and controls
2408 lines (2406 loc) · 125 KB
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
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
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
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<doc>
<assembly>
<name>Waher.Script.Graphs3D</name>
</assembly>
<members>
<member name="T:Waher.Script.Graphs3D.Canvas3D">
<summary>
3D drawing area.
</summary>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.#ctor">
<summary>
3D drawing area.
By default, the camera is looking along the z-axis, with no projection, and no scaling.
The center of the canvas is located at origo.
</summary>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.#ctor(System.Int32,System.Int32,System.Int32,SkiaSharp.SKColor)">
<summary>
3D drawing area.
By default, the camera is looking along the z-axis, with no projection, and no scaling.
The center of the canvas is located at origo.
</summary>
<param name="Width">Width of area, in pixels.</param>
<param name="Height">Height of area, in pixels.</param>
<param name="OverSampling">Number of subpixels for each generated pixel.
Oversampling provides a means to achieve anti-aliasing in the rendered result.</param>
<param name="BackgroundColor">Background color</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Clear">
<summary>
Clears the canvas.
</summary>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.GetBitmap">
<summary>
Creates a bitmap from the pixels in the canvas.
</summary>
<returns></returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.CreateBitmap(Waher.Script.Graphs.GraphSettings,System.Object[]@)">
<summary>
Creates a bitmap of the graph.
</summary>
<param name="Settings">Graph settings.</param>
<param name="States">State objects that contain graph-specific information about its inner states.
These can be used in calls back to the graph object to make actions on the generated graph.</param>
<returns>Bitmap</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.GetBitmapClickScript(System.Double,System.Double,System.Object[])">
<summary>
Gets script corresponding to a point in a generated bitmap representation of the graph.
</summary>
<param name="X">X-Coordinate.</param>
<param name="Y">Y-Coordinate.</param>
<param name="States">State objects for the generated bitmap.</param>
<returns>Script.</returns>
</member>
<member name="P:Waher.Script.Graphs3D.Canvas3D.RecommendedBitmapSize">
<summary>
The recommended bitmap size of the graph, if such is available, or null if not.
</summary>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.AddLeft(Waher.Script.Abstraction.Elements.ISemiGroupElement)">
<summary>
Tries to add an element to the current element, from the left.
</summary>
<param name="Element">Element to add.</param>
<returns>Result, if understood, null otherwise.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.AddRight(Waher.Script.Abstraction.Elements.ISemiGroupElement)">
<summary>
Tries to add an element to the current element, from the right.
</summary>
<param name="Element">Element to add.</param>
<returns>Result, if understood, null otherwise.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Equals(System.Object)">
<summary>
Compares the element to another.
</summary>
<param name="obj">Other element to compare against.</param>
<returns>If elements are equal.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.GetHashCode">
<summary>
Calculates a hash code of the element.
</summary>
<returns>Hash code.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.ToPhongIntensity(System.Object)">
<summary>
Converts an object to a <see cref="T:Waher.Script.Graphs3D.PhongIntensity"/> object.
</summary>
<param name="Object">Object</param>
<returns>Phong intensity object.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.ResetTransforms">
<summary>
Resets any transforms.
</summary>
</member>
<member name="P:Waher.Script.Graphs3D.Canvas3D.ProjectionTransformation">
<summary>
Current projection transformation matrix.
</summary>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Perspective(System.Single,System.Single)">
<summary>
Applies a perspective projection.
</summary>
<param name="NearPlaneDistance">Distance between near projection plane and camera.</param>
<param name="FarPlaneDistance">Distance between far projection plane and camera.</param>
<returns>Previous model transformation matrix.</returns>
</member>
<member name="P:Waher.Script.Graphs3D.Canvas3D.ViewerPosition">
<summary>
Viewer position
</summary>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Project(System.Numerics.Vector4)">
<summary>
Transforms coordinates to screen coordinates.
</summary>
<param name="Point">Point.</param>
<returns>Transformed point.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Project(System.Numerics.Vector3)">
<summary>
Transforms a world coordinate to a display coordinate.
</summary>
<param name="Point">Point.</param>
<returns>Transformed point.</returns>
</member>
<member name="P:Waher.Script.Graphs3D.Canvas3D.ModelTransformation">
<summary>
Current model transformation matrix.
</summary>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.ModelTransform(System.Numerics.Vector4)">
<summary>
Transforms a world coordinate to a display coordinate.
</summary>
<param name="Point">Point.</param>
<returns>Transformed point.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.ModelTransform(System.Numerics.Vector3)">
<summary>
Transforms a world coordinate to a display coordinate.
</summary>
<param name="Point">Point.</param>
<returns>Transformed point.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.RotateX(System.Single)">
<summary>
Rotates the world around the X-axis.
</summary>
<param name="Degrees">Degrees</param>
<returns>Previous model transformation matrix.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.RotateX(System.Single,System.Object)">
<summary>
Rotates the world around an axis parallel to the X-axis, going through
the center point <paramref name="CenterPoint"/>.
</summary>
<param name="Degrees">Degrees</param>
<param name="CenterPoint">Center point.</param>
<returns>Previous model transformation matrix.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.RotateX(System.Single,System.Numerics.Vector3)">
<summary>
Rotates the world around an axis parallel to the X-axis, going through
the center point <paramref name="CenterPoint"/>.
</summary>
<param name="Degrees">Degrees</param>
<param name="CenterPoint">Center point.</param>
<returns>Previous model transformation matrix.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.RotateY(System.Single)">
<summary>
Rotates the world around the Y-axis.
</summary>
<param name="Degrees">Degrees</param>
<returns>Previous model transformation matrix.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.RotateY(System.Single,System.Object)">
<summary>
Rotates the world around an axis parallel to the Y-axis, going through
the center point <paramref name="CenterPoint"/>.
</summary>
<param name="Degrees">Degrees</param>
<param name="CenterPoint">Center point.</param>
<returns>Previous model transformation matrix.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.RotateY(System.Single,System.Numerics.Vector3)">
<summary>
Rotates the world around an axis parallel to the Y-axis, going through
the center point <paramref name="CenterPoint"/>.
</summary>
<param name="Degrees">Degrees</param>
<param name="CenterPoint">Center point.</param>
<returns>Previous model transformation matrix.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.RotateZ(System.Single)">
<summary>
Rotates the world around the Z-axis.
</summary>
<param name="Degrees">Degrees</param>
<returns>Previous model transformation matrix.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.RotateZ(System.Single,System.Object)">
<summary>
Rotates the world around an axis parallel to the Z-axis, going through
the center point <paramref name="CenterPoint"/>.
</summary>
<param name="Degrees">Degrees</param>
<param name="CenterPoint">Center point.</param>
<returns>Previous model transformation matrix.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.RotateZ(System.Single,System.Numerics.Vector3)">
<summary>
Rotates the world around an axis parallel to the Z-axis, going through
the center point <paramref name="CenterPoint"/>.
</summary>
<param name="Degrees">Degrees</param>
<param name="CenterPoint">Center point.</param>
<returns>Previous model transformation matrix.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Scale(System.Single)">
<summary>
Scales the world
</summary>
<param name="Scale">Scale</param>
<returns>Previous model transformation matrix.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Scale(System.Single,System.Object)">
<summary>
Scales the world
</summary>
<param name="Scale">Scale</param>
<param name="CenterPoint">Center point.</param>
<returns>Previous model transformation matrix.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Scale(System.Single,System.Numerics.Vector3)">
<summary>
Scales the world
</summary>
<param name="Scale">Scale</param>
<param name="CenterPoint">Center point.</param>
<returns>Previous model transformation matrix.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Scale(System.Single,System.Single,System.Single)">
<summary>
Scales the world
</summary>
<param name="ScaleX">Scale along X-axis.</param>
<param name="ScaleY">Scale along Y-axis.</param>
<param name="ScaleZ">Scale along Z-axis.</param>
<returns>Previous model transformation matrix.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Scale(System.Single,System.Single,System.Single,System.Object)">
<summary>
Scales the world
</summary>
<param name="ScaleX">Scale along X-axis.</param>
<param name="ScaleY">Scale along Y-axis.</param>
<param name="ScaleZ">Scale along Z-axis.</param>
<param name="CenterPoint">Center point.</param>
<returns>Previous model transformation matrix.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Scale(System.Single,System.Single,System.Single,System.Numerics.Vector3)">
<summary>
Scales the world
</summary>
<param name="ScaleX">Scale along X-axis.</param>
<param name="ScaleY">Scale along Y-axis.</param>
<param name="ScaleZ">Scale along Z-axis.</param>
<param name="CenterPoint">Center point.</param>
<returns>Previous model transformation matrix.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Translate(System.Numerics.Vector3)">
<summary>
Translates the world.
</summary>
<param name="Delta">Movement vector.</param>
<returns>Previous model transformation matrix.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Translate(System.Single,System.Single,System.Single)">
<summary>
Translates the world.
</summary>
<param name="DeltaX">Movement along the X-axis.</param>
<param name="DelayY">Movement along the Y-axis.</param>
<param name="DeltaZ">Movement along the Z-axis.</param>
<returns>Previous model transformation matrix.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.LookAt(System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Single)">
<summary>
Places the observer at the point (<paramref name="PositionX"/>, <paramref name="PositionY"/>, <paramref name="PositionZ"/>), looking at
the point (<paramref name="TargetX"/>, <paramref name="TargetY"/>, <paramref name="TargetZ"/>), with upwards pointing in the direction of
(<paramref name="UpX"/>, <paramref name="UpY"/>, <paramref name="UpZ"/>) (as a vector, from the position of the observer).
</summary>
<param name="PositionX">X-Coordinte of position point of the observer.</param>
<param name="PositionY">Y-Coordinte of position point of the observer.</param>
<param name="PositionZ">Z-Coordinte of position point of the observer.</param>
<param name="TargetX">X-Coordinate of point being observed.</param>
<param name="TargetY">Y-Coordinate of point being observed.</param>
<param name="TargetZ">Z-Coordinate of point being observed.</param>
<param name="UpX">X-Coordinate of vector pointing in the direction of up, from the
point of the observer (<paramref name="PositionX"/>).</param>
<param name="UpY">Y-Coordinate of vector pointing in the direction of up, from the
point of the observer (<paramref name="PositionY"/>).</param>
<param name="UpZ">Z-Coordinate of vector pointing in the direction of up, from the
point of the observer (<paramref name="PositionZ"/>).</param>
<returns>Previous model transformation matrix.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.LookAt(System.Numerics.Vector3,System.Numerics.Vector3,System.Numerics.Vector3)">
<summary>
Places the observer at the point <paramref name="Position"/>, looking at
the point <paramref name="Target"/>, with upwards pointing in the direction of
<paramref name="Up"/> (as a vector, from the position of the observer).
</summary>
<param name="Position">Position point of the observer.</param>
<param name="Target">Point being observed.</param>
<param name="Up">Vector pointing in the direction of up, from the
point of the observer (<paramref name="Position"/>).</param>
<returns>Previous model transformation matrix.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Plot(System.Numerics.Vector4,SkiaSharp.SKColor)">
<summary>
Plots a point on the 3D-canvas.
</summary>
<param name="Point">Point to plot.</param>
<param name="Color">Color.</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Plot(System.Numerics.Vector4,System.UInt32)">
<summary>
Plots a point on the 3D-canvas.
</summary>
<param name="Point">Point to plot.</param>
<param name="Color">Color.</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Line(System.Numerics.Vector4,System.Numerics.Vector4,SkiaSharp.SKColor)">
<summary>
Draws a line between P0 and P1.
</summary>
<param name="P0">Point 1.</param>
<param name="P1">Point 2.</param>
<param name="Color">Color</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Line(System.Numerics.Vector4,System.Numerics.Vector4,System.UInt32)">
<summary>
Draws a line between P0 and P1.
</summary>
<param name="P0">Point 1.</param>
<param name="P1">Point 2.</param>
<param name="Color">Color</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.MoveTo(System.Numerics.Vector4)">
<summary>
Moves to a point.
</summary>
<param name="Point">Point.</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.LineTo(System.Numerics.Vector4,SkiaSharp.SKColor)">
<summary>
Draws a line to <paramref name="Point"/> from the last endpoint.
</summary>
<param name="Point">Point.</param>
<param name="Color">Color</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.LineTo(System.Numerics.Vector4,System.UInt32)">
<summary>
Draws a line to <paramref name="Point"/> from the last endpoint.
</summary>
<param name="Point">Point.</param>
<param name="Color">Color</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.PolyLine(System.Numerics.Vector4[],SkiaSharp.SKColor)">
<summary>
Draws lines between a set of nodes.
</summary>
<param name="Nodes">Nodes</param>
<param name="Color">Color</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.PolyLine(System.Numerics.Vector4[],System.UInt32)">
<summary>
Draws lines between a set of nodes.
</summary>
<param name="Nodes">Nodes</param>
<param name="Color">Color</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.ToVector3(System.Numerics.Vector4)">
<summary>
Converts a <see cref="T:System.Numerics.Vector4"/> to a <see cref="T:System.Numerics.Vector3"/>.
</summary>
<param name="P">Point, or vector.</param>
<returns>Point or vector.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.ToVector3(System.Object)">
<summary>
Converts a <see cref="T:System.Numerics.Vector4"/> to a <see cref="T:System.Numerics.Vector3"/>.
</summary>
<param name="Object">Untyped point, or vector.</param>
<returns>Point or vector.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.ToPoint(System.Numerics.Vector3)">
<summary>
Converts a <see cref="T:System.Numerics.Vector3"/> to a <see cref="T:System.Numerics.Vector4"/> point.
</summary>
<param name="P">Point, or vector.</param>
<returns>Point.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.ToVector(System.Numerics.Vector3)">
<summary>
Converts a <see cref="T:System.Numerics.Vector3"/> to a <see cref="T:System.Numerics.Vector4"/> vector.
</summary>
<param name="P">Point, or vector.</param>
<returns>Vector.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.CalcNormal(System.Numerics.Vector3,System.Numerics.Vector3,System.Numerics.Vector3)">
<summary>
Calculates a normal to the plane that goes through P0, P1 and P2.
</summary>
<param name="P0">Point 1</param>
<param name="P1">Point 2</param>
<param name="P2">Point 3</param>
<returns>Normal</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.CalcNormal(System.Numerics.Vector4,System.Numerics.Vector4,System.Numerics.Vector4)">
<summary>
Calculates a normal to the plane that goes through P0, P1 and P2.
</summary>
<param name="P0">Point 1</param>
<param name="P1">Point 2</param>
<param name="P2">Point 3</param>
<returns>Normal</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Polygon(System.Numerics.Vector4[],SkiaSharp.SKColor,System.Boolean)">
<summary>
Draws a closed polygon.
</summary>
<param name="Nodes">Nodes.</param>
<param name="Color">Color</param>
<param name="TwoSided">If the polygon is two-sided.
If true, <paramref name="Color"/> is used on both sides.
If false, <paramref name="Color"/> is only used on the front side.
Which side is the front side, is determined from the Normal vector
and viewing position. The Normal vector is determined from the order
of the nodes defining the polygon.</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Polygon(System.Numerics.Vector4[],System.Numerics.Vector4[],SkiaSharp.SKColor,System.Boolean)">
<summary>
Draws a closed polygon.
</summary>
<param name="Nodes">Nodes.</param>
<param name="Normals">Normals</param>
<param name="Color">Color</param>
<param name="TwoSided">If the polygon is two-sided.
If true, <paramref name="Color"/> is used on both sides.
If false, <paramref name="Color"/> is only used on the front side.
Which side is the front side, is determined from the Normal vector
and viewing position. The Normal vector is determined from the order
of the nodes defining the polygon.</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Polygon(System.Numerics.Vector4[],Waher.Script.Graphs3D.I3DShader,System.Boolean)">
<summary>
Draws a closed polygon.
</summary>
<param name="Nodes">Nodes.</param>
<param name="Shader">Shader.</param>
<param name="TwoSided">If the polygon is two-sided.
If true, <paramref name="Shader"/> is used on both sides.
If false, <paramref name="Shader"/> is only used on the front side.
Which side is the front side, is determined from the Normal vector
and viewing position. The Normal vector is determined from the order
of the nodes defining the polygon.</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Polygon(System.Numerics.Vector4[],System.Numerics.Vector4[],Waher.Script.Graphs3D.I3DShader,System.Boolean)">
<summary>
Draws a closed polygon.
</summary>
<param name="Nodes">Nodes.</param>
<param name="Normals">Normals</param>
<param name="Shader">Shader.</param>
<param name="TwoSided">If the polygon is two-sided.
If true, <paramref name="Shader"/> is used on both sides.
If false, <paramref name="Shader"/> is only used on the front side.
Which side is the front side, is determined from the Normal vector
and viewing position. The Normal vector is determined from the order
of the nodes defining the polygon.</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Polygons(System.Numerics.Vector4[][],SkiaSharp.SKColor,System.Boolean)">
<summary>
Draws a set of closed polygons. Interior polygons can be used to undraw the corresponding sections.
</summary>
<param name="Nodes">Nodes.</param>
<param name="Color">Color</param>
<param name="TwoSided">If the polygon is two-sided.
If true, <paramref name="Color"/> is used on both sides.
If false, <paramref name="Color"/> is only used on the front side.
Which side is the front side, is determined from the Normal vector
and viewing position. The Normal vector is determined from the order
of the nodes defining the polygon.</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Polygons(System.Numerics.Vector4[][],System.Numerics.Vector4[][],SkiaSharp.SKColor,System.Boolean)">
<summary>
Draws a set of closed polygons. Interior polygons can be used to undraw the corresponding sections.
</summary>
<param name="Nodes">Nodes.</param>
<param name="Normals">Normals</param>
<param name="Color">Color</param>
<param name="TwoSided">If the polygon is two-sided.
If true, <paramref name="Color"/> is used on both sides.
If false, <paramref name="Color"/> is only used on the front side.
Which side is the front side, is determined from the Normal vector
and viewing position. The Normal vector is determined from the order
of the nodes defining the polygon.</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Polygons(System.Numerics.Vector4[][],Waher.Script.Graphs3D.I3DShader,System.Boolean)">
<summary>
Draws a set of closed polygons. Interior polygons can be used to undraw the corresponding sections.
</summary>
<param name="Nodes">Nodes.</param>
<param name="Shader">Shader.</param>
<param name="TwoSided">If the polygon is two-sided.
If true, <paramref name="Shader"/> is used on both sides.
If false, <paramref name="Shader"/> is only used on the front side.
Which side is the front side, is determined from the Normal vector
and viewing position. The Normal vector is determined from the order
of the nodes defining the polygon.</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Polygons(System.Numerics.Vector4[][],System.Numerics.Vector4[][],Waher.Script.Graphs3D.I3DShader,System.Boolean)">
<summary>
Draws a set of closed polygons. Interior polygons can be used to undraw the corresponding sections.
</summary>
<param name="Nodes">Nodes.</param>
<param name="Normals">Normals</param>
<param name="Shader">Shader.</param>
<param name="TwoSided">If the polygon is two-sided.
If true, <paramref name="Shader"/> is used on both sides.
If false, <paramref name="Shader"/> is only used on the front side.
Which side is the front side, is determined from the Normal vector
and viewing position. The Normal vector is determined from the order
of the nodes defining the polygon.</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Polygons(System.Numerics.Vector4[][],Waher.Script.Graphs3D.I3DShader,Waher.Script.Graphs3D.I3DShader)">
<summary>
Draws a set of closed polygons. Interior polygons can be used to undraw the corresponding sections.
</summary>
<param name="Nodes">Nodes.</param>
<param name="FrontShader">Front side Shader.</param>
<param name="BackShader">Back side Shader.</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Polygons(System.Numerics.Vector4[][],System.Numerics.Vector4[][],Waher.Script.Graphs3D.I3DShader,Waher.Script.Graphs3D.I3DShader)">
<summary>
Draws a set of closed polygons. Interior polygons can be used to undraw the corresponding sections.
</summary>
<param name="Nodes">Nodes.</param>
<param name="Normals">Normals</param>
<param name="FrontShader">Front side Shader.</param>
<param name="BackShader">Back side Shader.</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Text(System.String,System.Numerics.Vector4,System.String,System.Single,SkiaSharp.SKColor)">
<summary>
Draws text on the canvas.
</summary>
<param name="Text">Text to draw.</param>
<param name="Start">Start position.</param>
<param name="FontFamily">Font family.</param>
<param name="TextSize">Text size.</param>
<param name="Color">Text color.</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Text(System.String,System.Numerics.Vector4,System.String,SkiaSharp.SKFontStyleWeight,System.Single,SkiaSharp.SKColor)">
<summary>
Draws text on the canvas.
</summary>
<param name="Text">Text to draw.</param>
<param name="Start">Start position.</param>
<param name="FontFamily">Font family.</param>
<param name="Weight">Font weight.</param>
<param name="TextSize">Text size.</param>
<param name="Color">Text color.</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Text(System.String,System.Numerics.Vector4,System.String,SkiaSharp.SKFontStyleWeight,SkiaSharp.SKFontStyleWidth,System.Single,SkiaSharp.SKColor)">
<summary>
Draws text on the canvas.
</summary>
<param name="Text">Text to draw.</param>
<param name="Start">Start position.</param>
<param name="FontFamily">Font family.</param>
<param name="Weight">Font weight.</param>
<param name="Width">Font width.</param>
<param name="TextSize">Text size.</param>
<param name="Color">Text color.</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Text(System.String,System.Numerics.Vector4,System.String,SkiaSharp.SKFontStyleWeight,SkiaSharp.SKFontStyleWidth,SkiaSharp.SKFontStyleSlant,System.Single,SkiaSharp.SKColor)">
<summary>
Draws text on the canvas.
</summary>
<param name="Text">Text to draw.</param>
<param name="Start">Start position.</param>
<param name="FontFamily">Font family.</param>
<param name="Weight">Font weight.</param>
<param name="Width">Font width.</param>
<param name="Slant">Font slant.</param>
<param name="TextSize">Text size.</param>
<param name="Color">Text color.</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.TextDimensions(System.String,System.String,System.Single)">
<summary>
Measures the size of text to be output.
</summary>
<param name="Text">Text to draw.</param>
<param name="FontFamily">Font family.</param>
<param name="TextSize">Text size.</param>
<returns>Size of text.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.TextDimensions(System.String,System.String,SkiaSharp.SKFontStyleWeight,System.Single)">
<summary>
Measures the size of text to be output.
</summary>
<param name="Text">Text to draw.</param>
<param name="FontFamily">Font family.</param>
<param name="Weight">Font weight.</param>
<param name="TextSize">Text size.</param>
<returns>Size of text.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.TextDimensions(System.String,System.String,SkiaSharp.SKFontStyleWeight,SkiaSharp.SKFontStyleWidth,System.Single)">
<summary>
Measures the size of text to be output.
</summary>
<param name="Text">Text to draw.</param>
<param name="FontFamily">Font family.</param>
<param name="Weight">Font weight.</param>
<param name="Width">Font width.</param>
<param name="TextSize">Text size.</param>
<returns>Size of text.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.TextDimensions(System.String,System.String,SkiaSharp.SKFontStyleWeight,SkiaSharp.SKFontStyleWidth,SkiaSharp.SKFontStyleSlant,System.Single)">
<summary>
Measures the size of text to be output.
</summary>
<param name="Text">Text to draw.</param>
<param name="FontFamily">Font family.</param>
<param name="Weight">Font weight.</param>
<param name="Width">Font width.</param>
<param name="Slant">Font slant.</param>
<param name="TextSize">Text size.</param>
<returns>Size of text.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.TextWidth(System.String,System.String,System.Single)">
<summary>
Measures the width of text to be output.
</summary>
<param name="Text">Text to draw.</param>
<param name="FontFamily">Font family.</param>
<param name="TextSize">Text size.</param>
<returns>Width of text.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.TextWidth(System.String,System.String,SkiaSharp.SKFontStyleWeight,System.Single)">
<summary>
Measures the width of text to be output.
</summary>
<param name="Text">Text to draw.</param>
<param name="FontFamily">Font family.</param>
<param name="Weight">Font weight.</param>
<param name="TextSize">Text size.</param>
<returns>Width of text.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.TextWidth(System.String,System.String,SkiaSharp.SKFontStyleWeight,SkiaSharp.SKFontStyleWidth,System.Single)">
<summary>
Measures the width of text to be output.
</summary>
<param name="Text">Text to draw.</param>
<param name="FontFamily">Font family.</param>
<param name="Weight">Font weight.</param>
<param name="Width">Font width.</param>
<param name="TextSize">Text size.</param>
<returns>Width of text.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.TextWidth(System.String,System.String,SkiaSharp.SKFontStyleWeight,SkiaSharp.SKFontStyleWidth,SkiaSharp.SKFontStyleSlant,System.Single)">
<summary>
Measures the width of text to be output.
</summary>
<param name="Text">Text to draw.</param>
<param name="FontFamily">Font family.</param>
<param name="Weight">Font weight.</param>
<param name="Width">Font width.</param>
<param name="Slant">Font slant.</param>
<param name="TextSize">Text size.</param>
<returns>Width of text.</returns>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Box(System.Numerics.Vector4,System.Numerics.Vector4,Waher.Script.Graphs3D.I3DShader)">
<summary>
Draws a box, with sides parallell to the x, y and z axis.
</summary>
<param name="Corner1">First corner</param>
<param name="Corner2">Second corner</param>
<param name="Shader">Shader.</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Box(System.Numerics.Vector3,System.Numerics.Vector3,Waher.Script.Graphs3D.I3DShader)">
<summary>
Draws a box, with sides parallell to the x, y and z axis.
</summary>
<param name="Corner1">First corner</param>
<param name="Corner2">Second corner</param>
<param name="Shader">Shader.</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Box(System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,Waher.Script.Graphs3D.I3DShader)">
<summary>
Draws a box, with sides parallell to the x, y and z axis.
</summary>
<param name="x1">X-axis of first corner.</param>
<param name="y1">Y-axis of first corner.</param>
<param name="z1">Z-axis of first corner.</param>
<param name="x2">X-axis of second corner.</param>
<param name="y2">Y-axis of second corner.</param>
<param name="z2">Z-axis of second corner.</param>
<param name="Shader">Shader.</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Ellipsoid(System.Numerics.Vector3,System.Numerics.Vector3,System.Int32,Waher.Script.Graphs3D.I3DShader)">
<summary>
Draws an ellipsoid, with axes parallell to the x, y and z axis.
</summary>
<param name="Center">Center-point</param>
<param name="Radius">Radius vectors</param>
<param name="Facets">Number of facets to use to (at least), to draw ellipsoid</param>
<param name="Shader">Shader.</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.Ellipsoid(System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Int32,Waher.Script.Graphs3D.I3DShader)">
<summary>
Draws an ellipsoid, with axes parallell to the x, y and z axis.
</summary>
<param name="cx">Center-point X-coordinate.</param>
<param name="cy">Center-point Y-coordinate.</param>
<param name="cz">Center-point Z-coordinate.</param>
<param name="rx">Radius along X-axis.</param>
<param name="ry">Radius along Y-axis.</param>
<param name="rz">Radius along Z-axis.</param>
<param name="Facets">Number of facets to use to (at least), to draw ellipsoid</param>
<param name="Shader">Shader.</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.ExportGraph(System.Xml.XmlWriter)">
<summary>
Exports graph specifics to XML.
</summary>
<param name="Output">XML output.</param>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.ImportGraph(System.Xml.XmlElement)">
<summary>
Imports graph specifics from XML.
</summary>
<param name="Xml">XML input.</param>
</member>
<member name="P:Waher.Script.Graphs3D.Canvas3D.UsesDefaultColor">
<summary>
If graph uses default color
</summary>
</member>
<member name="M:Waher.Script.Graphs3D.Canvas3D.TrySetDefaultColor(SkiaSharp.SKColor)">
<summary>
Tries to set the default color.
</summary>
<param name="Color">Default color.</param>
<returns>If possible to set.</returns>
</member>
<member name="T:Waher.Script.Graphs3D.ConstantColor">
<summary>
Shader returning a constant color.
</summary>
</member>
<member name="M:Waher.Script.Graphs3D.ConstantColor.#ctor(SkiaSharp.SKColor)">
<summary>
Shader returning a constant color.
</summary>
<param name="Color">Color</param>
</member>
<member name="P:Waher.Script.Graphs3D.ConstantColor.Color">
<summary>
Constant color.
</summary>
</member>
<member name="M:Waher.Script.Graphs3D.ConstantColor.GetColor(System.Single,System.Single,System.Single,System.Numerics.Vector3,Waher.Script.Graphs3D.Canvas3D)">
<summary>
Gets a color for a position.
</summary>
<param name="X">X-coordinate.</param>
<param name="Y">Y-coordinate.</param>
<param name="Z">Z-coordinate.</param>
<param name="Normal">Surface normal vector.</param>
<param name="Canvas">Current canvas.</param>
<returns>Color</returns>
</member>
<member name="M:Waher.Script.Graphs3D.ConstantColor.GetColors(System.Single[],System.Single[],System.Single[],System.Numerics.Vector3[],System.Int32,SkiaSharp.SKColor[],Waher.Script.Graphs3D.Canvas3D)">
<summary>
Gets an array of colors.
</summary>
<param name="X">X-coordinates.</param>
<param name="Y">Y-coordinates.</param>
<param name="Z">Z-coordinates.</param>
<param name="Normals">Normal vectors.</param>
<param name="N">Number of coordinates.</param>
<param name="Colors">Where color values will be stored.</param>
<param name="Canvas">Current canvas.</param>
</member>
<member name="P:Waher.Script.Graphs3D.ConstantColor.Opaque">
<summary>
If shader is 100% opaque.
</summary>
</member>
<member name="M:Waher.Script.Graphs3D.ConstantColor.ToScript">
<summary>
Exports shader specifics to script.
</summary>
<returns>Exports the shader to parsable script.</returns>
</member>
<member name="T:Waher.Script.Graphs3D.DrawingVolume">
<summary>
Contains information about the current drawing area.
</summary>
</member>
<member name="M:Waher.Script.Graphs3D.DrawingVolume.#ctor(Waher.Script.Abstraction.Elements.IElement,Waher.Script.Abstraction.Elements.IElement,Waher.Script.Abstraction.Elements.IElement,Waher.Script.Abstraction.Elements.IElement,Waher.Script.Abstraction.Elements.IElement,Waher.Script.Abstraction.Elements.IElement,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Nullable{System.Single},System.Nullable{System.Single},System.Nullable{System.Single})">
<summary>
Contains information about the current drawing area.
</summary>
<param name="MinX">Smallest value of X.</param>
<param name="MaxX">Largest value of X.</param>
<param name="MinY">Smallest value of Y.</param>
<param name="MaxY">Largest value of Y.</param>
<param name="MinZ">Smallest value of Z.</param>
<param name="MaxZ">Largest value of Z.</param>
<param name="OffsetX">X-offset of drawing area, relative to the canvas origin.</param>
<param name="OffsetY">Y-offset of drawing area, relative to the canvas origin.</param>
<param name="OffsetZ">Z-offset of drawing area, relative to the canvas origin.</param>
<param name="Width">Width (x) of drawing area.</param>
<param name="Height">Height (y) of drawing area.</param>
<param name="Depth">Depth (z) of drawing area.</param>
<param name="OrigoX">X-coordinate of the origo.</param>
<param name="OrigoY">Y-coordinate of the origo.</param>
<param name="OrigoZ">Z-coordinate of the origo.</param>
</member>
<member name="P:Waher.Script.Graphs3D.DrawingVolume.MinX">
<summary>
Smallest value of X.
</summary>
</member>
<member name="P:Waher.Script.Graphs3D.DrawingVolume.MaxX">
<summary>
Largest value of X.
</summary>
</member>
<member name="P:Waher.Script.Graphs3D.DrawingVolume.MinY">
<summary>
Smallest value of Y.
</summary>
</member>
<member name="P:Waher.Script.Graphs3D.DrawingVolume.MaxY">
<summary>
Largest value of Y.
</summary>
</member>
<member name="P:Waher.Script.Graphs3D.DrawingVolume.MinZ">
<summary>
Smallest value of Z.
</summary>
</member>
<member name="P:Waher.Script.Graphs3D.DrawingVolume.MaxZ">
<summary>
Largest value of Z.
</summary>
</member>
<member name="P:Waher.Script.Graphs3D.DrawingVolume.OffsetX">
<summary>
X-offset of drawing area, relative to the canvas origin.
</summary>
</member>
<member name="P:Waher.Script.Graphs3D.DrawingVolume.OffsetY">
<summary>
Y-offset of drawing area, relative to the canvas origin.
</summary>
</member>
<member name="P:Waher.Script.Graphs3D.DrawingVolume.OffsetZ">
<summary>
Z-offset of drawing area, relative to the canvas origin.
</summary>
</member>
<member name="P:Waher.Script.Graphs3D.DrawingVolume.Width">
<summary>
Width of drawing area.
</summary>
</member>
<member name="P:Waher.Script.Graphs3D.DrawingVolume.Height">
<summary>
Height of drawing area.
</summary>
</member>
<member name="P:Waher.Script.Graphs3D.DrawingVolume.Depth">
<summary>
Depth of drawing area.
</summary>
</member>
<member name="P:Waher.Script.Graphs3D.DrawingVolume.OrigoX">
<summary>
X-coordinate for the origo.
</summary>
</member>
<member name="P:Waher.Script.Graphs3D.DrawingVolume.OrigoY">
<summary>
Y-coordinate for the origo.
</summary>
</member>
<member name="P:Waher.Script.Graphs3D.DrawingVolume.OrigoZ">
<summary>
Z-coordinate for the origo.
</summary>
</member>
<member name="M:Waher.Script.Graphs3D.DrawingVolume.Scale(Waher.Script.Abstraction.Elements.IMatrix,Waher.Script.Abstraction.Elements.IMatrix,Waher.Script.Abstraction.Elements.IMatrix)">
<summary>
Scales three matrices of equal size to point vectors in space.
</summary>
<param name="MatrixX">X-matrix.</param>
<param name="MatrixY">Y-matrix.</param>
<param name="MatrixZ">Z-matrix.</param>
</member>
<member name="M:Waher.Script.Graphs3D.DrawingVolume.ScaleX(Waher.Script.Abstraction.Elements.IMatrix)">
<summary>
Scales a matrix with x-coordinates to fit a given volume.
</summary>
<param name="Matrix">Matrix.</param>
</member>
<member name="M:Waher.Script.Graphs3D.DrawingVolume.ScaleX(Waher.Script.Abstraction.Elements.IVector)">
<summary>
Scales a vector of x-coordinates to fit a given volume.
</summary>
<param name="Vector">Vector.</param>
</member>
<member name="M:Waher.Script.Graphs3D.DrawingVolume.ScaleY(Waher.Script.Abstraction.Elements.IMatrix)">
<summary>
Scales a matrix with y-coordinates to fit a given volume.
</summary>
<param name="Matrix">Matrix.</param>
</member>
<member name="M:Waher.Script.Graphs3D.DrawingVolume.ScaleY(Waher.Script.Abstraction.Elements.IVector)">
<summary>
Scales a vector of y-coordinates to fit a given volume.
</summary>
<param name="Vector">Vector.</param>
</member>
<member name="M:Waher.Script.Graphs3D.DrawingVolume.ScaleZ(Waher.Script.Abstraction.Elements.IMatrix)">
<summary>
Scales a matrix with z-coordinates to fit a given volume.
</summary>
<param name="Matrix">Matrix.</param>
</member>
<member name="M:Waher.Script.Graphs3D.DrawingVolume.ScaleZ(Waher.Script.Abstraction.Elements.IVector)">
<summary>
Scales a vector of z-coordinates to fit a given volume.
</summary>
<param name="Vector">Vector.</param>
</member>
<member name="M:Waher.Script.Graphs3D.DrawingVolume.DescaleX(System.Double)">
<summary>
Descales a scaled value along the X-axis.
</summary>
<param name="Value">Scaled value.</param>
</member>
<member name="M:Waher.Script.Graphs3D.DrawingVolume.DescaleY(System.Double)">
<summary>
Descales a scaled value along the Y-axis.
</summary>
<param name="Value">Scaled value.</param>
</member>
<member name="M:Waher.Script.Graphs3D.DrawingVolume.DescaleZ(System.Double)">
<summary>
Descales a scaled value along the Z-axis.
</summary>
<param name="Value">Scaled value.</param>
</member>
<member name="T:Waher.Script.Graphs3D.Functions.Canvas3D">
<summary>
Generates a <see cref="T:Waher.Script.Graphs3D.Canvas3D"/> object.
</summary>
</member>
<member name="M:Waher.Script.Graphs3D.Functions.Canvas3D.#ctor(Waher.Script.Model.ScriptNode,Waher.Script.Model.ScriptNode,Waher.Script.Model.ScriptNode,Waher.Script.Model.ScriptNode,System.Int32,System.Int32,Waher.Script.Expression)">
<summary>
Generates a <see cref="T:Waher.Script.Graphs3D.Canvas3D"/> object.
</summary>
<param name="Width">Width of canvas.</param>
<param name="Height">Height of canvas.</param>
<param name="Oversampling">Oversampling.</param>
<param name="BackgroupColor">Background color.</param>
<param name="Start">Start position in script expression.</param>
<param name="Length">Length of expression covered by node.</param>
<param name="Expression">Expression.</param>
</member>
<member name="P:Waher.Script.Graphs3D.Functions.Canvas3D.FunctionName">