Back to Aurora Vision Library Lite website

You are here: Start » Path » Path Basics » ClosePath

ClosePath


Header: AVL.h
Namespace: avl

Adds the segment connecting the last point with the first one in a path.

Syntax

void avl::ClosePath
(
	avl::Path& ioPath
)

Parameters

Name Type Default Description
Input will be modified ioPath Path&

Description

The operation extends an open path by adding a segment between its first point and the last one, therefore producing a closed path.

If a closed path is passed, the filter passes it onto output without any interference.

Examples

ClosePath run on a sample path.

See Also

  • OpenPath – Removes the segment connecting the last point with the first one in a path.