Back to FabImage Library website

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

SplitPathByLine


Header: FIL.h
Namespace: fil
Module: FoundationBasic

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

Syntax

C++
C#
 
void fil::SplitPathByLine
(
	const fil::Path& inPath,
	const fil::Line2D& inLine,
	ftl::Array<fil::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.