You are here: Start » AVL.NET » AVL.GetPathSegment Method
AVL.GetPathSegment Method
Returns the selected segment of a path.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void GetPathSegment( AvlNet.Path inPath, int inIndex, bool inInverse, out AvlNet.Segment2D outSegment )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inPath | AvlNet.Path | Input path. | ||
![]() | inIndex | int | <0, INF> | ||
![]() | inInverse | bool | Reversed order of segments. | ||
![]() | outSegment | AvlNet.Segment2D |
Errors
| Error type | Description |
|---|---|
| DomainError | Empty path in GetPathSegment. |
| DomainError | Incorrect segment index in GetPathSegment. |


