-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
Vector.xml
1862 lines (1708 loc) · 110 KB
/
Vector.xml
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
<Type Name="Vector" FullName="System.Windows.Vector">
<TypeSignature Language="C#" Value="public struct Vector : IFormattable" />
<TypeSignature Language="ILAsm" Value=".class public sequential ansi serializable sealed beforefieldinit Vector extends System.ValueType implements class System.IFormattable" FrameworkAlternate="netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1" />
<TypeSignature Language="DocId" Value="T:System.Windows.Vector" />
<TypeSignature Language="VB.NET" Value="Public Structure Vector
Implements IFormattable" />
<TypeSignature Language="F#" Value="type Vector = struct
 interface IFormattable" />
<TypeSignature Language="C++ CLI" Value="public value class Vector : IFormattable" />
<TypeSignature Language="ILAsm" Value=".class public sequential ansi sealed beforefieldinit Vector extends System.ValueType implements class System.IFormattable" FrameworkAlternate="windowsdesktop-3.0;windowsdesktop-3.1;windowsdesktop-5.0;windowsdesktop-6.0;windowsdesktop-7.0;windowsdesktop-8.0;windowsdesktop-9.0" />
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.ValueType</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.IFormattable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.TypeConverter(typeof(System.Windows.VectorConverter))]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.TypeConverter(typeof(System.Windows.VectorConverter))>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Windows.Markup.ValueSerializer(typeof(System.Windows.Converters.VectorValueSerializer))]</AttributeName>
<AttributeName Language="F#">[<System.Windows.Markup.ValueSerializer(typeof(System.Windows.Converters.VectorValueSerializer))>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1">
<AttributeName Language="C#">[System.Serializable]</AttributeName>
<AttributeName Language="F#">[<System.Serializable>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Represents a displacement in 2-D space.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
A <xref:System.Windows.Point> represents a fixed position, but a <xref:System.Windows.Vector> represents a direction and a magnitude (for example, velocity or acceleration). Thus, the endpoints of a line segment are points but their difference is a vector; that is, the direction and length of that line segment.
In XAML, the delimiter between the <xref:System.Windows.Vector.X%2A> and <xref:System.Windows.Vector.Y%2A> values of a <xref:System.Windows.Vector> can be either a comma or a space.
Some cultures might use the comma character as the decimal delimiter instead of the period character. XAML processing for invariant culture defaults to en-US in most XAML processor implementations, and expects the period to be the decimal delimiter. You should avoid using the comma character as the decimal delimiter if specifying a <xref:System.Windows.Vector> in XAML, because that will clash with the string type conversion of a <xref:System.Windows.Vector> attribute value into the <xref:System.Windows.Vector.X%2A> and <xref:System.Windows.Vector.Y%2A> components.
<a name="xamlAttributeUsage_Vector"></a>
## XAML Attribute Usage
```
<object property="x,y"/>
-or-
<object property="x y"/>
```
<a name="xamlValues_Vector"></a>
## XAML Values
*x*
The vector's X component. For more information, see the <xref:System.Windows.Vector.X%2A> property.
*y*
The vector's Y component. For more information, see the <xref:System.Windows.Vector.Y%2A> property.
## Examples
The following example shows how to add two <xref:System.Windows.Vector> structures.
:::code language="csharp" source="~/snippets/csharp/System.Windows/Vector/Overview/Window1.xaml.cs" id="Snippet10":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/VectorSample/visualbasic/window1.xaml.vb" id="Snippet10":::
]]></format>
</remarks>
<altmember cref="Overload:System.Windows.Vector.Add" />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Vector (double x, double y);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(float64 x, float64 y) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Vector.#ctor(System.Double,System.Double)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (x As Double, y As Double)" />
<MemberSignature Language="F#" Value="new System.Windows.Vector : double * double -> System.Windows.Vector" Usage="new System.Windows.Vector (x, y)" />
<MemberSignature Language="C++ CLI" Value="public:
 Vector(double x, double y);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="x" Type="System.Double" />
