Back to FabImage Library Lite websiteYou are here:
Start »
Geometry 2D »
Geometry 2D Features »
PointsConvexHull
Header: |
FIL.h
|
Namespace: |
fil |
Computes the smallest convex shape that contains the given array of points.
Syntax
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.