Back to Aurora Vision Library website

You are here: Start » Function Reference » Region » Region Features » RegionBoundingCircle

RegionBoundingCircle


Header: AVL.h
Namespace: avl
Module: FoundationBasic

Computes the smallest circle enclosing a region.

Syntax

C++
C#
 
void avl::RegionBoundingCircle
(
	const avl::Region& inRegion,
	avl::Circle2D& outBoundingCircle
)

Parameters

Name Type Default Description
Input value inRegion const Region& Input region
Output value outBoundingCircle Circle2D&

Hints

  • If the input region is not guaranteed to be non-empty, precede this filter with SkipEmptyRegion.

Examples

The resulting outBoundingCircle circle drawn onto the input region.

Errors

List of possible exceptions:

Error type Description
DomainError Empty region on input in RegionBoundingCircle.

See Also