<Parameter Name="y" Type="System.Double" />
</Parameters>
<Docs>
<param name="x">The <see cref="P:System.Windows.Vector.X" />-offset of the new <see cref="T:System.Windows.Vector" />.</param>
<param name="y">The <see cref="P:System.Windows.Vector.Y" />-offset of the new <see cref="T:System.Windows.Vector" />.</param>
<summary>Initializes a new instance of the <see cref="T:System.Windows.Vector" /> structure.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to create two vectors and add them together.
:::code language="csharp" source="~/snippets/csharp/System.Windows/Vector/.ctor/VectorExample.cs" id="Snippetaddtwovectorsexample_csharp":::
]]></format>
</remarks>
</Docs>
</Member>
<MemberGroup MemberName="Add">
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Adds a vector to a point or to another vector.</summary>
</Docs>
</MemberGroup>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public static System.Windows.Point Add (System.Windows.Vector vector, System.Windows.Point point);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype System.Windows.Point Add(valuetype System.Windows.Vector vector, valuetype System.Windows.Point point) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Vector.Add(System.Windows.Vector,System.Windows.Point)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Add (vector As Vector, point As Point) As Point" />
<MemberSignature Language="F#" Value="static member Add : System.Windows.Vector * System.Windows.Point -> System.Windows.Point" Usage="System.Windows.Vector.Add (vector, point)" />
<MemberSignature Language="C++ CLI" Value="public:
 static System::Windows::Point Add(System::Windows::Vector vector, System::Windows::Point point);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Point</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="vector" Type="System.Windows.Vector" />
<Parameter Name="point" Type="System.Windows.Point" />
</Parameters>
<Docs>
<param name="vector">The amount to translate the specified point.</param>
<param name="point">The point to translate.</param>
<summary>Translates the specified point by the specified vector and returns the resulting point.</summary>
<returns>The result of translating <paramref name="point" /> by <paramref name="vector" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to use this method to add a <xref:System.Windows.Point> structure to a <xref:System.Windows.Vector> structure.
:::code language="csharp" source="~/snippets/csharp/System.Windows/Vector/.ctor/VectorExample.cs" id="Snippetaddpointandvectorexample_csharp":::
]]></format>
</remarks>
<altmember cref="Overload:System.Windows.Vector.Add" />
</Docs>
</Member>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public static System.Windows.Vector Add (System.Windows.Vector vector1, System.Windows.Vector vector2);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype System.Windows.Vector Add(valuetype System.Windows.Vector vector1, valuetype System.Windows.Vector vector2) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Vector.Add(System.Windows.Vector,System.Windows.Vector)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Add (vector1 As Vector, vector2 As Vector) As Vector" />
<MemberSignature Language="F#" Value="static member Add : System.Windows.Vector * System.Windows.Vector -> System.Windows.Vector" Usage="System.Windows.Vector.Add (vector1, vector2)" />
<MemberSignature Language="C++ CLI" Value="public:
 static System::Windows::Vector Add(System::Windows::Vector vector1, System::Windows::Vector vector2);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Vector</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="vector1" Type="System.Windows.Vector" />
<Parameter Name="vector2" Type="System.Windows.Vector" />
</Parameters>
<Docs>
<param name="vector1">The first vector to add.</param>
<param name="vector2">The second vector to add.</param>
<summary>Adds two vectors and returns the result as a <see cref="T:System.Windows.Vector" /> structure.</summary>
<returns>The sum of <paramref name="vector1" /> and <paramref name="vector2" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to use this method to add two <xref:System.Windows.Vector> structures.
:::code language="csharp" source="~/snippets/csharp/System.Windows/Vector/.ctor/VectorExample.cs" id="Snippetaddtwovectorsexample_csharp":::
]]></format>
</remarks>
<altmember cref="Overload:System.Windows.Vector.Add" />
</Docs>
</Member>
<Member MemberName="AngleBetween">
<MemberSignature Language="C#" Value="public static double AngleBetween (System.Windows.Vector vector1, System.Windows.Vector vector2);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig float64 AngleBetween(valuetype System.Windows.Vector vector1, valuetype System.Windows.Vector vector2) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Vector.AngleBetween(System.Windows.Vector,System.Windows.Vector)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function AngleBetween (vector1 As Vector, vector2 As Vector) As Double" />
<MemberSignature Language="F#" Value="static member AngleBetween : System.Windows.Vector * System.Windows.Vector -> double" Usage="System.Windows.Vector.AngleBetween (vector1, vector2)" />
<MemberSignature Language="C++ CLI" Value="public:
 static double AngleBetween(System::Windows::Vector vector1, System::Windows::Vector vector2);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="vector1" Type="System.Windows.Vector" />
