You are here: Start » FIL.NET » Function Reference » Geometry 2D » Geometry 2D Basics » FIL.CreateVector
Produces a vector of given length and direction.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void CreateVector ( float inLength, float inDirection, out FilNet.Vector2D outVector )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inLength | float | Desired length of the vector in pixels. | ||
![]() | inDirection | float | Desired direction of the vector in degrees. | ||
![]() | outVector | FilNet.Vector2D | The resulting vector. |