Back to Adaptive Vision Library website

You are here: Start » Function Reference » Region Global Transforms » RegionConvexHull

RegionConvexHull


Computes the smallest convex region containing the input region.

Syntax

C++
C#
 
void avl::RegionConvexHull
(
	const avl::Region& inRegion,
	avl::Region& outRegion
)

Parameters

Name Type Default Description
inRegion const Region& Input region
outRegion Region& Output region

Description

The operation computes the smallest of all convex region containing the given one.

Examples

RegionConvexHull run on a sample region.

Errors

Error type Description
DomainError Input and output regions are not distinct in RegionConvexHull.

See Also