You are here: Start » AVL.NET » Function Reference » Path » Path Basics » AVL.InsertToPath

AVL.InsertToPath

Inserts a new point to a path at a specified location.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void InsertToPath
(
	AvlNet.Path ioPath,
	AvlNet.Point2D inPoint,
	int inIndex,
	bool inInverse
)

Parameters

Name Type Range Default Description
ioPathAvlNet.Path
inPointAvlNet.Point2DInput point to be inserted.
inIndexint<0, INF>Input index within the ioPath at which the inValue will be placed.
inInverseboolFalseDetermines if the indices are counted from beginning or from end of the input path. Default value: False.

Errors

List of possible exceptions:

Error type Description
DomainError Index out of range in InsertToPath.

See also