You are here: Start » AVL.NET » AVL.GetPathSegment(AvlNet.Path, int, AvlNet.Segment2D)
AVL.GetPathSegment(AvlNet.Path, int, AvlNet.Segment2D)
Returns the selected segment of a path.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void GetPathSegment( AvlNet.Path inPath, int inIndex, out AvlNet.Segment2D outSegment )
Parameters
- inPath
- Type: AvlNet.Path
Input path - inIndex
- Type: System.Int32
- outSegment
- Type: AvlNet.Segment2D
Errors
| Error type | Description |
|---|---|
| DomainError | Empty path in GetPathSegment. |
| DomainError | Incorrect segment index in GetPathSegment. |
