Back to Aurora Vision Library website

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

PathBoundingCircle


Header: AVL.h
Namespace: avl
Module: FoundationBasic

Computes the smallest circle enclosing a path.

Syntax

C++
C#
 
void avl::PathBoundingCircle
(
	const avl::Path& inPath,
	avl::Circle2D& outBoundingCircle
)

Parameters

Name Type Default Description
Input value inPath const Path& Input path
Output value outBoundingCircle Circle2D&

Examples

The resulting outBoundingCircle circle drawn onto the sample path.

Errors

List of possible exceptions:

Error type Description
DomainError Empty path on input in PathBoundingCircle.

See Also