<Parameter Name="vector2" Type="System.Windows.Vector" />
</Parameters>
<Docs>
<param name="vector1">The first vector to evaluate.</param>
<param name="vector2">The second vector to evaluate.</param>
<summary>Retrieves the angle, expressed in degrees, between the two specified vectors.</summary>
<returns>The angle, in degrees, between <paramref name="vector1" /> and <paramref name="vector2" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to use this method to get the angle between two <xref:System.Windows.Vector> structures.
:::code language="csharp" source="~/snippets/csharp/System.Windows/Vector/.ctor/VectorExample.cs" id="Snippetanglebetweenexample_csharp":::
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="CrossProduct">
<MemberSignature Language="C#" Value="public static double CrossProduct (System.Windows.Vector vector1, System.Windows.Vector vector2);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig float64 CrossProduct(valuetype System.Windows.Vector vector1, valuetype System.Windows.Vector vector2) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Vector.CrossProduct(System.Windows.Vector,System.Windows.Vector)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function CrossProduct (vector1 As Vector, vector2 As Vector) As Double" />
<MemberSignature Language="F#" Value="static member CrossProduct : System.Windows.Vector * System.Windows.Vector -> double" Usage="System.Windows.Vector.CrossProduct (vector1, vector2)" />
<MemberSignature Language="C++ CLI" Value="public:
 static double CrossProduct(System::Windows::Vector vector1, System::Windows::Vector vector2);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="vector1" Type="System.Windows.Vector" />
<Parameter Name="vector2" Type="System.Windows.Vector" />
</Parameters>
<Docs>
<param name="vector1">The first vector to evaluate.</param>
<param name="vector2">The second vector to evaluate.</param>
<summary>Calculates the cross product of two vectors.</summary>
<returns>The cross product of <paramref name="vector1" /> and <paramref name="vector2" />. The following formula is used to calculate the cross product:
<c>(Vector1.X * Vector2.Y) - (Vector1.Y * Vector2.X)</c></returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to use this method to calculate the cross product of two <xref:System.Windows.Vector> structures.
:::code language="csharp" source="~/snippets/csharp/System.Windows/Vector/.ctor/VectorExample.cs" id="Snippetcrossproductexample_csharp":::
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Determinant">
<MemberSignature Language="C#" Value="public static double Determinant (System.Windows.Vector vector1, System.Windows.Vector vector2);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig float64 Determinant(valuetype System.Windows.Vector vector1, valuetype System.Windows.Vector vector2) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Vector.Determinant(System.Windows.Vector,System.Windows.Vector)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Determinant (vector1 As Vector, vector2 As Vector) As Double" />
<MemberSignature Language="F#" Value="static member Determinant : System.Windows.Vector * System.Windows.Vector -> double" Usage="System.Windows.Vector.Determinant (vector1, vector2)" />
<MemberSignature Language="C++ CLI" Value="public:
 static double Determinant(System::Windows::Vector vector1, System::Windows::Vector vector2);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="vector1" Type="System.Windows.Vector" />
<Parameter Name="vector2" Type="System.Windows.Vector" />
</Parameters>
<Docs>
<param name="vector1">The first vector to evaluate.</param>
<param name="vector2">The second vector to evaluate.</param>
<summary>Calculates the determinant of two vectors.</summary>
<returns>The determinant of <paramref name="vector1" /> and <paramref name="vector2" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to calculate the determinant of two <xref:System.Windows.Vector> structures.
:::code language="csharp" source="~/snippets/csharp/System.Windows/Vector/.ctor/VectorExample.cs" id="Snippetdeterminantexample_csharp":::
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Divide">
<MemberSignature Language="C#" Value="public static System.Windows.Vector Divide (System.Windows.Vector vector, double scalar);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype System.Windows.Vector Divide(valuetype System.Windows.Vector vector, float64 scalar) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Vector.Divide(System.Windows.Vector,System.Double)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Divide (vector As Vector, scalar As Double) As Vector" />
<MemberSignature Language="F#" Value="static member Divide : System.Windows.Vector * double -> System.Windows.Vector" Usage="System.Windows.Vector.Divide (vector, scalar)" />
<MemberSignature Language="C++ CLI" Value="public:
 static System::Windows::Vector Divide(System::Windows::Vector vector, double scalar);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Vector</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="vector" Type="System.Windows.Vector" />
