You are here: Start » AVL.NET » AVL.AppendPointToPath(AvlNet.Path, AvlNet.Point2D)

AVL.AppendPointToPath(AvlNet.Path, AvlNet.Point2D)

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


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

Parameters

ioPath
Type: AvlNet.Path
inPoint
Type: AvlNet.Point2D

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