You are here: Start » AVL.NET » AVL.CreateSegment Method
AVL.CreateSegment Method
Produces a segment of given parameters.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void CreateSegment( AvlNet.Point2D inPoint, float inPointAnchor, float inDirection, float inLength, out AvlNet.Segment2D outSegment )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inPoint | AvlNet.Point2D | A point on the created segment. | ||
![]() | inPointAnchor | float | <0.0f, 1.0f> | Anchor point, 0 means the beginning, 1 means the end of the segment. | |
![]() | inDirection | float | Desired direction of the segment in degrees. | ||
![]() | inLength | float | Desired length of the segment in pixels. | ||
![]() | outSegment | AvlNet.Segment2D | The resulting segment. |