<Parameter Name="scalar" Type="System.Double" />
</Parameters>
<Docs>
<param name="vector">The vector structure to divide.</param>
<param name="scalar">The amount by which <paramref name="vector" /> is divided.</param>
<summary>Divides the specified vector by the specified scalar and returns the result as a <see cref="T:System.Windows.Vector" />.</summary>
<returns>The result of dividing <paramref name="vector" /> by <paramref name="scalar" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to use this method to divide a <xref:System.Windows.Vector> by a scalar.
:::code language="csharp" source="~/snippets/csharp/System.Windows/Vector/.ctor/VectorExample.cs" id="Snippetdivideexample_csharp":::
]]></format>
</remarks>
<altmember cref="M:System.Windows.Vector.op_Division(System.Windows.Vector,System.Double)" />
</Docs>
</Member>
<MemberGroup MemberName="Equals">
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Compares two vectors for equality.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
A vector's <xref:System.Windows.Vector.X%2A> and <xref:System.Windows.Vector.Y%2A> properties are described using <xref:System.Double> values. Because the value of a <xref:System.Double> can lose precision when arithmetic operations are performed on it, a comparison between two <xref:System.Double> structures that are logically equal might fail.
]]></format>
</remarks>
</Docs>
</MemberGroup>
<Member MemberName="Equals">
<MemberSignature Language="C#" Value="public override bool Equals (object o);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Equals(object o) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Vector.Equals(System.Object)" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function Equals (o As Object) As Boolean" />
<MemberSignature Language="F#" Value="override this.Equals : obj -> bool" Usage="vector.Equals o" />
<MemberSignature Language="C++ CLI" Value="public:
 override bool Equals(System::Object ^ o);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="o" Type="System.Object" />
</Parameters>
<Docs>
<param name="o">The vector to compare.</param>
<summary>Determines whether the specified <see cref="T:System.Object" /> is a <see cref="T:System.Windows.Vector" /> structure and, if it is, whether it has the same <see cref="P:System.Windows.Vector.X" /> and <see cref="P:System.Windows.Vector.Y" /> values as this vector.</summary>
<returns>
<see langword="true" /> if <paramref name="o" /> is a <see cref="T:System.Windows.Vector" /> and has the same <see cref="P:System.Windows.Vector.X" /> and <see cref="P:System.Windows.Vector.Y" /> values as this vector; otherwise, <see langword="false" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
A vector's <xref:System.Windows.Vector.X%2A> and <xref:System.Windows.Vector.Y%2A> properties are described using <xref:System.Double> values. Because the value of a <xref:System.Double> can lose precision when arithmetic operations are performed on it, a comparison between two <xref:System.Windows.Vector> structures that are logically equal might fail.
## Examples
The following example shows how to use this method to check whether a <xref:System.Windows.Vector> and an <xref:System.Object> are equal.
:::code language="csharp" source="~/snippets/csharp/System.Windows/Vector/.ctor/VectorExample.cs" id="Snippetequalsexample2_csharp":::
]]></format>
</remarks>
<altmember cref="M:System.Windows.Vector.op_Equality(System.Windows.Vector,System.Windows.Vector)" />
</Docs>
</Member>
<Member MemberName="Equals">
<MemberSignature Language="C#" Value="public bool Equals (System.Windows.Vector value);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool Equals(valuetype System.Windows.Vector value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Vector.Equals(System.Windows.Vector)" />
<MemberSignature Language="VB.NET" Value="Public Function Equals (value As Vector) As Boolean" />
<MemberSignature Language="F#" Value="override this.Equals : System.Windows.Vector -> bool" Usage="vector.Equals value" />
<MemberSignature Language="C++ CLI" Value="public:
 bool Equals(System::Windows::Vector value);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="value" Type="System.Windows.Vector" />
