Back to FabImage Library website
You are here: Start » Function Reference » Path » Path Combinators » ConcatenatePaths
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Joins up to four open paths.
Syntax
C++
C#
void fil::ConcatenatePaths ( const fil::Path& inPath1, const fil::Path& inPath2, const fil::Path& inPath3, const fil::Path& inPath4, bool inClose, fil::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. |