Back to Aurora Vision Library website

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

ClosePath


Header: AVL.h
Namespace: avl
Module: FoundationLite

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

Syntax

C++
C#
 
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.