Represents a two-dimensional vector.
The following tables list the members exposed by the Vector type.
Name | Description | |
---|---|---|
![]() |
Initializes a new instance of the Vector structure. |
Name | Description | |
---|---|---|
![]() |
Gets the length of this vector. |
|
![]() |
Gets the squared length of this vector. |
|
![]() |
Gets or sets the X component of this vector. |
|
![]() |
Gets or sets the Y component of this vector. |
Name | Description | |
---|---|---|
![]() ![]() |
Adds two vectors. |
|
![]() ![]() |
Translates point by a vector. |
|
![]() ![]() |
Determines the angle between two vectors. |
|
![]() ![]() |
Returns the size of cross-product of two vectors. |
|
![]() ![]() |
Finds the determinant of two vectors. |
|
![]() ![]() |
Divides a vector by a scalar. |
|
![]() ![]() |
Returns the dot product of two vectors. |
|
![]() ![]() |
Multiplies vector by a scalar. |
|
![]() ![]() |
Multiplies vector by a scalar. |
|
![]() |
Reverses the direction of this vector. |
|
![]() |
Makes this vector a unit vector. |
|
![]() ![]() |
Subtracts two vectors. |