Click or drag to resize

TwoDimensionalConvexHullCreateTwoDimensionalConvexHull Method

Constructs the convex hull via the input points.

Namespace:  AGI.Foundation.Geometry
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public static List<Rectangular> CreateTwoDimensionalConvexHull(
	List<Rectangular> points
)

Parameters

points
Type: System.Collections.GenericListRectangular
The input points, from which to construct the convex hull. Note that this list will be sorted by x-coordinate.

Return Value

Type: ListRectangular
A list of points that comprise the convex hull of the input points. This result is in counter-clockwise order.
Remarks
If this method is supplied with less than three points it will return the points unmodified.
See Also