</Parameters>
<Docs>
<param name="value">The vector to compare with this vector.</param>
<summary>Compares two vectors for equality.</summary>
<returns>
<see langword="true" /> if <paramref name="value" /> has the same <see cref="P:System.Windows.Vector.X" /> and <see cref="P:System.Windows.Vector.Y" /> values as this vector; otherwise, <see langword="false" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
A vector's <xref:System.Windows.Vector.X%2A> and <xref:System.Windows.Vector.Y%2A> properties are described using <xref:System.Double> values. Because the value of a <xref:System.Double> can lose precision when arithmetic operations are performed on it, a comparison between two <xref:System.Windows.Vector> structures that are logically equal might fail.
## Examples
The following example shows how to use this method to check whether two <xref:System.Windows.Vector> structures are equal.
:::code language="csharp" source="~/snippets/csharp/System.Windows/Vector/.ctor/VectorExample.cs" id="Snippetequalsexample2_csharp":::
]]></format>
</remarks>
<altmember cref="M:System.Windows.Vector.op_Equality(System.Windows.Vector,System.Windows.Vector)" />
</Docs>
</Member>
<Member MemberName="Equals">
<MemberSignature Language="C#" Value="public static bool Equals (System.Windows.Vector vector1, System.Windows.Vector vector2);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool Equals(valuetype System.Windows.Vector vector1, valuetype System.Windows.Vector vector2) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Vector.Equals(System.Windows.Vector,System.Windows.Vector)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Equals (vector1 As Vector, vector2 As Vector) As Boolean" />
<MemberSignature Language="F#" Value="static member Equals : System.Windows.Vector * System.Windows.Vector -> bool" Usage="System.Windows.Vector.Equals (vector1, vector2)" />
<MemberSignature Language="C++ CLI" Value="public:
 static bool Equals(System::Windows::Vector vector1, System::Windows::Vector vector2);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="vector1" Type="System.Windows.Vector" />
<Parameter Name="vector2" Type="System.Windows.Vector" />
</Parameters>
<Docs>
<param name="vector1">The first vector to compare.</param>
<param name="vector2">The second vector to compare.</param>
<summary>Compares the two specified vectors for equality.</summary>
<returns>
<see langword="true" /> if the <see cref="P:System.Windows.Vector.X" /> and <see cref="P:System.Windows.Vector.Y" /> components of <paramref name="vector1" /> and <paramref name="vector2" /> are equal; otherwise, <see langword="false" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
A vector's <xref:System.Windows.Vector.X%2A> and <xref:System.Windows.Vector.Y%2A> properties are described using <xref:System.Double> values. Because the value of a <xref:System.Double> can lose precision when arithmetic operations are performed on it, a comparison between two <xref:System.Double> structures that are logically equal might fail.
## Examples
The following example shows how to use this method to check whether two <xref:System.Windows.Vector> structures are equal.
:::code language="csharp" source="~/snippets/csharp/System.Windows/Vector/.ctor/VectorExample.cs" id="Snippetequalsexample1_csharp":::
]]></format>
</remarks>
<altmember cref="M:System.Windows.Vector.op_Equality(System.Windows.Vector,System.Windows.Vector)" />
</Docs>
</Member>
<Member MemberName="GetHashCode">
<MemberSignature Language="C#" Value="public override int GetHashCode ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetHashCode() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Vector.GetHashCode" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function GetHashCode () As Integer" />
<MemberSignature Language="F#" Value="override this.GetHashCode : unit -> int" Usage="vector.GetHashCode " />
<MemberSignature Language="C++ CLI" Value="public:
 override int GetHashCode();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns the hash code for this vector.</summary>
