Name | Description | |
---|---|---|

NVector2DF Constructor | Overloaded. |

Nevron .NET Vision

NVector2DF Structure Members

In This Topic

The following tables list the members exposed by NVector2DF.

Public Constructors

Name | Description | |
---|---|---|

NVector2DF Constructor | Overloaded. |

Public Fields

Name | Description | |
---|---|---|

Empty | The empty (zero) vector | |

UnitX | The X unit vector | |

UnitY | The Y unit vector | |

X | X coordinate | |

Y | Y coordinate |

Public Properties

Name | Description | |
---|---|---|

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 |

Public Methods

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 | |

SetXY | ||

ToNPointF | Converts this vector to NPointF | |

ToPointF | Converts this vector to PointF | |

ToString | Returns a System.String that represents the current System.Object. |

Public Operators

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 -) |

See Also