Back to Aurora Vision Library website

You are here: Start » Function Reference » Path » Path Basics » AppendPointToPath

AppendPointToPath


Header: AVL.h
Namespace: avl
Module: FoundationLite

Appends a point to a path.

Syntax

C++
C#
 
void avl::AppendPointToPath
(
	avl::Path& ioPath,
	const avl::Point2D& inPoint
)

Parameters

Name Type Default Description
Input will be modified ioPath Path&
Input value inPoint const Point2D& Input 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

List of possible exceptions:

Error type Description
DomainError Closed path on input in AppendPointToPath.

See Also