Back to Adaptive Vision Library website

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

OpenPath


Header: AVL.h
Namespace: avl
Module: FoundationLite

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

Syntax

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

Parameters

Name Type Default Description
ioPath Path&

Description

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

If an open path is passed, the filter passes it onto output without any interference.

Examples

OpenPath run on a sample path.

See Also

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