Back to Adaptive Vision Library Lite websiteYou are here:
Start »
Geometry 2D Features »
PointsConvexHull
| Header: | AVL.h |
| Namespace: | avl |
Computes the smallest convex shape that contains the given array of points.
Syntax
void avl::PointsConvexHull
(
const atl::Array<avl::Point2D>& inPoints,
avl::Path& outConvexHull
)
Parameters
|
Name |
Type |
Default |
Description |
 |
inPoints |
const Array<Point2D>& |
|
|
 |
outConvexHull |
Path& |
|
A closed path representing the computed convex hull |
Examples
The resulting outConvexHull drawn with the input points.