You are here: Start » AVL.NET » AVL.AppendPointToPath Method

AVL.AppendPointToPath Method

Appends a point to a path.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void AppendPointToPath(
	ref AvlNet.Path ioPath,
	AvlNet.Point2D inPoint
)

Parameters

Name Type Range Default Description
ioPathAvlNet.Path
inPointAvlNet.Point2DInput point.

Description

The operation extends an open path by adding a single point at its end (the point becomes new end point of a path).

When a closed path is passed to the filter, an error with appropriate description occurs.

Examples

AppendPointToPath run on sample path and point.

Errors

Error type Description
DomainError Closed path on input in AppendPointToPath

See also