Back to Aurora Vision Library Lite website

You are here: Start » Geometry 2D » Geometry 2D Features » PointsConvexHull

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
Input value inPoints const Array<Point2D>&
Output value outConvexHull Path& A closed path representing the computed convex hull

Examples

The resulting outConvexHull drawn with the input points.