The Vector2D type exposes the following members.

Constructors

  NameDescription
Vector2DOverloaded.

Methods

  NameDescription
AddOverloaded.
AngleOverloaded.
CrossProduct
Sets a new as cross product of vectors v1, which in 2D space meens we set the perpendicular one to v1.
DeterminantOverloaded.
DistanceOverloaded.
DotProductOverloaded.
EqualsOverloaded.
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Overrides GetHashCode method
(Overrides ValueType..::.GetHashCode()()().)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
IsEmpty
Check if this vector is empty (coordinates values = 0)
IsPerpendicularOverloaded.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Negate
Negates the value of this vector: this = -this
NormalizeOverloaded.
ScaleOverloaded.
SubOverloaded.
ToString
Convert object as string
(Overrides ValueType..::.ToString()()().)

Operators

  NameDescription
Equality
== Operator
Inequality
!= Operator
UnaryNegation
- Operator
UnaryPlus
+ Operator

Fields

  NameDescription
Empty
Emtpy struct constructor helper

Properties

  NameDescription
Length
Vector Length (=Norm or =Magnitude)
X
Property for the x component of the Vector3D
Y
Property for the y component of the Vector3D

See Also