Back to FabImage Library website

You are here: Start » Function Reference » Path Features » PathBoundingBox

PathBoundingBox


Header:FIL.h
Namespace:fil

Computes the smallest box containing a path.

Syntax

C++
C#
 
void fil::PathBoundingBox
(
	const fil::Path& inPath,
	fil::Box& outBoundingBox
)

Parameters

Name Type Default Description
inPath const Path& Input path
outBoundingBox Box&

Examples

The resulting outBoundingBox box drawn onto the sample path.

Errors

List of possible exceptions:

Error type Description
DomainError Empty path on input in PathBoundingBox.

See Also