You are here: Start » AVL.NET » AVL.VectorDirection
Computes the direction angle of a vector as an angle in range the from 0 to 360.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inVector | AvlNet.Vector2D | ||||
outDirection | float |
Description
Note that because of inaccuracies of floating-point arithmetic, some geometric operations (including this one) may lead to unpredictable results for degenerated cases. In this filter such a case occurs when a zero vector is given on input.