Name | Description | |
---|---|---|
NVector2DF Constructor | Overloaded. |
The following tables list the members exposed by NVector2DF.
Name | Description | |
---|---|---|
NVector2DF Constructor | Overloaded. |
Name | Description | |
---|---|---|
Empty | The empty (zero) vector | |
UnitX | The X unit vector | |
UnitY | The Y unit vector | |
X | X coordinate | |
Y | Y coordinate |
Name | Description | |
---|---|---|
IsEmpty | Determines whether this is the empty (zero) vector (e.g. x == 0 and y == 0) | |
IsNormalized | Determines whether the vector is the unit vector (e.g. Length == 1) | |
Length | Gets the vector lenght | |
LengthSquare | Gets the vector lenght square (length * length) | |
NormalUnitVector | Gets the unit vector (with length == 1), which is perpendicular to this vector | |
NormalVector | Gets a vector, which is perpendicular to this vector |
Name | Description | |
---|---|---|
Divide | Performs a scalar division of a vector | |
DotProduct | Computes the dot product of this vector with another vector | |
Equals | ||
GetHashCode | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. | |
Inverse | Inverses this vector (e.g. makes this vector with oposite direction) | |
Multiply | Performs a scalar multiplication of this vector with the specified scalar and returns the resulting vector | |
Normalize | Makes this vector the unit vector (e.g. its length becomes 1) | |
PerpDotProduct | Computes the perpendicular dot product of this vector with another vector | |
ToNPoint | Converts this vector to NPoint | |
ToNPointF | Converts this vector to NPointF | |
ToString | Returns a System.String that represents the current System.Object. |
Addition | Adds b coordinates to a coordinates and returns the resulting vector (binary +) |
Equality | Determines whether a is equal to b |
Inequality | Determines whether a is not equal to b |
Subtraction | Subtracts b coordinates from a coordinates and returns the resulting vector (binary -) |