Click or drag to resize
DigitalRuneVector2D Operators and Type Conversions

The Vector2D type exposes the following members.

Operators
  NameDescription
Public operatorStatic memberAddition
Adds two vectors.
Public operatorStatic memberDivision(Vector2D, Vector2D)
Divides the components of a vector by the components of another vector.
Public operatorStatic memberDivision(Vector2D, Double)
Divides a vector by a scalar.
Public operatorStatic memberEquality
Tests if two vectors are equal.
Public operatorStatic member(Vector2 to Vector2D)
Performs an conversion from Vector2 (XNA Framework) to Vector2D (DigitalRune Mathematics).
Public operatorStatic member(Vector2D to Double)
Converts a vector to an array of 2 double values.
Public operatorStatic member(Vector2D to ListDouble)
Converts a vector to a list of 2 double values.
Public operatorStatic member(Vector2D to Vector2F)
Performs an explicit conversion from Vector2D to Vector2F.
Public operatorStatic member(Vector2D to Vector2)
Performs an conversion from Vector2D (DigitalRune Mathematics) to Vector2 (XNA Framework).
Public operatorStatic memberGreaterThan
Tests if each component of a vector is greater than the corresponding component of another vector.
Public operatorStatic memberGreaterThanOrEqual
Tests if each component of a vector is greater or equal than the corresponding component of another vector.
Public operatorStatic member(Vector2D to VectorD)
Performs an implicit conversion from Vector2D to VectorD.
Public operatorStatic memberInequality
Tests if two vectors are not equal.
Public operatorStatic memberLessThan
Tests if each component of a vector is less than the corresponding component of another vector.
Public operatorStatic memberLessThanOrEqual
Tests if each component of a vector is less or equal than the corresponding component of another vector.
Public operatorStatic memberMultiply(Double, Vector2D)
Multiplies a vector by a scalar.
Public operatorStatic memberMultiply(Vector2D, Vector2D)
Multiplies the components of two vectors by each other.
Public operatorStatic memberMultiply(Vector2D, Double)
Multiplies a vector by a scalar.
Public operatorStatic memberSubtraction
Subtracts a vector from a vector.
Public operatorStatic memberUnaryNegation
Negates a vector.
Top
See Also