Back to Aurora Vision Library website

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

RegionConvexHull


Header: AVL.h
Namespace: avl
Module: FoundationBasic

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
Input value inRegion const Region& Input region
Output value 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

List of possible exceptions:

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

See Also

  • RegionConvexity – Computes the area of a region divided by area of its convex hull.
  • PathConvexHull – Computes the smallest convex shape that contains the given path.