The Vector2D type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Vector2D()()()() | Initializes a new instance of the Vector2D class | |
| Vector2D(Point2D) |
Create a vector from the origin of the coordinate system to the given point
| |
| Vector2D(Vector2D) | Initializes a new instance of the Vector2D class | |
| Vector2D(Double, Double) |
Create a vector from the origin of the coordinate system to the given point
| |
| Vector2D(Point2D, Point2D) |
Create a vector from one point to another
|
Methods
| Name | Description | |
|---|---|---|
| Dot | ||
| Equals(Object) | (Overrides Object..::..Equals(Object).) | |
| Equals(Vector2D) | ||
| 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 Object..::..GetHashCode()()()().) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Mult | ||
| Norm | ||
| NormSqr |
Vector length (magnitude) squared
| |
| Set | ||
| ToString | (Inherited from Object.) |