<returns>The hash code for this instance.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to get the hash code of a <xref:System.Windows.Vector>.
:::code language="csharp" source="~/snippets/csharp/System.Windows/Vector/.ctor/VectorExample.cs" id="Snippetgethashcodeexample_csharp":::
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Length">
<MemberSignature Language="C#" Value="public double Length { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance float64 Length" />
<MemberSignature Language="DocId" Value="P:System.Windows.Vector.Length" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Length As Double" />
<MemberSignature Language="F#" Value="member this.Length : double" Usage="System.Windows.Vector.Length" />
<MemberSignature Language="C++ CLI" Value="public:
 property double Length { double get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the length of this vector.</summary>
<value>The length of this vector.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The length of a vector is sometimes referred to as the magnitude.
## Examples
The following example shows how use this property to get the length of a vector.
:::code language="csharp" source="~/snippets/csharp/System.Windows/Vector/.ctor/VectorExample.cs" id="Snippetlengthexample":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/VectorExamples_snip/visualbasic/vectorexample.vb" id="Snippetlengthexample":::
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="LengthSquared">
<MemberSignature Language="C#" Value="public double LengthSquared { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance float64 LengthSquared" />
<MemberSignature Language="DocId" Value="P:System.Windows.Vector.LengthSquared" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property LengthSquared As Double" />
<MemberSignature Language="F#" Value="member this.LengthSquared : double" Usage="System.Windows.Vector.LengthSquared" />
<MemberSignature Language="C++ CLI" Value="public:
 property double LengthSquared { double get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the square of the length of this vector.</summary>
<value>The square of the <see cref="P:System.Windows.Vector.Length" /> of this vector.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The length of a vector is sometimes referred to as its magnitude.
## Examples
The following example shows how to use this property to get the square of the length of a vector.
:::code language="csharp" source="~/snippets/csharp/System.Windows/Vector/.ctor/VectorExample.cs" id="Snippetlengthsquaredexample":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/VectorExamples_snip/visualbasic/vectorexample.vb" id="Snippetlengthsquaredexample":::
]]></format>
</remarks>
</Docs>
</Member>
<MemberGroup MemberName="Multiply">
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Multiplies the specified vector by the specified <see cref="T:System.Double" />, <see cref="T:System.Windows.Media.Matrix" />, or <see cref="T:System.Windows.Vector" /> and returns the result as a <see cref="T:System.Windows.Vector" /> or <see cref="T:System.Double" />.</summary>
</Docs>
</MemberGroup>
<Member MemberName="Multiply">
<MemberSignature Language="C#" Value="public static System.Windows.Vector Multiply (double scalar, System.Windows.Vector vector);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype System.Windows.Vector Multiply(float64 scalar, valuetype System.Windows.Vector vector) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Vector.Multiply(System.Double,System.Windows.Vector)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Multiply (scalar As Double, vector As Vector) As Vector" />
<MemberSignature Language="F#" Value="static member Multiply : double * System.Windows.Vector -> System.Windows.Vector" Usage="System.Windows.Vector.Multiply (scalar, vector)" />
<MemberSignature Language="C++ CLI" Value="public:
 static System::Windows::Vector Multiply(double scalar, System::Windows::Vector vector);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Vector</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="scalar" Type="System.Double" />
<Parameter Name="vector" Type="System.Windows.Vector" />
</Parameters>
<Docs>
<param name="scalar">The scalar to multiply.</param>
<param name="vector">The vector to multiply.</param>
<summary>Multiplies the specified scalar by the specified vector and returns the resulting <see cref="T:System.Windows.Vector" />.</summary>
<returns>The result of multiplying <paramref name="scalar" /> and <paramref name="vector" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to use this method to multiply a scalar by a <xref:System.Windows.Vector>.
:::code language="csharp" source="~/snippets/csharp/System.Windows/Vector/.ctor/VectorExample.cs" id="Snippetmultiplyvectorbyscalarexample2_csharp":::
]]></format>
</remarks>
<altmember cref="M:System.Windows.Vector.op_Multiply(System.Double,System.Windows.Vector)" />
</Docs>
</Member>
<Member MemberName="Multiply">
<MemberSignature Language="C#" Value="public static System.Windows.Vector Multiply (System.Windows.Vector vector, double scalar);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype System.Windows.Vector Multiply(valuetype System.Windows.Vector vector, float64 scalar) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Vector.Multiply(System.Windows.Vector,System.Double)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Multiply (vector As Vector, scalar As Double) As Vector" />
<MemberSignature Language="F#" Value="static member Multiply : System.Windows.Vector * double -> System.Windows.Vector" Usage="System.Windows.Vector.Multiply (vector, scalar)" />
<MemberSignature Language="C++ CLI" Value="public:
 static System::Windows::Vector Multiply(System::Windows::Vector vector, double scalar);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Vector</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="vector" Type="System.Windows.Vector" />
