Back to FabImage Library website
You are here: Start » Function Reference » Geometry 2D » Geometry 2D Features » PointsConvexHull
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Computes the smallest convex shape that contains the given array of points.
Syntax
C++
C#
void fil::PointsConvexHull ( const ftl::Array<fil::Point2D>& inPoints, fil::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.