Back to Aurora Vision Library websiteYou are here:
Start »
Function Reference »
Path »
Path Combinators »
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 |
|
inPath1 |
const Path& |
|
Input path |
|
inPath2 |
const Path& |
|
Input path |
|
inPath3 |
const Path& |
|
Input path |
|
inPath4 |
const Path& |
|
Input path |
|
inClose |
bool |
|
If set to true adding in result a segment between its first point and the last one, therefore producing a closed path |
|
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. |