Back to Adaptive Vision Library website

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

ClosePath


Adds the segment connecting last point to the first one to a path.

Header:AVL.h

Syntax

C++
C#
 
void avl::ClosePath
(
	avl::Path& ioPath
)

Parameters

Name Type Default Description
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 last point to the first one from a path.