Search
Vector Members
Constructors Properties Methods
 


Represents a two-dimensional vector.

The following tables list the members exposed by the Vector type.

 Public Constructors

  Name Description

Vector

Overloaded.  

 Public Properties

  Name Description

Length

Returns the vector length.

LengthSquared

Returns the squared length.

X

X coordinate of the vector.

Y

Y coordinate of the vector.

 Public Methods

  Name Description

Add

Overloaded.  

AngleBetween

Returns the angle between two vectors.

Divide

Divides a vector by a scalar value.

Equals

Overloaded.  

GetHashCode

Object.GetHashCode override.

Left

Returns the left vector.

Multiply

Overloaded.  

Negate

Reverses this vector's direction.

Right

Returns the right vector.

Subtract

Subtracts two vectors.

ToString

Overloaded.  

 See Also