Back to Adaptive Vision Library website

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

SplitPathByLine


Splits path in common points of a path and a line.

Header:AVL.h

Syntax

C++
C#
 
void avl::SplitPathByLine
(
	const avl::Path& inPath,
	const avl::Line2D& inLine,
	atl::Array<avl::Path>& outPaths
)

Parameters

Name Type Default Description
inPath const Path& Path being split
inLine const Line2D& Line used for splitting
outPaths Array<Path>& Paths arisen from splitting the initial path

Errors

Error type Description
DomainError Indefinite line on input in SplitPathByLine.