<Parameter Name="scalar" Type="System.Double" />
</Parameters>
<Docs>
<param name="vector">The vector to multiply.</param>
<param name="scalar">The scalar to multiply.</param>
<summary>Multiplies the specified vector by the specified scalar and returns the resulting <see cref="T:System.Windows.Vector" />.</summary>
<returns>The result of multiplying <paramref name="vector" /> and <paramref name="scalar" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to use this method to multiply a <xref:System.Windows.Vector> by a scalar.
:::code language="csharp" source="~/snippets/csharp/System.Windows/Vector/.ctor/VectorExample.cs" id="Snippetmultiplyvectorbyscalarexample1_csharp":::
]]></format>
</remarks>
<altmember cref="M:System.Windows.Vector.op_Multiply(System.Double,System.Windows.Vector)" />
</Docs>
</Member>
<Member MemberName="Multiply">
<MemberSignature Language="C#" Value="public static System.Windows.Vector Multiply (System.Windows.Vector vector, System.Windows.Media.Matrix matrix);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype System.Windows.Vector Multiply(valuetype System.Windows.Vector vector, valuetype System.Windows.Media.Matrix matrix) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Vector.Multiply(System.Windows.Vector,System.Windows.Media.Matrix)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Multiply (vector As Vector, matrix As Matrix) As Vector" />
<MemberSignature Language="F#" Value="static member Multiply : System.Windows.Vector * System.Windows.Media.Matrix -> System.Windows.Vector" Usage="System.Windows.Vector.Multiply (vector, matrix)" />
<MemberSignature Language="C++ CLI" Value="public:
 static System::Windows::Vector Multiply(System::Windows::Vector vector, System::Windows::Media::Matrix matrix);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Vector</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="vector" Type="System.Windows.Vector" />
<Parameter Name="matrix" Type="System.Windows.Media.Matrix" />
</Parameters>
<Docs>
<param name="vector">The vector structure to transform.</param>
<param name="matrix">The transformation to apply to <paramref name="vector" />.</param>
<summary>Transforms the coordinate space of the specified vector using the specified <see cref="T:System.Windows.Media.Matrix" />.</summary>
<returns>The result of transforming <paramref name="vector" /> by <paramref name="matrix" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to use this method to multiply a <xref:System.Windows.Vector> by a <xref:System.Windows.Media.Matrix>.
:::code language="csharp" source="~/snippets/csharp/System.Windows/Vector/.ctor/VectorExample.cs" id="Snippetmultiplyvectorbymatrixexample_csharp":::
]]></format>
</remarks>
<altmember cref="M:System.Windows.Vector.op_Multiply(System.Double,System.Windows.Vector)" />
</Docs>
</Member>
<Member MemberName="Multiply">
<MemberSignature Language="C#" Value="public static double Multiply (System.Windows.Vector vector1, System.Windows.Vector vector2);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig float64 Multiply(valuetype System.Windows.Vector vector1, valuetype System.Windows.Vector vector2) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Vector.Multiply(System.Windows.Vector,System.Windows.Vector)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Multiply (vector1 As Vector, vector2 As Vector) As Double" />
<MemberSignature Language="F#" Value="static member Multiply : System.Windows.Vector * System.Windows.Vector -> double" Usage="System.Windows.Vector.Multiply (vector1, vector2)" />
<MemberSignature Language="C++ CLI" Value="public:
 static double Multiply(System::Windows::Vector vector1, System::Windows::Vector vector2);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="vector1" Type="System.Windows.Vector" />
<Parameter Name="vector2" Type="System.Windows.Vector" />
</Parameters>
<Docs>
<param name="vector1">The first vector to multiply.</param>
<param name="vector2">The second vector structure to multiply.</param>
<summary>Calculates the dot product of the two specified vectors and returns the result as a <see cref="T:System.Double" />.</summary>
<returns>A <see cref="T:System.Double" /> containing the scalar dot product of <paramref name="vector1" /> and <paramref name="vector2" />, which is calculated using the following formula:
<c>(vector1.X * vector2.X) + (vector1.Y * vector2.Y)</c></returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to use this method to multiply a <xref:System.Windows.Vector> by a <xref:System.Windows.Vector>.
:::code language="csharp" source="~/snippets/csharp/System.Windows/Vector/.ctor/VectorExample.cs" id="Snippetgetdotproductexample_csharp":::
]]></format>
</remarks>
<altmember cref="M:System.Windows.Vector.op_Multiply(System.Double,System.Windows.Vector)" />
</Docs>
</Member>
<Member MemberName="Negate">
<MemberSignature Language="C#" Value="public void Negate ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Negate() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Vector.Negate" />
<MemberSignature Language="VB.NET" Value="Public Sub Negate ()" />
<MemberSignature Language="F#" Value="member this.Negate : unit -> unit" Usage="vector.Negate " />
<MemberSignature Language="C++ CLI" Value="public:
 void Negate();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Negates this vector. The vector has the same magnitude as before, but its direction is now opposite.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to use this method to negate a vector.
