The Vector2D type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Vector2D | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| Add | Overloaded. | |
| Angle | Overloaded. | |
| CrossProduct |
Sets a new as cross product of vectors v1, which in 2D space meens we
set the perpendicular one to v1.
| |
| Determinant | Overloaded. | |
| Distance | Overloaded. | |
| DotProduct | Overloaded. | |
| Equals | Overloaded. | |
| 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)
| |
| IsPerpendicular | Overloaded. | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Negate |
Negates the value of this vector: this = -this
| |
| Normalize | Overloaded. | |
| Scale | Overloaded. | |
| Sub | Overloaded. | |
| ToString |
Convert object as string
(Overrides ValueType..::.ToString()()().) |
Operators
| Name | Description | |
|---|---|---|
| Equality |
== Operator
| |
| Inequality |
!= Operator
| |
| UnaryNegation |
- Operator
| |
| UnaryPlus |
+ Operator
|
Fields
| Name | Description | |
|---|---|---|
| Empty |
Emtpy struct constructor helper
|
Properties
| Name | Description | |
|---|---|---|
| Length |
Vector Length (=Norm or =Magnitude)
| |
| X |
Property for the x component of the Vector3D
| |
| Y |
Property for the y component of the Vector3D
|