Back to Aurora Vision Library website
You are here: Start » Function Reference » Path » Path Basics » InsertToPath
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationLite |
Inserts a new point to a path at a specified location.
Syntax
C++
C#
void avl::InsertToPath ( avl::Path& ioPath, const avl::Point2D& inPoint, int inIndex, bool inInverse )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
ioPath | Path& | |||
![]() |
inPoint | const Point2D& | Input point to be inserted. | ||
![]() |
inIndex | int | 0 - ![]() |
Input index within the ioPath at which the inValue will be placed. | |
![]() |
inInverse | bool | False | Determines if the indices are counted from beginning or from end of the input path. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Index out of range in InsertToPath. |