Back to Aurora Vision Library website
You are here: Start » Function Reference » Path » Path Features » PathConvexHull
![](../../img/icon/PathConvexHull.png)
PathConvexHull
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationBasic |
Computes the smallest convex shape that contains the given path.
Syntax
C++
C#
void avl::PathConvexHull ( const avl::Path& inPath, avl::Path& outConvexHull )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inPath | const Path& | Input path | |
![]() |
outConvexHull | Path& | A closed path representing the computed convex hull |
Description
The operation computes the smallest of all convex shapes containing the given path.
Examples
![]() |
![]() |
PathConvexHull run on a sample path
See Also
- PolygonConvexity – Computes the area of a polygon divided by the area of its convex hull.
- RegionConvexHull – Computes the smallest convex region containing the input region.