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.2.419.0 (24.2.419.0)
Syntax public static List<Rectangular> CreateTwoDimensionalConvexHull(
List<Rectangular> points
)
Public Shared Function CreateTwoDimensionalConvexHull (
points As List(Of Rectangular)
) As List(Of Rectangular)
public:
static List<Rectangular>^ CreateTwoDimensionalConvexHull(
List<Rectangular>^ points
)
static member CreateTwoDimensionalConvexHull :
points : List<Rectangular> -> List<Rectangular>
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:
ListRectangularA 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