:::code language="csharp" source="~/snippets/csharp/System.Windows/Vector/.ctor/VectorExample.cs" id="Snippetnegateexample_csharp":::
]]></format>
</remarks>
<altmember cref="M:System.Windows.Vector.op_UnaryNegation(System.Windows.Vector)" />
</Docs>
</Member>
<Member MemberName="Normalize">
<MemberSignature Language="C#" Value="public void Normalize ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Normalize() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Vector.Normalize" />
<MemberSignature Language="VB.NET" Value="Public Sub Normalize ()" />
<MemberSignature Language="F#" Value="member this.Normalize : unit -> unit" Usage="vector.Normalize " />
<MemberSignature Language="C++ CLI" Value="public:
 void Normalize();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Normalizes this vector.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
A normalized vector maintains its direction but its <xref:System.Windows.Vector.Length%2A> becomes 1. The resulting vector is often called a unit vector. A vector is normalized by dividing the vector by its own <xref:System.Windows.Vector.Length%2A>.
## Examples
The following example shows how to use this method to normalize a vector.
:::code language="csharp" source="~/snippets/csharp/System.Windows/Vector/.ctor/VectorExample.cs" id="Snippetnormalizeexample_csharp":::
]]></format>
</remarks>
</Docs>
</Member>
<MemberGroup MemberName="op_Addition">
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Adds a vector to a point or to another vector.</summary>
</Docs>
</MemberGroup>
<Member MemberName="op_Addition">
<MemberSignature Language="C#" Value="public static System.Windows.Point operator + (System.Windows.Vector vector, System.Windows.Point point);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname valuetype System.Windows.Point op_Addition(valuetype System.Windows.Vector vector, valuetype System.Windows.Point point) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Vector.op_Addition(System.Windows.Vector,System.Windows.Point)" />
<MemberSignature Language="VB.NET" Value="Public Shared Operator + (vector As Vector, point As Point) As Point" />
<MemberSignature Language="F#" Value="static member ( + ) : System.Windows.Vector * System.Windows.Point -> System.Windows.Point" Usage="vector + point" />
<MemberSignature Language="C++ CLI" Value="public:
 static System::Windows::Point operator +(System::Windows::Vector vector, System::Windows::Point point);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Point</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="vector" Type="System.Windows.Vector" />
<Parameter Name="point" Type="System.Windows.Point" />
</Parameters>
<Docs>
<param name="vector">The vector used to translate <paramref name="point" />.</param>
<param name="point">The point to translate.</param>
<summary>Translates a point by the specified vector and returns the resulting point.</summary>
<returns>The result of translating <paramref name="point" /> by <paramref name="vector" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to use this operator (+) to translate a <xref:System.Windows.Point> structure to a <xref:System.Windows.Vector> structure.
:::code language="csharp" source="~/snippets/csharp/System.Windows/Vector/.ctor/VectorExample.cs" id="Snippetoverloadedadditionoperatorexample2":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Wpf/VectorExamples_snip/visualbasic/vectorexample.vb" id="Snippetoverloadedadditionoperatorexample2":::
]]></format>
</remarks>
<altmember cref="Overload:System.Windows.Vector.Add" />
</Docs>
</Member>
<Member MemberName="op_Addition">
<MemberSignature Language="C#" Value="public static System.Windows.Vector operator + (System.Windows.Vector vector1, System.Windows.Vector vector2);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname valuetype System.Windows.Vector op_Addition(valuetype System.Windows.Vector vector1, valuetype System.Windows.Vector vector2) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Vector.op_Addition(System.Windows.Vector,System.Windows.Vector)" />
<MemberSignature Language="VB.NET" Value="Public Shared Operator + (vector1 As Vector, vector2 As Vector) As Vector" />
<MemberSignature Language="F#" Value="static member ( + ) : System.Windows.Vector * System.Windows.Vector -> System.Windows.Vector" Usage="vector1 + vector2" />
<MemberSignature Language="C++ CLI" Value="public:
 static System::Windows::Vector operator +(System::Windows::Vector vector1, System::Windows::Vector vector2);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>