Back to Aurora Vision Library website

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

SplitPathByLine


Header: AVL.h
Namespace: avl
Module: FoundationBasic

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

Syntax

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

Parameters

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

Errors

List of possible exceptions:

Error type Description
DomainError Indefinite line on input in SplitPathByLine.