Back to Aurora Vision Library website

You are here: Start » Function Reference » Path » Path Combinators » ConcatenatePaths

ConcatenatePaths


Header: AVL.h
Namespace: avl
Module: FoundationLite

Joins up to four open paths.

Syntax

C++
C#
 
void avl::ConcatenatePaths
(
	const avl::Path& inPath1,
	const avl::Path& inPath2,
	const avl::Path& inPath3,
	const avl::Path& inPath4,
	bool inClose,
	avl::Path& outPath
)

Parameters

Name Type Default Description
Input value inPath1 const Path& Input path
Input value inPath2 const Path& Input path
Input value inPath3 const Path& Input path
Input value inPath4 const Path& Input path
Input value inClose bool If set to true adding in result a segment between its first point and the last one, therefore producing a closed path
Output value outPath Path& Output path

Description

The operations joins two open paths adding a segment connecting the end of the inPath1 to the begin of inPath2.

Examples

ConcatenatePaths run on the sample paths.

Errors

List of possible exceptions:

Error type Description
DomainError Closed path on input in ConcatenatePaths.